Skip to content

Releases: stephane/libmodbus

v3.1.10

07 Dec 19:09
Compare
Choose a tag to compare

Urgent release to fix a regression.

  • Fix baud rate handling with RTU under Linux
  • Fix modbus_disable_quirks signature

v3.1.9

03 Dec 15:01
Compare
Choose a tag to compare

What's Changed

  • Remove Travis CI
  • Move content about migration to libmodbus.org
  • Avoid negative value in FD_SET call
  • Test socket against positive value instead of -1
  • Improvements to autotools by @ndim
  • Fix doc links by @jordanjohnson56 (#653)
  • Test the protocol id for 0 by @metapsychologe (#509)
  • Fix double negative in tests
  • New quirks handler (closes #38 #533)
  • Fix bitwise OR in documentation
  • Improve doc about slave ID in RTU
  • Add .clang-format and format code (closes #394)
  • Remove constraints on baud rate values
  • Accept IP or device in arg of unit test progs
  • Avoid compilation issue with VS2022 with strdup
  • Display created files in configure.js
  • Use strcpy_s under Windows
  • Replace inet_addr by inet_pton calls
  • Replace inet_ntoa by inet_ptop
  • Update configure.ac/config.h.win32 for new inet functions
  • Instructions to build libmodbus in a VS project
  • Fix connection check for Windows RTU (closes #660, #662)
  • Add CIFuzz Github action by @DavidKorczynski (#669)
  • Convert a few int to unsigned int (#402)

New Contributors

v3.1.8

17 Aug 16:36
Compare
Choose a tag to compare
  • Major rewrite of documentation with Material for mkdocs
  • Reduce memory use of TCP PI backend (closes #621)
  • Fixed MODBUS_ERROR_RECOVERY_LINK not working on Windows (@embeddedmz)
  • Replace Travis CI by GitHub CI
  • Fix linker error for Windows (VCLinkerTool)
  • Address check in single register / coil responses added (#463)
  • Swap CRC bytes in request data but not at CRC computing (#397)
  • Fix float endianness issue on big endian architecture
  • Fix comment about EMBUNKEXC (closes #566)
  • Fix network library detection on Haiku
  • Fix typos (closes #620)

New Contributors

Full Changelog: v3.1.7...v3.1.8

v3.1.7

08 Jan 23:19
Compare
Choose a tag to compare

What's Changed

  • SPDX: change LGPL-2.1+ to LGPL-2.1-or-later by @yegorich in #489
  • fix MODBUS_GET_* macros in case of negative values by @i-ky in #441
  • docs: fix simple typo, reponse -> response by @timgates42 in #569
  • Update README.md by @anton-bondarev in #580
  • Install NEWS and AUTHORS files with library, ship LICENSE with tests by @richardash1981 in #545
  • minor typo by @stefannilsson in #539
  • cosmetic changes in man page standardizing itemization by @Zugschlus in #460
  • modbus_reply: fix copy & paste error in sanity check (fixes #614) by @mhei in #619
  • add SECURITY.md (closes #613)
  • fix typo in comment (closes #588)
  • replace obsolete AC_PROG_CC_STDC by AC_PROG_CC
  • fix position of CC flags in documentation (closes #599)
  • remove duplicate ';' (closes #602)
  • add the baud rate of 256k for Windows (closes #603)
  • replace .dir-locals.el (Emacs) by .editorconfig
  • move malloc before starting unit tests

All changes w/o attribution by @stephane.

New Contributors

Full Changelog: v3.1.6...v3.1.7

v3.1.6

31 Jul 21:33
Compare
Choose a tag to compare
  • Fix awful typo in fix for VD-1301 vulnerability.
    Thank you @karlp.

v3.0.8

31 Jul 21:32
Compare
Choose a tag to compare
  • Fix awful typo in fix for VD-1301 vulnerability.
    Thank you @karlp.

v3.1.5

31 Jul 08:47
Compare
Choose a tag to compare
  • Add appveyor.com config
  • Change arg value from int to const uint16_t in modbus_write_register
  • Mark raw_req argument as const in modbus_send_raw_request (closes #479)
  • Add unit tests for VD-1301 and VD-1302 vulnerabilities
  • Fix VD-1301 and VD-1302 vulnerabilities
  • Create CODE_OF_CONDUCT.md
  • modbus_mapping_t is now a named typedef (to allow forward declaration)
  • Rename type as flags for consistency between functions
  • Add missing SOCK_CLOEXEC flag on socket creation
  • Remove wrong and harmful checks in configure.ac
  • Oops fix OR on RS485 settings (1c5d969)
  • Only set SER_RS485_ENABLED bit of existing RS485 settings
  • Add .vscode/ to .gitignore
  • Fix wrong function name
  • Remove a duplicated semi-colon
  • Fix a small typo in test message
  • Fix modbus_reply for TCP when unit id == 0 (fixes #376)
  • New functions to define the indication timeout (#95)
  • Remove CYGWIN condition to provide bswap16 fallback (#383)
  • Use builtin bswap16 of gcc 4.8 (#377)
  • Handle out-of-memory conditions more gracefully
  • Add entry points for accept/listen in libmodbus index
  • Refine issue template for Github
  • Move WINVER definition before other includes (#350)
  • Add new function modbus_get_slave()
  • Fix LIBMODBUS_VERSION_HEX encoding (closes #345)
  • tcp_modbus_accept mustn't close socket on error (closes #333)

v3.0.7

31 Jul 08:48
Compare
Choose a tag to compare

libmodbus v3.0.x branch has been updated to include important fixes backported from v3.1.5

  • Fix VD-1301 and VD-1302 vulnerabilities
  • Move WINVER definition before other includes (closes #350)
  • Replace signed int by unsigned

v3.1.4

15 Aug 17:44
f935846
Compare
Choose a tag to compare

Small fixes, Cygwin improvements and fix missing script in tarball

  • C_PROG_RANLIB is rendered obsolete by LT_INIT
  • Improve ifdef around bswap_16 for __CYGWIN__
  • Improve Cygwin support. Thanks to StalderT.
  • Another round of DRY in modbus_reply()
  • Rename raw_rep to raw_rsp in unit-test-client
  • Fix wrong function name in debug message
  • Fix handling of invalid function code (closes #315)
  • Add debug message on unknown function and new unit test
  • DRY in modbus_reply by improving response_exception()
  • Fix typo in 3053bd0
  • CID 69145 - Argument cannot be negative in unit-test-server
  • CID 69142 - Unchecked return value in unit-test-server
  • Fix CID 69140 - Bad bit shift operation (coverity) in tests
  • Rewrite and rename README as README.md in tests/
  • Github's contributing and issue template files
  • Fix small leak (64 bytes in TCP) in unit-test-client
  • Add unit-tests.sh to tarball
  • Add ./configure.scan to .gitignore
  • Move setting of option inside the relevant conditional group
  • Add links to new modbus_*_float_* functions in index
  • Slight change to modbus_report_slave_id doc.

v3.1.3

15 Aug 17:46
81cc4a7
Compare
Choose a tag to compare

Many fixes and improvements on data mapping, float handling and RTS.

The structure modbus_mapping_t has been extended to include the new start
addresses (ABI break).

New function: modbus_mapping_new_start_address

  • New bswap macros for Max OSX by Jakob Bysewski.
  • Fix "wildcard address" in TCP IPv6 by Shoichi Sakane.
  • Introduce offsets in modbus mappings with modbus_mapping_new_start_address.
    Thanks to Michael Heimpold and Stéphane Raimbault.
  • Fix address range in random-test-client.
    Thanks to Martin Galvan.
  • Add an option to disable tests compilation by Yegor Yefremov.
  • Define MSG_DONTWAIT to MSG_NONBLOCK on AIX (#294).
    Thanks to Fabrice Cantos.
  • Fix building when byteswap.h is not defined by Tomasz Mon.
  • Add some more macros for data manipulation and documentation.
  • Remove duplicate install of modbus.h (closes #290).
    Thanks to Daniel Sutcliffe.
  • Move MIGRATION and README.md to dist_doc_DATA target.
  • Change order of few functions in modbus RTU code.
  • Add entries for modbus_rtu_[get|set]_delay in documentation index.
  • Implemented runtime configurable RTS delay by Jimmy Bergström.
  • Add an entry in libmodbus index page for modbus_rtu_set_custom_rts.
  • Add support for user defined RTS toggle function by Jimmy
    Bergström.
  • Added ILLEGAL_DATA_ADDRESS tests for modbus_write_register[|s].
    Thanks to Andrey Skvortsov.
  • Update documentation of modbus_rtu_set_rts
  • Fix rts signal switch time by Hiromasa Ihara.
  • Improve new_rtu and set_slave documentation (related to #276).
  • Fix late check of ctx in modbus_reply[|_exception] (closes #269).
  • Wait the server for 1 second before running tests (help Travis).
  • A libmodbus context isn't thread safe and won't be (closes #246).
  • Fix buffer overflow in modbus_mask_write_register (#265).
  • Minor adjustments to README about AsciiDoc.
  • Export MODBUS_MAX_ADU_LENGTH and documentation (ref #241).
  • Explicit check against Modbus broadcast address.
  • Do not reply on broadcast requests (fixes #153). Thanks to Michael.
  • Add Travis support.
  • Run unit tests with standard: make check (closes #205, closes #238).
    This patch has been developed by Andrey Skvortsov, Michael Heimpold
    and Stéphane Raimbault.
  • modbus_send_raw_request: limit request length (fixes #207).
    Thanks to Hanno Neuer for spotting this security flaw.
  • Add new contributors to AUTHORS
  • Introduce SPDX license identifiers. Thanks to Michael Heimpold.

All changes w/o attribution by @stephane