From 7de0bcb04b4f7242c9790683f71368fb4b3dd17b Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Raimbault?= Date: Mon, 21 Oct 2024 18:24:45 +0200 Subject: [PATCH] Prepare NEWS file for next release --- NEWS | 49 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 37 insertions(+), 12 deletions(-) diff --git a/NEWS b/NEWS index e1c5173..5d68133 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,31 @@ # NEWS +## libmodbus x.x.x + +- Fix float endianness issue introduced in v3.1.8 (49af73d). + Thank you @ghorwin for your excellent work on the subject. + Closes #665, #694, #757, #770. +- Don't build with debug flag by default anymore. +- Check request length in `modbus_reply` when used in `memcpy`. + Thank you Nozomi Networks Labs Advisory for the report. +- Fix insecure data handling. CID 416366: INTEGER_OVERFLOW found with Coverity + Scan. +- Remove useless cast in setsockopt call (closes #721) +- Link against socket and nsl libs when building on SunOS. Thank you @lanurmi. +- Update documentation about tcp-pi requiring 1 KiB of extra memory (closes #715). + Thank you @psychon. +- Documentation improvements by @cedricboudinet and @mhei. +- Revert TCP checks for recovery (closes #711). +- Don't use loop initial declaration (closes #752). +- Fix wrong generated version for double number in win32 (closes #675). +- Don't use gai_strerror if not available. +- Add checks for netinet/ip.h and gai_strerror +- Log error in read input registers if debug (closes #755). +- Fix errno value on timeout with TCP connect (closes #736, #756). + Thank you @kyllingstad for the issue and @psychon for the fix. +- Free addrinfo struct on getaddrinfo() errors. +- Fix doc of modbus_mapping_new_start_address (#615). + ## libmodbus 3.1.10 (2022-12-07) Urgent release to fix a regression. @@ -388,7 +414,7 @@ RTS flow control. - Enable RS485 support only when available - Export modbus_set/get_serial_mode functions on all platforms - API change for read/write multiple registers function: - - modbus_read_and_write_registers -> modbus_write_and_read_registers + - modbus_read_and_write_registers -> modbus_write_and_read_registers The function name was confusing because the write operation is performed before the read. Take care to swap the arguments in the migration process. - Documentation of modbus*write_and_read_registers, modbus_mapping_new/free, @@ -411,13 +437,13 @@ RTS flow control. modbus_receive_confirmation) - Fix flush function of TCP backend on Windows - API changes for server/slave: - - modbus_receive doesn't take socket/fd argument anymore - - new function modbus_set_socket to set socket/fd + - modbus_receive doesn't take socket/fd argument anymore + - new function modbus_set_socket to set socket/fd - API changes for timeout functions: - - modbus_get_timeout_begin -> modbus_get_response_timeout - - modbus_set_timeout_begin -> modbus_set_response_timeout - - modbus_get_timeout_end -> modbus_get_byte_timeout - - modbus_set_timeout_end -> modbus_set_byte_timeout + - modbus_get_timeout_begin -> modbus_get_response_timeout + - modbus_set_timeout_begin -> modbus_set_response_timeout + - modbus_get_timeout_end -> modbus_get_byte_timeout + - modbus_set_timeout_end -> modbus_set_byte_timeout - Fix longstanding limitation of server to wait forever - New functions modbus_set/get_serial_mode by Manfred Gruber and Stéphane Raimbault for RS485 communications @@ -434,9 +460,9 @@ RTS flow control. modbus_reply_exception() - New function modbus_get_header_length(modbus_t \*ctx) - New functions to manipulate data: - - MODBUS_GET_INT32_FROM_INT16 - - MODBUS_GET_INT16_FROM_INT8 - - MODBUS_SET_INT16_TO_INT8 + - MODBUS_GET_INT32_FROM_INT16 + - MODBUS_GET_INT16_FROM_INT8 + - MODBUS_SET_INT16_TO_INT8 - Fix GH-2. Read/write were swapped in \_FC_READ_AND_WRITE_REGISTERS - Install an ignore handler for SIGPIPE on \*BSD Original patch by Jason Oster. @@ -506,8 +532,7 @@ RTS flow control. Other changes: -- The code is now published and developed on - +- The code is now published and developed on - Waf support has been removed ## libmodbus 2.0.3 (2009-03-22) -- 2.11.4.GIT