---
title: "huawei-lte-api 3.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each huawei-lte-api release removed, renamed or changed: 22 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/huawei-lte-api
last_updated: 2026-12-04
---

# huawei-lte-api breaking changes

huawei-lte-api 3.0.0 (November 24, 2026) is its newest release with breaking changes, 22 of them. The first: Behavior changed dhcp.settings. Every breaking API change we have recorded in huawei-lte-api on PyPI: 22 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.0.0`, released November 24, 2026. [Source repository](https://github.com/Salamek/huawei-lte-api)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

## huawei-lte-api 3.0.0 breaking changes

huawei-lte-api 3.0.0, released November 24, 2026: 22 breaking changes.

- **Behavior changed** `dhcp.settings`  

dhcp.settings() now returns a mutable DhcpSettings dataclass rather than the previous return value. Code that reads the old return value must be updated. [github.com](https://github.com/Salamek/huawei-lte-api/releases/tag/3.0.0)
- **Signature changed** `dhcp.set_settings`  

dhcp.set_settings() now takes a DhcpSettings object in place of the previous keyword arguments. Read settings with dhcp.settings(), change its fields, then pass the object back. [github.com](https://github.com/Salamek/huawei-lte-api/releases/tag/3.0.0)
- **Signature changed** `huawei_lte_api.api.Dhcp.Dhcp.set_settings`  

Was def set_settings(self, dhcp_ip_address: str = '192.168.0.1', dhcp_lan_netmask: str = '255.255.255.0', dhcp_status: bool = True, dhcp_start_ip_range: int = 100, dhcp_end_ip_range: int = 200, dhcp_lease_time: int = 86400, dns_status... [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.api.Dhcp.Dhcp.settings`  

Was def settings(self) -> GetResponseType; now def settings(self) -> DhcpSettings. [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.api.Host.Host.info`  

Was def info(self, date_time: datetime.datetime, platform: str, user_agent: str, version: str) -> SetResponseType; now def info(self, date_time: dt.datetime, platform: str, user_agent: str, version: str) -> SetResponseType. [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.api.SdCard.SdCard.create_dir`  

Was def create_dir(self, name: str, current_path: str = '/', created: datetime.datetime | None = None) -> SetResponseType; now def create_dir(self, name: str, current_path: str = '/', created: dt.datetime | None = None) -> SetResponseType. [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.api.Sms.Message.__init__`  

Was def \_\_init\_\_(self, index: int, status: StatusEnum, phone: str, content: str, date_time: datetime.datetime, sca: str | None, save_type: SaveModeEnum, priority: PriorityEnum, type: TypeEnum, text_mode: TextModeEnum =... [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.api.Sms.Message.date_time`  

Was date_time: datetime.datetime; now date_time: dt.datetime. [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.api.Sms.Sms.backup_sim`  

Was def backup_sim(self, from_date: datetime.datetime, is_move: bool = False) -> SetResponseType; now def backup_sim(self, from_date: dt.datetime, is_move: bool = False) -> SetResponseType. [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.api.Sms.Sms.save_sms`  

Was def save_sms(self, phone_numbers: list\[str\], message: str, sms_index: int = -1, sca: str | None = None, text_mode: TextModeEnum = TextModeEnum.SEVEN_BIT, from_date: datetime.datetime | None = None) -> SetResponseType; now def... [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.api.Sms.Sms.send_sms`  

Was def send_sms(self, phone_numbers: list\[str\], message: str, sms_index: int = -1, sca: str | None = None, text_mode: TextModeEnum = TextModeEnum.SEVEN_BIT, from_date: datetime.datetime | None = None) -> SetResponseType; now def... [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.Client.Dhcp.set_settings`  

Was def set_settings(self, dhcp_ip_address: str = '192.168.0.1', dhcp_lan_netmask: str = '255.255.255.0', dhcp_status: bool = True, dhcp_start_ip_range: int = 100, dhcp_end_ip_range: int = 200, dhcp_lease_time: int = 86400, dns_status... [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.Client.Dhcp.settings`  

Was def settings(self) -> GetResponseType; now def settings(self) -> DhcpSettings. [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.Client.Host.info`  

Was def info(self, date_time: datetime.datetime, platform: str, user_agent: str, version: str) -> SetResponseType; now def info(self, date_time: dt.datetime, platform: str, user_agent: str, version: str) -> SetResponseType. [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.Client.SdCard.create_dir`  

Was def create_dir(self, name: str, current_path: str = '/', created: datetime.datetime | None = None) -> SetResponseType; now def create_dir(self, name: str, current_path: str = '/', created: dt.datetime | None = None) -> SetResponseType. [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.Client.Sms.backup_sim`  

Was def backup_sim(self, from_date: datetime.datetime, is_move: bool = False) -> SetResponseType; now def backup_sim(self, from_date: dt.datetime, is_move: bool = False) -> SetResponseType. [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.Client.Sms.save_sms`  

Was def save_sms(self, phone_numbers: list\[str\], message: str, sms_index: int = -1, sca: str | None = None, text_mode: TextModeEnum = TextModeEnum.SEVEN_BIT, from_date: datetime.datetime | None = None) -> SetResponseType; now def... [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.Client.Sms.send_sms`  

Was def send_sms(self, phone_numbers: list\[str\], message: str, sms_index: int = -1, sca: str | None = None, text_mode: TextModeEnum = TextModeEnum.SEVEN_BIT, from_date: datetime.datetime | None = None) -> SetResponseType; now def... [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.Session.Tools.datetime_to_string`  

Was @staticmethod def datetime_to_string(date_time: datetime.datetime) -> str; now @staticmethod def datetime_to_string(date_time: dt.datetime) -> str. [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.Session.Tools.string_to_datetime`  

Was @staticmethod def string_to_datetime(datetime_string: str) -> datetime.datetime; now @staticmethod def string_to_datetime(datetime_string: str) -> dt.datetime. [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.Tools.Tools.datetime_to_string`  

Was @staticmethod def datetime_to_string(date_time: datetime.datetime) -> str; now @staticmethod def datetime_to_string(date_time: dt.datetime) -> str. [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)
- **Signature changed** `huawei_lte_api.Tools.Tools.string_to_datetime`  

Was @staticmethod def string_to_datetime(datetime_string: str) -> datetime.datetime; now @staticmethod def string_to_datetime(datetime_string: str) -> dt.datetime. [pypi.org](https://pypi.org/project/huawei-lte-api/3.0.0/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
