This index redirects you to the specific versioned migration guides for modbus-rs releases. Use these guides sequentially when upgrading your applications or integrations.
- Target Platform: Node.js FFI & WebAssembly (WASM) Bindings
- Topic: Unified
dist/package directory layout, strict typed array (Uint16Array) signatures,readFifoQueueresponse model alignment,isConnected()connection parity, and typed NodeJS server handlers.
- Target Platform: Node.js FFI Bindings
- Topic: Consistent naming, async server bind, retry configurations, error code constants, and expanded server request handlers.
- Key Changes:
timeoutMsrenamed torequestTimeoutMs.- Server
bind(),bindRtu(), andbindAscii()methods are now asynchronous. - Stable error code constants and
getModbusErrorCode()helper. - Support for FC07, FC20, FC21, and FC23 server-side handlers.
- Redundant
countproperty removed from FIFO queue responses.
- Target Platform: Node.js, Python, Wasm Bindings
- Topic: Upgrading to the Transport + Client Factory API.
- Key Changes:
- Separation of physical socket/port management (
AsyncTcpTransport/AsyncRtuTransport) from logical client endpoints. - Relocation of connection lifecycles (
close,reconnect, timeouts) to the transport. - Native support for Multi-drop configurations.
- Separation of physical socket/port management (
- Confirm Platform Alignment: Multi-language bindings (Python, Go, .NET, WASM, C/C++ FFI) follow the Rust Core paradigm but may align on different release intervals. Check individual migration guides for exact version compatibility details.
- Apply Sequentially: If upgrading across multiple breaking releases, apply each migration guide step-by-step and run the respective validation checklists at every stage.