---
title: "asyncua 2.0 Breaking Changes on PyPI | Since.dev"
description: "What each asyncua release removed, renamed or changed: 682 breaking changes in 2 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/asyncua
last_updated: 2026-12-04
---

# asyncua breaking changes

asyncua 2.0 (June 5, 2026) is its newest release with breaking changes, 681 of them. The first: Signature changed asyncua.Client.check_connection. Every breaking API change we have recorded in asyncua on PyPI: 682 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.1.0`, released October 6, 2026. [Source repository](https://github.com/FreeOpcUa/opcua-asyncio)

Its 1.2b1 release requires [Python 3.10](https://since.dev/calendar/python/3.10.md) or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [1.2b1](#v-1-2b1) to [2.0](#v-2-0): 681 breaking changes in 1 version.

## asyncua 2.0 breaking changes

asyncua 2.0, released June 5, 2026: 681 breaking changes.

- **Signature changed** `asyncua.Client.check_connection`  

Was async def check_connection(self) -> None; now check_connection. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.Client.connect`  

Was async def connect(self) -> None; now async def connect(self, \*, auto_reconnect: bool = False, reconnect_max_delay: float = 30.0, reconnect_request_timeout: float = 60.0) -> None. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.Client.connect_and_find_servers_on_network`  

Was async def connect_and_find_servers_on_network(self) -> List\[ua.FindServersOnNetworkResult\]; now async def connect_and_find_servers_on_network(self) -> ua.FindServersOnNetworkResult. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.Client.create_subscription`  

Was async def create_subscription(self, period: Union\[ua.CreateSubscriptionParameters, float\], handler: SubscriptionHandler, publishing: bool = True) -> Subscription; now async def create_subscription(self, period... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.Client.find_servers_on_network`  

Was async def find_servers_on_network(self) -> List\[ua.FindServersOnNetworkResult\]; now async def find_servers_on_network(self) -> ua.FindServersOnNetworkResult. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.Client.set_security`  

Was async def set_security(self, policy: Type\[security_policies.SecurityPolicy\], certificate: Union\[str, uacrypto.CertProperties, bytes, Path\], private_key: Union\[str, uacrypto.CertProperties, bytes, Path\], private_key_password... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.connection.struct_from_binary`  

Was def struct_from_binary(objtype: Union\[Type\[T\], str\], data: IO) -> T; now def struct_from_binary(objtype: type\[T\] | str, data: IO | Buffer) -> T. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.copy_node_util.AbstractSession.add_nodes`  

Was async def add_nodes(self, params: ua.AddNodesParameters) -> List\[ua.AddNodesResult\]; now async def add_nodes(self, nodestoadd: list\[ua.AddNodesItem\]) -> list\[ua.AddNodesResult\]. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.copy_node_util.AbstractSession.create_subscription`  

Was async def create_subscription(self, params: ua.CreateSubscriptionParameters) -> ua.CreateSubscriptionResult; now async def create_subscription(self, params: ua.CreateSubscriptionParameters, callback: Callable\[..., Any\]) ->... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.copy_node_util.AbstractSession.delete_subscriptions`  

Was async def delete_subscriptions(self, params: ua.DeleteSubscriptionsParameters) -> List\[ua.StatusCode\]; now async def delete_subscriptions(self, subscription_ids: list\[int\]) -> list\[ua.StatusCode\]. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.copy_node_util.AbstractSession.unregister_nodes`  

Was async def unregister_nodes(self, nodes: List\[ua.NodeId\]) -> List\[ua.NodeId\]; now async def unregister_nodes(self, nodes: list\[ua.NodeId\]) -> None. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.events.get_event_objects_from_type_node`  

Was async def get_event_objects_from_type_node(node: Node) -> List\[Node\]; now async def get_event_objects_from_type_node(node: Node) -> list\[Any\] | None. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.events.get_event_properties_from_type_node`  

Was async def get_event_properties_from_type_node(node: Node) -> List\[Node\]; now async def get_event_properties_from_type_node(node: Node) -> list\[Any\] | None. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.events.get_event_variables_from_type_node`  

Was async def get_event_variables_from_type_node(node: Node) -> List\[Node\]; now async def get_event_variables_from_type_node(node: Node) -> list\[Any\] | None. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.methods.to_variant`  

Was def to_variant(\*args: Iterable) -> List\[ua.Variant\]; now def to_variant(\*args: Any) -> list\[ua.Variant\]. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.node.Node.add_reference`  

Was async def add_reference(self, target: Union\[Node, ua.NodeId, str, int\], reftype: int, forward: bool = True, bidirectional: bool = True) -> None; now async def add_reference(self, target: Node | ua.NodeId | str | int, reftype: Node |... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.node.Node.delete_reference`  

Was async def delete_reference(self, target: Union\[Node, ua.NodeId, str, int\], reftype: int, forward: bool = True, bidirectional: bool = True) -> None; now async def delete_reference(self, target: Node | ua.NodeId | str | int, reftype... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.node.Node.get_children`  

Was async def get_children(self, refs: int = ua.ObjectIds.HierarchicalReferences, nodeclassmask: ua.NodeClass = ua.NodeClass.Unspecified) -> List\[Node\]; now async def get_children(self, refs: Node | ua.NodeId | str | int =... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.node.Node.get_referenced_nodes`  

Was async def get_referenced_nodes(self, refs: int = ua.ObjectIds.References, direction: ua.BrowseDirection = ua.BrowseDirection.Both, nodeclassmask: ua.NodeClass = ua.NodeClass.Unspecified, includesubtypes: bool = True) -> List\[Node\]; now... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.node.Node.get_references`  

Was async def get_references(self, refs: int = ua.ObjectIds.References, direction: ua.BrowseDirection = ua.BrowseDirection.Both, nodeclassmask: ua.NodeClass = ua.NodeClass.Unspecified, includesubtypes: bool = True, result_mask... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.node.Node.history_read_events`  

Was async def history_read_events(self, details: Iterable\[ua.ReadEventDetails\]) -> ua.HistoryReadResult; now async def history_read_events(self, details: ua.ReadEventDetails) -> ua.HistoryReadResult. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.node.Node.read_event_history`  

Was async def read_event_history(self, starttime: datetime = None, endtime: datetime = None, numvalues: int = 0, evtypes: Union\[Node, ua.NodeId, str, int, Iterable\[Union\[Node, ua.NodeId, str, int\]\]\] = ua.ObjectIds.BaseEventType) ->... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.node.Node.set_attr_bit`  

Was async def set_attr_bit(self, attr: ua.AttributeIds, bit: int) -> None; now async def set_attr_bit(self, attr: ua.AttributeIds, bit: ua.AccessLevel | int) -> None. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.node.Node.set_modelling_rule`  

Was async def set_modelling_rule(self, mandatory: bool) -> None; now async def set_modelling_rule(self, mandatory: bool | None) -> None. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.node.Node.unset_attr_bit`  

Was async def unset_attr_bit(self, attr: ua.AttributeIds, bit: int) -> None; now async def unset_attr_bit(self, attr: ua.AttributeIds, bit: ua.AccessLevel | int) -> None. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.session_interface.AbstractSession.add_nodes`  

Was async def add_nodes(self, params: ua.AddNodesParameters) -> List\[ua.AddNodesResult\]; now async def add_nodes(self, nodestoadd: list\[ua.AddNodesItem\]) -> list\[ua.AddNodesResult\]. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.session_interface.AbstractSession.create_subscription`  

Was async def create_subscription(self, params: ua.CreateSubscriptionParameters) -> ua.CreateSubscriptionResult; now async def create_subscription(self, params: ua.CreateSubscriptionParameters, callback: Callable\[..., Any\]) ->... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.session_interface.AbstractSession.delete_subscriptions`  

Was async def delete_subscriptions(self, params: ua.DeleteSubscriptionsParameters) -> List\[ua.StatusCode\]; now async def delete_subscriptions(self, subscription_ids: list\[int\]) -> list\[ua.StatusCode\]. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.session_interface.AbstractSession.unregister_nodes`  

Was async def unregister_nodes(self, nodes: List\[ua.NodeId\]) -> List\[ua.NodeId\]; now async def unregister_nodes(self, nodes: list\[ua.NodeId\]) -> None. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.statemachine.FiniteStateMachine.change_state`  

Was async def change_state(self, state: State, transition: Transition = None, event_msg: Union\[str, ua.LocalizedText\] = None, severity: int = 500); now async def change_state(self, state: State, transition: Transition | None = None... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.statemachine.State.__init__`  

Was def \_\_init\_\_(self, id, name: str = None, number: int = None, node: Optional\[Node\] = None); now def \_\_init\_\_(self, id: Any, name: str | None = None, number: int | None = None, node: Node | None = None) -> None. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.statemachine.StateMachine.__init__`  

Was def \_\_init\_\_(self, server: Server = None, parent: Node = None, idx: int = None, name: str = None); now def \_\_init\_\_(self, server: Server | None = None, parent: Node | None = None, idx: int | None = None, name: str | None = None) ->... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.statemachine.StateMachine.change_state`  

Was async def change_state(self, state: State, transition: Transition = None, event_msg: Union\[str, ua.LocalizedText\] = None, severity: int = 500); now async def change_state(self, state: State, transition: Transition | None = None... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.statemachine.Transition.__init__`  

Was def \_\_init\_\_(self, id, name: str = None, number: int = None, node: Node = None); now def \_\_init\_\_(self, id: Any, name: str | None = None, number: int | None = None, node: Node | None = None) -> None. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.structures104.load_data_type_definitions`  

Was async def load_data_type_definitions(server: Union\[Server, Client\], base_node: Node = None, overwrite_existing=False) -> Dict; now async def load_data_type_definitions(server: Server | Client, base_node: Node | None = None... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.structures104.load_enums`  

Was async def load_enums(server: Union\[Server, Client\], base_node: Node = None, option_set: bool = False) -> Dict; now async def load_enums(server: Server | Client, base_node: Node | None = None, option_set: bool = False... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.structures104.new_enum`  

Was async def new_enum(server: Union\[Server, Client\], idx: Union\[int, ua.NodeId\], name: Union\[int, ua.QualifiedName\], fields: List\[Union\[str, ua.EnumField\]\], option_set: bool = False) -> Node; now async def new_enum(server: Server |... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.subscription.EventNotificationHandler.event_notification`  

Was def event_notification(self, event: ua.EventNotificationList) -> None; now def event_notification(self, event: Event) -> None. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.subscription.EventNotificationHandlerAsync.event_notification`  

Was async def event_notification(self, event: ua.EventNotificationList) -> None; now async def event_notification(self, event: Event) -> None. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.subscription.InternalSession.transfer_subscriptions`  

Was async def transfer_subscriptions(self, params: ua.TransferSubscriptionsParameters) -> List\[ua.TransferResult\]; now async def transfer_subscriptions(self, params: ua.TransferSubscriptionsParameters, callback: Callable\[..., Any\]) ->... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.subscription.InternalSession.unregister_nodes`  

Was async def unregister_nodes(self, nodes: List\[ua.NodeId\]) -> List\[ua.NodeId\]; now async def unregister_nodes(self, nodes: list\[ua.NodeId\]) -> None. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.subscription.Subscription.__init__`  

Was def \_\_init\_\_(self, server: Union\[InternalSession, UaClient\], params: ua.CreateSubscriptionParameters, handler: SubscriptionHandler); now def \_\_init\_\_(self, server: InternalSession | UaSession, params: ua.CreateSubscriptionParameters... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.common.subscription.Subscription.server`  

Was server: Union\[InternalSession, UaClient\]; now server: InternalSession | UaSession. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.Node.add_reference`  

Was async def add_reference(self, target: Union\[Node, ua.NodeId, str, int\], reftype: int, forward: bool = True, bidirectional: bool = True) -> None; now async def add_reference(self, target: Node | ua.NodeId | str | int, reftype: Node |... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.Node.delete_reference`  

Was async def delete_reference(self, target: Union\[Node, ua.NodeId, str, int\], reftype: int, forward: bool = True, bidirectional: bool = True) -> None; now async def delete_reference(self, target: Node | ua.NodeId | str | int, reftype... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.Node.get_children`  

Was async def get_children(self, refs: int = ua.ObjectIds.HierarchicalReferences, nodeclassmask: ua.NodeClass = ua.NodeClass.Unspecified) -> List\[Node\]; now async def get_children(self, refs: Node | ua.NodeId | str | int =... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.Node.get_referenced_nodes`  

Was async def get_referenced_nodes(self, refs: int = ua.ObjectIds.References, direction: ua.BrowseDirection = ua.BrowseDirection.Both, nodeclassmask: ua.NodeClass = ua.NodeClass.Unspecified, includesubtypes: bool = True) -> List\[Node\]; now... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.Node.get_references`  

Was async def get_references(self, refs: int = ua.ObjectIds.References, direction: ua.BrowseDirection = ua.BrowseDirection.Both, nodeclassmask: ua.NodeClass = ua.NodeClass.Unspecified, includesubtypes: bool = True, result_mask... [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.Node.history_read_events`  

Was async def history_read_events(self, details: Iterable\[ua.ReadEventDetails\]) -> ua.HistoryReadResult; now async def history_read_events(self, details: ua.ReadEventDetails) -> ua.HistoryReadResult. [pypi.org](https://pypi.org/project/asyncua/2.0/)
- **Signature changed** `asyncua.Node.read_event_history`  

Was async def read_event_history(self, starttime: datetime = None, endtime: datetime = None, numvalues: int = 0, evtypes: Union\[Node, ua.NodeId, str, int, Iterable\[Union\[Node, ua.NodeId, str, int\]\]\] = ua.ObjectIds.BaseEventType) ->... [pypi.org](https://pypi.org/project/asyncua/2.0/)

And 631 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## asyncua 1.2b1 breaking changes

asyncua 1.2b1, released June 5, 2026: 1 breaking change.

- **Removed**  

Python versions below 3.10 are no longer supported, so code running on them must upgrade Python to 3.10 or later. [github.com](https://github.com/FreeOpcUa/opcua-asyncio/releases/tag/v1.2b1)

## 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.
