Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
### 1.6.0 ###
* :rotating_light: **Security advisory:** an unauthenticated peer could make a TCP or TLS server unavailable. Affects 0.9.0 through 1.5.0. See [GHSA-x8fh-359r-wgxm](https://github.com/stepfunc/rodbus/security/advisories/GHSA-x8fh-359r-wgxm), [#213](https://github.com/stepfunc/rodbus/pull/213) and [#214](https://github.com/stepfunc/rodbus/pull/214).
* :shield: **Hardened against panics.** Lints deny common sources of panics, and CI proves that parsing, answering requests and formatting replies can't panic for any input.
* :bell: **License update.** The license now prohibits using the library to build or test other implementations of the protocol, including by mining it with AI tools or using it as an oracle, and reserves AI training. See [#224](https://github.com/stepfunc/rodbus/pull/224).
* :bell: **`MinTlsVersion` is a minimum.** `V1_2` now allows TLS 1.3, and `V1_3` no longer allows TLS 1.2. See [#212](https://github.com/stepfunc/rodbus/pull/212).
Expand Down
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ To stay up to date:

## How the Library Is Hardened

The [security page](https://docs.stepfunc.io/rodbus/1.6.0-RC2/guide/docs/security) of the guide
The [security page](https://docs.stepfunc.io/rodbus/1.6.0/guide/docs/security) of the guide
describes the engineering measures: memory safety, the lints that restrict sources of panics, the
link-time proof that framing, request validation and the parsing of response values can't panic,
bounded resources, protocol validation and the TLS trust model, and what they don't cover.
Expand Down
2 changes: 1 addition & 1 deletion ffi/bindings/c/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.12)

project(rodbus_c LANGUAGES C CXX)

set(RODBUS_BACKUP_VERSION "1.6.0-RC2")
set(RODBUS_BACKUP_VERSION "1.6.0")

# Determine the architecture
if(WIN32 AND CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64|amd64|AMD64" AND CMAKE_SIZEOF_VOID_P EQUAL 8)
Expand Down
2 changes: 1 addition & 1 deletion ffi/bindings/dotnet/examples/client/client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</When>
<Otherwise>
<ItemGroup>
<PackageReference Include="rodbus" Version="1.6.0-RC2" />
<PackageReference Include="rodbus" Version="1.6.0" />
</ItemGroup>
</Otherwise>
</Choose>
Expand Down
2 changes: 1 addition & 1 deletion ffi/bindings/dotnet/examples/server/server.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</When>
<Otherwise>
<ItemGroup>
<PackageReference Include="rodbus" Version="1.6.0-RC2" />
<PackageReference Include="rodbus" Version="1.6.0" />
</ItemGroup>
</Otherwise>
</Choose>
Expand Down
2 changes: 1 addition & 1 deletion ffi/bindings/java/examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<dependency>
<groupId>io.stepfunc</groupId>
<artifactId>rodbus</artifactId>
<version>1.6.0-RC2</version>
<version>1.6.0</version>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion ffi/bindings/java/rodbus-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<dependency>
<groupId>io.stepfunc</groupId>
<artifactId>rodbus</artifactId>
<version>1.6.0-RC2</version>
<version>1.6.0</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down
2 changes: 1 addition & 1 deletion ffi/rodbus-bindings/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rodbus-bindings"
version = "1.6.0-RC2"
version = "1.6.0"
description = "application to generate bindings for Rodbus"
readme = "../README.md"

Expand Down
2 changes: 1 addition & 1 deletion ffi/rodbus-ffi-c/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rodbus-ffi-c"
version = "1.6.0-RC2"
version = "1.6.0"
description = "C library (rodbus_ffi) for the Rodbus C, C++ and .NET bindings"
readme = "../README.md"

Expand Down
2 changes: 1 addition & 1 deletion ffi/rodbus-ffi-java/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rodbus-ffi-java"
version = "1.6.0-RC2"
version = "1.6.0"
authors = ["Step Function I/O LLC <info@stepfunc.io>"]
edition = "2021"
build = "build.rs"
Expand Down
2 changes: 1 addition & 1 deletion ffi/rodbus-ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rodbus-ffi"
version = "1.6.0-RC2"
version = "1.6.0"
authors = ["Step Function I/O LLC <info@stepfunc.io>"]
edition = "2021"
description = "FFI for Rodbus"
Expand Down
2 changes: 1 addition & 1 deletion ffi/rodbus-schema/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rodbus-schema"
# this is the version that all the FFI libraries get, since it's in their schema
version = "1.6.0-RC2"
version = "1.6.0"
description = "oobindgen schema for Rodbus"
readme = "../README.md"

Expand Down
2 changes: 1 addition & 1 deletion guide/sitedata.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "1.6.0-RC2",
"version": "1.6.0",
"github_url": "https://github.com/stepfunc/rodbus"
}
2 changes: 1 addition & 1 deletion rodbus/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rodbus"
version = "1.6.0-RC2"
version = "1.6.0"
description = "A high-performance async implementation of the Modbus protocol using tokio"
readme = "README.md"

Expand Down
2 changes: 1 addition & 1 deletion rodbus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ A high-performance implementation of the [Modbus](http://modbus.org/) protocol u

Written in safe Rust, with sources of panics restricted by lints, and framing, request validation, the parsing of
response values, answering requests and formatting what is sent proven panic-free at link time. See the
[security page](https://docs.stepfunc.io/rodbus/1.6.0-RC2/guide/docs/security) of the guide for
[security page](https://docs.stepfunc.io/rodbus/1.6.0/guide/docs/security) of the guide for
what is enforced and proven, and what isn't covered.

# Supported Modes
Expand Down
Loading