fix(oci/emqx): update 5.8.3 ➼ 5.8.4 #1586
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.8.3
->5.8.4
Release Notes
emqx/emqx (public.ecr.aws/emqx/emqx)
v5.8.4
: EMQX v5.8.4Compare Source
5.8.4
Make sure to check the breaking changes and known issues before upgrading to EMQX 5.8.4.
Enhancements
Core MQTT Functionalities
#13739 Added support for clearing monitor (statistics) data for the whole cluster. You can now send a
DELETE
request to theapi/v5/monitor
endpoint to clear all collected monitoring metrics.#14247 Log the client attribute
tns
if it exists in the client metadata.If the
client_attrs.tns
attribute is present, it will now be included in the log metadata. However, if the client ID is already prefixed with thetns
value, it will not be logged again to avoid duplication.#14353 Improved robustness of session rebalance and evacuation process. Previously, the session evacuation process could enter a dead loop under certain clustering errors.
Rule Engine
is_empty
: Returntrue
if the map or array is empty.map_size
: Return the size of a map.Configuration Files
#14269 Added
etc/base.hocon
config file. In this release, we introduced a new configuration file,etc/base.hocon
, to enhance configuration management and clarity.Previously,
emqx.conf
was the only place for manually configured settings. However, because it was the top-most layer of the configuration override hierarchy, it caused some confusion. While mutable (not read-only) configurations set inemqx.conf
could be changed through the UI, API, or CLI and take effect immediately, those changes would not persist after a node restart, leading to inconsistent behavior.To address this, we added
etc/base.hocon
as a foundational configuration layer. The updated configuration precedence order, from top to bottom, is now as follows:etc/emqx.conf
data/configs/cluster.hocon
etc/base.hocon
The
etc/base.hocon
file serves as the base layer for configurations. While configurations in this file can still be modified after the node starts, it ensures consistent behavior and proper configuration overriding.Observability
#14360 Added listener shutdown counts labeled by shutdown reason to Prometheus metrics, under the
emqx_client_disconnected_reason
counters. Example output:Currently, this feature is limited to TCP and TLS listeners only.
Bug Fixes
Core MQTT Functionalities
auto_subscribe
configuration loaded via the CLI showed a success message but failed to take effect.unexpected_info
warnings.REST API
Data Integration
#14318 Fixed an issue with the initialization of the HTTP connector state. This fix resolves crashes related to the
function_clause
error that could occur when an HTTP action processed incoming traffic while its underlying connector was being restarted. Before this fix, the logs would show cryptic error messages like:#14319 Refactored the internal state machine for resource management, eliminating several race condition bugs. One example is the HTTP action, which, when handling incoming traffic and experiencing health check flapping, could previously result in errors like the following:
#14362 Refactored the resource manager state machine to prevent race conditions that could lead to inconsistent states.
#14429 Fixed the handling of rule action metrics when the underlying connector is disabled. Previously, the failed counter would increment twice for each message—once under the
unknown
category and once underout_of_service
. With this fix, only theout_of_service
counter is incremented, providing more accurate metrics.Command Line Interface
bin/emqx help
command. This fix ensures that the help command now displays the correct usage information. Now, the help command displays the proper details, making it easier for users to understand how to use the command.Configuration File
undefined
ornull
as the literal strings"undefined"
or"null"
. Now, these values are correctly displayed as empty strings, providing cleaner and more intuitive outputs when variables are not set or have no value"${EMQX_LOG_DIR}"
, ensuring smoother operation without errors.Observability
#14267 Modified the logging behavior to avoid redacting secrets in logs and HTTP responses when the secret string is a file path (e.g.,
file:///path/to/the/secret
).Resolve the
function_clause
error that occurs when retrieving theemqx_license_expiry_at
Prometheus value for a perpetual license.Breaking Changes
client
top-level key will now always be an array of JSON objects, rather than a single JSON object. This change may affect how your monitoring tools process the data.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Renovate Bot.