github emqx/emqx v5.0.15
EMQX v5.0.15

latest releases: v5.8.0, v5.8.0-rc.2, v5.7.2...
20 months ago

v5.0.15

Enhancements

  • #9569 Refactor /authorization/sources/built_in_database/ by adding rules/ to the path.

  • #9585 /bridges_probe API endpoint to test params for creating a new data bridge.

  • #9586 Basic auth is no longer allowed for API calls, must use API key instead.

  • #9628 Expose additional resource configuration parameters: start_after_created and start_timeout.

  • #9722 Add the following configuration options for Pushing metrics to Prometheus Push Gateway:

    • headers: Allows custom HTTP request headers.
    • job_name: allows to customize the name of the Job pushed to Push Gateway.
  • #9725 Remove the config auto_reconnect from the emqx_authz, emqx_authn and data-bridge componets.
    This is because we have another config with similar functions: resource_opts.auto_restart_interval

    The functions of these two config are difficult to distinguish, which will lead to confusion.
    After this change, auto_reconnect will not be configurable (always be true), and the underlying
    drivers that support this config will automatically reconnect the abnormally disconnected
    connection every 2s.

    And the config resource_opts.auto_restart_interval is still available for user.
    It is the time interval that emqx restarts the resource when the connection cannot be
    established for some reason.

  • #9736 Refactor of /bridges API to make it more consistent with other APIs:

    • bridge enable/disable is now done via the endpoint /bridges/{id}/enable/[true,false]
    • /bridges/{id}/operation/{operation} endpoints are now /bridges/{id}/{operation}
    • metrics are moved out from the GET /bridges/{id} response and can now be fetched via /bridges/{id}/metrics
    • the bridges/{id}/reset_metrics endpoint is now /bridges/{id}/metrics/reset
  • #9774 Add a password complexity requirement when adding or modifying Dashboard users via the API.
    Now password must contain at least 2 of alphabetic, numeric and special characters,
    and must be 8 to 64 characters long.

Bug fixes

  • #9626 Return authorization settings with default values.
    The authorization cache is enabled by default, but due to the missing default value in GET response of /authorization/settings, it seemed to be disabled from the dashboard.

  • #9680 Fix the problem that username and password authentication is mandatory in Influxdb v1 write API.

  • #9726 Client fuzzy search API results were missing information which could tell if more results are available in the next pages, this is now fixed by providing hasnext flag in the response.

  • #9735 Password information has been removed from information log messages for http, ldap, mongo, mqtt, mysql, pgsql and redis.

  • #9748 Listeners not configured with max_connections will cause the cluster /listeners API to return 500 error.

  • #9749 In some cases search APIs could respond with an incorrect count value in the metadata, that is usually much bigger than expected, this is now fixed.

  • #9750 Reload overriding configs after boot.
    Prior to this change, two configs were allow to change from dashboard, but will not take effect after reboot:

    • Logging (such as level)
    • Prometheus configs
  • #9751 Fix that obsoleted cert file will not be deleted after the listener is updated/deleted

  • #9763 Fix an authentication exception when password is not provided

  • #9765 Parse decimals as password from environment variable overrides correctly.
    Prior to this change, config values for passwords are not allowed to be decimals.
    e.g. EMQX_FOOBAR__PASSWORD=12344 or emqx.foobar.password=1234
    would result in a type check error, unless quoted as:
    EMQX_FOOBAR__PASSWORD='"12344"' or emqx.foobar.password="1234".
    After this fix, the value does not have to be quoted.

  • #9769 Fix Erlang shell prompt version prefix. e5.0.15 -> v5.0.15

  • #9780 When creating disk queue directory for resource worker, substitute ':' with '-' in worker id.

  • #9781 Trace files were left on a node when creating a zip file for download. They are now removed when the file is sent. Also, concurrent downloads will no longer interfere with each other.

  • #9785 Stop authentication hook chain if emqx_authentication provides a definitive result.

  • #9787 Fix a compatible problem for the webhook bridge configuration which was created before the v5.0.12.

Don't miss a new emqx release

NewReleases is sending notifications on new releases.