Skip to content

1.0.0-rc

Compare
Choose a tag to compare
@aldas aldas released this 02 Jun 20:06
· 86 commits to master since this release
dfa1aea

#drop php5.6, add read/write packet composer

Breaking Changes:

  • php 5.6 support is dropped - added return types etc
  • reworked exception logic:
    ** 'ModbusException' namespace changed from 'ModbusTcpClient' to 'ModbusTcpClient\Exception'
    ** all thrown exceptions are now 'ModbusException' or subclasses of it
  • 'ReadCoilsRequest' quantity has max size of 2048 because response can not hold more than that

Added:

  • Int64 support
  • ReadRegistersBuilder/WriteRegistersBuilder - to help compose multiple packets with higher level API
  • 'ModbusTcpClient\Network\BinaryStreamConnection' has new property 'uri' which can be used instead of protocol+host+port
  • ModbusTcpClient\Network\NonBlockingClient - client class to send packets or reader/writer classes as non-blocking stream IO (request responses are processed in parallel)

Fixed:

  • 'ErrorResponse' to binary string had incorrect value for 'length' field