From 09aea47f40bc6514eaa5f05470f5553a01f7798a Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Wed, 20 Sep 2023 10:30:42 +0200 Subject: [PATCH 1/2] chore: 5.2.1 --- apps/emqx/include/emqx_release.hrl | 4 ++-- deploy/charts/emqx-enterprise/Chart.yaml | 4 ++-- deploy/charts/emqx/Chart.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/emqx/include/emqx_release.hrl b/apps/emqx/include/emqx_release.hrl index 9ff61834c2..a406c00fb5 100644 --- a/apps/emqx/include/emqx_release.hrl +++ b/apps/emqx/include/emqx_release.hrl @@ -32,10 +32,10 @@ %% `apps/emqx/src/bpapi/README.md' %% Opensource edition --define(EMQX_RELEASE_CE, "5.2.0-build.1"). +-define(EMQX_RELEASE_CE, "5.2.1"). %% Enterprise edition --define(EMQX_RELEASE_EE, "5.2.1-alpha.3"). +-define(EMQX_RELEASE_EE, "5.2.1"). %% The HTTP API version -define(EMQX_API_VERSION, "5.0"). diff --git a/deploy/charts/emqx-enterprise/Chart.yaml b/deploy/charts/emqx-enterprise/Chart.yaml index 15a99119ab..3ceec98062 100644 --- a/deploy/charts/emqx-enterprise/Chart.yaml +++ b/deploy/charts/emqx-enterprise/Chart.yaml @@ -14,8 +14,8 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 5.2.1-alpha.3 +version: 5.2.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. -appVersion: 5.2.1-alpha.3 +appVersion: 5.2.1 diff --git a/deploy/charts/emqx/Chart.yaml b/deploy/charts/emqx/Chart.yaml index 7d7f867be6..d32268ee2b 100644 --- a/deploy/charts/emqx/Chart.yaml +++ b/deploy/charts/emqx/Chart.yaml @@ -14,8 +14,8 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 5.2.0-build.1 +version: 5.2.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. -appVersion: 5.2.0-build.1 +appVersion: 5.2.1 From 8790e0d64fe9f1a784d878f8482f738485e33e01 Mon Sep 17 00:00:00 2001 From: Ivan Dyachkov Date: Wed, 20 Sep 2023 10:32:01 +0200 Subject: [PATCH 2/2] docs: Generate changelog for v5.2.1 and e5.2.1 --- changes/e5.2.1.en.md | 49 ++++++++++++++++++++++++++++++++++++++++++++ changes/v5.2.1.en.md | 34 ++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 changes/e5.2.1.en.md create mode 100644 changes/v5.2.1.en.md diff --git a/changes/e5.2.1.en.md b/changes/e5.2.1.en.md new file mode 100644 index 0000000000..83bb2f3bc0 --- /dev/null +++ b/changes/e5.2.1.en.md @@ -0,0 +1,49 @@ +# e5.2.1 + +## Enhancements + +- [#11487](https://github.com/emqx/emqx/pull/11487) The bcrypt work factor is limited to the range 5-10, because higher values consume too much CPU resources. + Bcrypt library is updated to allow parallel hash evaluation. + +- [#11532](https://github.com/emqx/emqx/pull/11532) Improve some error reasons when parsing invalid packets. + +- [#11568](https://github.com/emqx/emqx/pull/11568) Added support for defining templates for MQTT 5.0 publish properties and user properties in Republish rule action. + +- [#11612](https://github.com/emqx/emqx/pull/11612) During node evacuation, evacuate all disconnected sessions, not only those started with `clean_start` set to `false`. + +## Bug Fixes + +- [#11493](https://github.com/emqx/emqx/pull/11493) Examples and documentation for /api/v5/publish bad request response have been fixed. Previously the documentation example said that the bad request response could return a list in the body which was not actually the case. + +- [#11499](https://github.com/emqx/emqx/pull/11499) Upgrade Erlang/OTP to 25.3.2-2 + + Erlang/OTP 25.3.2-2 excludes sensitive data from mnesia_hook log message. + +- [#11506](https://github.com/emqx/emqx/pull/11506) Don't download a trace log file if it is empty. + + After this fix, GET `/api/v5/trace/clientempty/download` returns 404 `{"code":"NOT_FOUND","message":"Trace is empty"}` + If no events matching the trace condition occurred. + +- [#11522](https://github.com/emqx/emqx/pull/11522) Improved error message for rule engine schema registry when schema name exceeds permissible length. + +- [#11531](https://github.com/emqx/emqx/pull/11531) Fixed issue where authorization cache cleaning cli was not working properly for specific client ID. + +- [#11564](https://github.com/emqx/emqx/pull/11564) Fix cluster partition autoheal functionality. + Implement autohealing for the clusters that split into multiple partitions. + +- [#11568](https://github.com/emqx/emqx/pull/11568) Fixed an issue where an ill-defined built-in rule action config could be interpreted as a custom user function. + +- [#11394](https://github.com/emqx/emqx/pull/11394) Upgrade Kafka producer client `wolff` from 1.7.6 to 1.7.7. + This fixes a potential race condition which may cause all Kafka producers to crash if some failed to initialize. + +- [#11401](https://github.com/emqx/emqx/pull/11401) When running one of the rule engine SQL `mongo_date` functions in the EMQX dashboard test interface, the resulting date is formatted as `ISODate(*)`, where * is the date in ISO date format instead of only the ISO date string. This is the format used by MongoDB to store dates. + +- [#11547](https://github.com/emqx/emqx/pull/11547) Fix several emqx_bridge issues: + + - fix Cassandra bridge connect error occurring when the bridge is configured without username/password + (Cassandra doesn't require user credentials when it is configured with `authenticator: AllowAllAuthenticator`) + - fix SQL Server bridge connect error caused by an empty password + - make `username` a required field in Oracle bridge + - fix IoTDB bridge error caused by setting base URL without scheme (e.g. `:`) + +- [#11630](https://github.com/emqx/emqx/pull/11630) Fixed an issue where the core node could get stuck in the `mria_schema:bootstrap/0` state, preventing new nodes from joining the cluster. diff --git a/changes/v5.2.1.en.md b/changes/v5.2.1.en.md new file mode 100644 index 0000000000..e99ad5e90a --- /dev/null +++ b/changes/v5.2.1.en.md @@ -0,0 +1,34 @@ +# v5.2.1 + +## Enhancements + +- [#11487](https://github.com/emqx/emqx/pull/11487) The bcrypt work factor is limited to the range 5-10, because higher values consume too much CPU resources. + Bcrypt library is updated to allow parallel hash evaluation. + +- [#11532](https://github.com/emqx/emqx/pull/11532) Improve some error reasons when parsing invalid packets. + +- [#11568](https://github.com/emqx/emqx/pull/11568) Added support for defining templates for MQTT 5.0 publish properties and user properties in Republish rule action. + +## Bug Fixes + +- [#11493](https://github.com/emqx/emqx/pull/11493) Examples and documentation for /api/v5/publish bad request response have been fixed. Previously the documentation example said that the bad request response could return a list in the body which was not actually the case. + +- [#11499](https://github.com/emqx/emqx/pull/11499) Upgrade Erlang/OTP to 25.3.2-2 + + Erlang/OTP 25.3.2-2 excludes sensitive data from mnesia_hook log message. + +- [#11506](https://github.com/emqx/emqx/pull/11506) Don't download a trace log file if it is empty. + + After this fix, GET `/api/v5/trace/clientempty/download` returns 404 `{"code":"NOT_FOUND","message":"Trace is empty"}` + If no events matching the trace condition occurred. + +- [#11522](https://github.com/emqx/emqx/pull/11522) Improved error message for rule engine schema registry when schema name exceeds permissible length. + +- [#11531](https://github.com/emqx/emqx/pull/11531) Fixed issue where authorization cache cleaning cli was not working properly for specific client ID. + +- [#11564](https://github.com/emqx/emqx/pull/11564) Fix cluster partition autoheal functionality. + Implement autohealing for the clusters that split into multiple partitions. + +- [#11568](https://github.com/emqx/emqx/pull/11568) Fixed an issue where an ill-defined built-in rule action config could be interpreted as a custom user function. + +- [#11630](https://github.com/emqx/emqx/pull/11630) Fixed an issue where the core node could get stuck in the `mria_schema:bootstrap/0` state, preventing new nodes from joining the cluster.