summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8224 from rabbitmq/rin/bazel-use-26-gaHEADmainMichael Klishin2023-05-172-2/+9
|\ | | | | Use erlang 26.0 instead of rc3 in bazel
| * Use erlang 26.0 instead of rc3 in bazelRin Kuryloski2023-05-172-2/+9
| |
* | Merge pull request #8225 from cloudamqp/filter_discarded_message_logMichael Klishin2023-05-171-1/+1
|\ \ | | | | | | Fix filter for "Discarding message..." logs
| * | Fix filter for "Discarding message..." logsPéter Gömöri2023-05-171-1/+1
| |/ | | | | | | | | | | The format string is hardcoded as "~s~n" in [ERTS](https://github.com/erlang/otp/blame/OTP-26.0/erts/emulator/beam/utils.c#L878). Using unicode modifier resulted in a mismatch.
* | Merge pull request #8226 from rabbitmq/mk-3.12.0-release-notes-updatesMichael Klishin2023-05-171-3/+18
|\ \ | |/ |/| 3.12.0 release notes updates
| * More 3.12.0 release notes editsMichael Klishin2023-05-171-0/+3
| |
| * Update 3.12.0 release notesMichael Klishin2023-05-171-3/+15
|/
* Merge pull request #8219 from rabbitmq/gazelle-mainMichael Klishin2023-05-171-5/+5
|\ | | | | Adopt otp
| * bazel run gazelleGitHub2023-05-171-5/+5
|/
* Merge pull request #8205 from rabbitmq/rin/use-rules_erlang-3.10.1Rin Kuryloski2023-05-162-5/+5
|\ | | | | Use the latest rules_erlang
| * Use the latest rules_erlangRin Kuryloski2023-05-162-5/+5
| |
* | Merge pull request #8204 from rabbitmq/rin/fixup-offline-source-distMichael Klishin2023-05-161-56/+4
|\ \ | | | | | | Fix offline `make dist`
| * | Fix offline `make dist`Rin Kuryloski2023-05-161-56/+4
| |/ | | | | | | | | | | | | See #7869. #7875 resulted in elixir apps (besides the cli) in the deps dir. This triggered dormant makefile logic to compile such deps. It turns out that it's unnecessary to pre-compile them, given the cli's mix.exs file.
* | Merge pull request #8001 from rabbitmq/configurable-oauth2-scope-prefixMichael Klishin2023-05-165-21/+112
|\ \ | |/ |/| Configure Oauth scope prefix
| * Test scope prefix within scope alias mappingMarcial Rosales2023-05-161-1/+45
| |
| * Make parameter optionalMarcial Rosales2023-05-161-1/+1
| |
| * Configure Oauth scope prefixMarcial Rosales2023-05-165-21/+68
|/ | | | separate from resource_server_id
* Merge pull request #8084 from rabbitmq/rin/nightly-compare-build-systemsRin Kuryloski2023-05-1529-62/+315
|\ | | | | Github Actions pipeline to compare build systems nightly
| * Add a workflow to compare the bazel/erlang.mk outputRin Kuryloski2023-05-1529-62/+315
| | | | | | | | To catch any drift between the builds
* | Merge pull request #8188 from rabbitmq/message-interceptorMichael Klishin2023-05-1511-15/+293
|\ \ | |/ |/| Move plugin rabbitmq-message-timestamp to the core
| * Change rabbitmq.conf key to message_interceptors.incoming.*David Ansari2023-05-152-6/+6
| | | | | | | | | | | | | | | | as it nicer categorises if there will be a future "message_interceptors.outgoing.*" key. We leave the advanced config file key because simple single value settings should not require using the advanced config file.
| * Move plugin rabbitmq-message-timestamp to the coreDavid Ansari2023-05-1511-15/+293
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As reported in https://groups.google.com/g/rabbitmq-users/c/x8ACs4dBlkI/ plugins that implement rabbit_channel_interceptor break with Native MQTT in 3.12 because Native MQTT does not use rabbit_channel anymore. Specifically, these plugins don't work anymore in 3.12 when sending a message from an MQTT publisher to an AMQP 0.9.1 consumer. Two of these plugins are https://github.com/rabbitmq/rabbitmq-message-timestamp and https://github.com/rabbitmq/rabbitmq-routing-node-stamp This commit moves both plugins into rabbitmq-server. Therefore, these plugins are deprecated starting in 3.12. Instead of using these plugins, the user gets the same behaviour by configuring rabbitmq.conf as follows: ``` incoming_message_interceptors.set_header_timestamp.overwrite = false incoming_message_interceptors.set_header_routing_node.overwrite = false ``` While both plugins were incompatible to be used together, this commit allows setting both headers. We name the top level configuration key `incoming_message_interceptors` because only incoming messages are intercepted. Currently, only `set_header_timestamp` and `set_header_routing_node` are supported. (We might support more in the future.) Both can set `overwrite` to `false` or `true`. The meaning of `overwrite` is the same as documented in https://github.com/rabbitmq/rabbitmq-message-timestamp#always-overwrite-timestamps i.e. whether headers should be overwritten if they are already present in the message. Both `set_header_timestamp` and `set_header_routing_node` behave exactly to plugins `rabbitmq-message-timestamp` and `rabbitmq-routing-node-stamp`, respectively. Upon node boot, the configuration is put into persistent_term to not cause any performance penalty in the default case where these settings are disabled. The channel and MQTT connection process will intercept incoming messages and - if configured - add the desired AMQP 0.9.1 headers. For now, this allows using Native MQTT in 3.12 with the old plugins behaviour. In the future, once "message containers" are implemented, we can think about more generic message interceptors where plugins can be written to modify arbitrary headers or message contents for various protocols. Likewise, in the future, once MQTT 5.0 is implemented, we can think about an MQTT connection interceptor which could function similar to a `rabbit_channel_interceptor` allowing to modify any MQTT packet.
* | Merge pull request #8196 from rabbitmq/rin/more-gazelle-excludesRin Kuryloski2023-05-151-0/+3
|\ \ | | | | | | Also exclude the .erlang.mk directory in gazelle
| * | Also exclude the .erlang.mk directory in gazelleRin Kuryloski2023-05-151-0/+3
|/ /
* | Merge pull request #8187 from rabbitmq/rin/bazel-exclude-nested-depsMichael Klishin2023-05-151-0/+1
|\ \ | | | | | | Exclude nested deps fetched by make from gazelle
| * | Exclude nested deps fetched by make from gazelleRin Kuryloski2023-05-151-0/+1
| |/
* | Merge pull request #8189 from rabbitmq/unsubscribe-responseMichael Klishin2023-05-151-0/+6
|\ \ | |/ |/| UnsubscribeResponse in stream protocol doc
| * Include UnsubscribeResponse in stream protocolAlex Blease2023-05-151-0/+6
|/
* Merge pull request #8166 from rabbitmq/bump-otp-25.2Michael Klishin2023-05-130-0/+0
|\ | | | | Adopt otp 25.2.3
| * Adopt otp 25.2.3GitHub2023-05-131-1/+1
| |
* | Merge pull request #8165 from rabbitmq/bump-otp-25.1Michael Klishin2023-05-130-0/+0
|\ \ | | | | | | Adopt otp 25.1.2.1
| * | Adopt otp 25.1.2.1GitHub2023-05-131-1/+1
| |/
* | Merge pull request #8164 from rabbitmq/bump-otp-25.0Michael Klishin2023-05-130-0/+0
|\ \ | | | | | | Adopt otp 25.0.4
| * | Adopt otp 25.0.4GitHub2023-05-131-1/+1
| |/
* | Merge pull request #8167 from rabbitmq/bump-otp-25.3Michael Klishin2023-05-131-1/+1
|\ \ | | | | | | Adopt otp 25.3.2
| * | Adopt otp 25.3.2GitHub2023-05-131-1/+1
| |/
* | Merge pull request #8169 from rabbitmq/gazelle-mainMichael Klishin2023-05-131-8/+8
|\ \ | |/ |/| Adopt otp
| * bazel run gazelleGitHub2023-05-131-8/+8
|/
* Merge pull request #8160 from rabbitmq/mk-3.11.16-release-notesMichael Klishin2023-05-121-0/+92
|\ | | | | 3.11.16 release notes
| * 3.11.16 release notes updatesMichael Klishin2023-05-121-2/+2
| |
| * 3.11.16 release notesMichael Klishin2023-05-121-0/+92
|/
* Merge pull request #8156 from rabbitmq/mk-gazelle-update-reposMichael Klishin2023-05-121-51/+19
|\ | | | | bazel run gazelle-update-repos for Ra 2.6
| * bazel run gazelle-update-repos for Ra 2.6Michael Klishin2023-05-121-51/+19
| |
* | Merge pull request #8148 from rabbitmq/rin/rabbitmq_cli-dialyze-enhancementsRin Kuryloski2023-05-1213-53/+144
|\ \ | |/ |/| rabbitmq_cli dialyze enhancements
| * Update rules_pkg to 0.9.1Rin Kuryloski2023-05-124-3/+16
| |
| * Fix github actions cache key for the bazel repo-cacheRin Kuryloski2023-05-123-5/+15
| |
| * Use rules_erlang 3.10.0Rin Kuryloski2023-05-122-16/+16
| |
| * Account for Elixir containing several core applicationsRin Kuryloski2023-05-123-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | - eex - elixir - ex_unit - iex - logger - mix So that apps (like rabbitmq_cli) can dialyze against the extra components
| * Pass csv and json to rabbitmq_cli pltRin Kuryloski2023-05-121-0/+5
| | | | | | | | | | So that they are no longer reported as unknown in //deps/rabbitmq_cli:dialyze
| * Build cli deps as .ez archivesRin Kuryloski2023-05-124-26/+68
|/ | | | | This provides an elixir/erlang agnostic way of providing them other erlang rules