Commit Graph

59102 Commits

Author SHA1 Message Date
Marcial Rosales 385598387e Select columns of vhosts
(cherry picked from commit 7003fefa44)
2025-05-02 14:37:51 +00:00
Marcial Rosales 4231ea7e19 Select tags column on vhosts table
(cherry picked from commit 1ab81f7901)
2025-05-02 14:37:51 +00:00
Marcial Rosales e308af1547 Test adding vhost
(cherry picked from commit 01ca72edc0)
2025-05-02 14:37:51 +00:00
Michael Klishin a043f00e56
Merge pull request #13823 from rabbitmq/mergify/bp/v4.1.x/pr-13822
Remove unused Javascript functions (backport #13822)
2025-04-29 03:15:41 +04:00
Luke Bakken f1bdd84e6c Remove unused Javascript functions
A security scanner flagged the use of `RegExp` with unsanitized input.
Turns out, these functions are no longer used and can be deleted.

(cherry picked from commit 61b0f152fd)
2025-04-28 23:10:07 +00:00
Michael Klishin 8bc760ece6
Merge pull request #13821 from rabbitmq/mergify/bp/v4.1.x/pr-13820
Shovel test flakes and logging fixes (backport #13820)
2025-04-28 20:07:09 +04:00
Michal Kuratczyk eadbfd4a38 Don't log a crash on connection termination
(cherry picked from commit 0f36610e9d)
2025-04-28 15:43:21 +00:00
Michal Kuratczyk f21a32d822 Add a `flush` handler to amqp_channel
rabbit_channel may use amqp_channel as the writer.
When terminating, rabbit_channel sends a `flush` message
to its writer. If amqp_channel is in use, that led to
a `function_clause` crash.

(cherry picked from commit 0ce6ad0f0f)
2025-04-28 15:43:20 +00:00
Michal Kuratczyk d9ec0b35ad Shovel: de-flake dynamic_SUITE
checking that not a single process has a message in the mailbox
is prone to flakes.

(cherry picked from commit 0ec41c6c41)
2025-04-28 15:43:20 +00:00
Michael Klishin 1f6964a333
4.0.1 release notes: remove a pre-GA leftover
(cherry picked from commit 005bb2c790)
2025-04-27 16:58:19 -04:00
Michael Klishin 7aaef695cd
4.1.0 release notes: correct a confusing typo
(cherry picked from commit 812d51be56)
2025-04-27 16:50:34 -04:00
Michael Klishin 5379ddcbd1
Merge pull request #13819 from rabbitmq/mergify/bp/v4.1.x/pr-13818
By @aaron-seo: Adds a new auth backend that only accepts loopback connections (backport #13818)
2025-04-27 13:52:34 +04:00
Aaron Seo 3a319c2792 Filter out sockOrAddr from http auth backend's request query
(cherry picked from commit 844f25d77a)
(cherry picked from commit 85e14c74fa)
2025-04-27 08:58:58 +00:00
Aaron Seo 1e1b7161c3 Fallback to original implementation of plain auth_mechanism if socket is not provided
(cherry picked from commit 3bcdc0f359)
2025-04-27 08:58:58 +00:00
Aaron Seo 007ee6b277 Add test suite for rabbitmq_auth_backend_internal_loopback
(cherry picked from commit 614ce25cc7)
2025-04-27 08:58:58 +00:00
Aaron Seo c48c2adad9 Fix doc typo for internal_loopback auth backend
(cherry picked from commit 803cd3956b)
2025-04-27 08:58:57 +00:00
Aaron Seo 97232b7f10 Adds rabbit_auth_backend_internal_loopback
This auth backend behaves the same as the internal backend provided in
the core broker, but it only accepts loopback connections. External
connection attempts will receive an error.

(cherry picked from commit 6d24aef9b0)
2025-04-27 08:58:57 +00:00
Michael Klishin c111f3315c
Naming #13809
(cherry picked from commit c9b2b7fb22)
2025-04-26 18:43:13 -04:00
Razvan Grigore e0bccb4efb
Add Socket SSL column to management UI
(cherry picked from commit 09c546a1c8)
2025-04-26 18:43:06 -04:00
Michael Klishin 4fa8e84864
Merge pull request #13811 from rabbitmq/dependabot/maven/deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot/v4.1.x/prod-deps-ad66588521
[skip ci] Bump the prod-deps group across 2 directories with 1 update
2025-04-26 23:54:40 +04:00
Michael Klishin e629756913
Merge pull request #13810 from rabbitmq/dependabot/maven/deps/rabbitmq_stream_management/test/http_SUITE_data/v4.1.x/dev-deps-87f496a585
[skip ci] Bump com.google.code.gson:gson from 2.13.0 to 2.13.1 in /deps/rabbitmq_stream_management/test/http_SUITE_data in the dev-deps group across 1 directory
2025-04-26 23:54:34 +04:00
dependabot[bot] 876531693d
[skip ci] Bump the prod-deps group across 2 directories with 1 update
Bumps the prod-deps group with 1 update in the /deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot directory: [org.springframework.boot:spring-boot-starter-parent](https://github.com/spring-projects/spring-boot).
Bumps the prod-deps group with 1 update in the /deps/rabbitmq_auth_backend_http/examples/rabbitmq_auth_backend_spring_boot_kotlin directory: [org.springframework.boot:spring-boot-starter-parent](https://github.com/spring-projects/spring-boot).


Updates `org.springframework.boot:spring-boot-starter-parent` from 3.4.4 to 3.4.5
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v3.4.4...v3.4.5)

Updates `org.springframework.boot:spring-boot-starter-parent` from 3.4.4 to 3.4.5
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v3.4.4...v3.4.5)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-parent
  dependency-version: 3.4.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-deps
- dependency-name: org.springframework.boot:spring-boot-starter-parent
  dependency-version: 3.4.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: prod-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-26 18:10:39 +00:00
dependabot[bot] 37372942a8
[skip ci] Bump com.google.code.gson:gson
Bumps the dev-deps group with 1 update in the /deps/rabbitmq_stream_management/test/http_SUITE_data directory: [com.google.code.gson:gson](https://github.com/google/gson).


Updates `com.google.code.gson:gson` from 2.13.0 to 2.13.1
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.13.0...gson-parent-2.13.1)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-version: 2.13.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-26 18:09:52 +00:00
Michael Klishin 1cfd863893
Merge pull request #13807 from rabbitmq/mergify/bp/v4.1.x/pr-13787
Add queues and streams page and test suite (backport #13787)
2025-04-26 00:24:17 +04:00
Michael Klishin 432a18c1e2
Merge pull request #13802 from rabbitmq/dependabot/github_actions/v4.1.x/google-github-actions/auth-2.1.10
Bump google-github-actions/auth from 2.1.9 to 2.1.10
2025-04-26 00:23:44 +04:00
Michael Klishin 968bfdd409
Merge pull request #13801 from rabbitmq/mergify/bp/v4.1.x/pr-13798
Fix amqp091->amqp10 shovel with complex headers (backport #13798)
2025-04-25 23:57:58 +04:00
Marcial Rosales 3579eacf7b Add queues and streams page and test suite
(cherry picked from commit 0cb63bb544)
2025-04-25 19:27:52 +00:00
dependabot[bot] 085b60eef9
Bump google-github-actions/auth from 2.1.9 to 2.1.10
Bumps [google-github-actions/auth](https://github.com/google-github-actions/auth) from 2.1.9 to 2.1.10.
- [Release notes](https://github.com/google-github-actions/auth/releases)
- [Changelog](https://github.com/google-github-actions/auth/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google-github-actions/auth/compare/v2.1.9...v2.1.10)

---
updated-dependencies:
- dependency-name: google-github-actions/auth
  dependency-version: 2.1.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-25 18:18:53 +00:00
Michal Kuratczyk 0ce72b41c7 Some AMQP 0.9.1 headers, in particular x-death headers, cannot be set as
application properties. Before this change, trying to shovel
dead-lettered messages from an AMQP 0.9.1 source to AMQP 1.0 destination
would fail with:
```
reason: {badarg,
            [{unicode,characters_to_binary,
                 [[{table,
                       [{<<"count">>,long,1},
                        {<<"reason">>,longstr,<<"maxlen">>},
                        {<<"queue">>,longstr,<<"tmp">>},
                        {<<"time">>,timestamp,1745575728},
                        {<<"exchange">>,longstr,<<>>},
                        {<<"routing-keys">>,array,
                         [{longstr,<<"tmp">>}]}]}]],
                 [{file,"unicode.erl"},
                  {line,1219},
                  {error_info,#{module => erl_stdlib_errors}}]},
             {amqp10_client_types,utf8,1,
                 [{file,"amqp10_client_types.erl"},{line,99}]},
             {amqp10_msg,'-set_application_properties/2-fun-0-',3,
                 [{file,"amqp10_msg.erl"},{line,385}]},
             {maps,fold_1,4,[{file,"maps.erl"},{line,860}]},
             {amqp10_msg,set_application_properties,2,
                 [{file,"amqp10_msg.erl"},{line,384}]},
             {maps,fold_1,4,[{file,"maps.erl"},{line,860}]},
             {rabbit_amqp10_shovel,forward,4,
                 [{file,"rabbit_amqp10_shovel.erl"},{line,337}]},
             {rabbit_shovel_worker,handle_info,2,
                 [{file,"rabbit_shovel_worker.erl"},{line,104}]}]}
```

(cherry picked from commit c5271ea602)
2025-04-25 17:20:17 +00:00
Michael Klishin d6f4a14372
Merge pull request #13799 from rabbitmq/mergify/bp/v4.1.x/pr-13752
Selenium suites: use RABBITMQ_ENABLED_PLUGINS over RABBITMQ_ENABLED_PLUGINS_FILE (backport #13752)
2025-04-25 19:35:34 +04:00
Marcial Rosales 55a3ac5598 Remove commented out exchange
(cherry picked from commit 0b1a4d283b)
2025-04-25 14:57:50 +00:00
Marcial Rosales aead47d7fa Remove event exchange
(cherry picked from commit 9e69496c85)
2025-04-25 14:57:50 +00:00
Marcial Rosales 3b79aa8f87 Parse multi-line enabled_plugins
Use only needed required plugins for basic auth suite

(cherry picked from commit b6d2ff85b2)
2025-04-25 14:57:49 +00:00
Marcial Rosales d233757215 Convert multiline enabled_plugins to single value
(cherry picked from commit ceb7b244f2)
2025-04-25 14:57:49 +00:00
Marcial Rosales 8abda6ca40 Use RABBITMQ_ENABLED_PLUGINS instead of RABBITMQ_ENABLED_PLUGINS_FILE
gmake was ignoring the former env var.

(cherry picked from commit 6262c849a2)
2025-04-25 14:57:49 +00:00
Michael Klishin a6d6c33329
Merge pull request #13790 from rabbitmq/dependabot/github_actions/v4.1.x/google-github-actions/auth-2.1.9
Bump google-github-actions/auth from 2.1.8 to 2.1.9
2025-04-24 23:11:20 +04:00
dependabot[bot] f24d09069d
Bump google-github-actions/auth from 2.1.8 to 2.1.9
Bumps [google-github-actions/auth](https://github.com/google-github-actions/auth) from 2.1.8 to 2.1.9.
- [Release notes](https://github.com/google-github-actions/auth/releases)
- [Changelog](https://github.com/google-github-actions/auth/blob/main/CHANGELOG.md)
- [Commits](https://github.com/google-github-actions/auth/compare/v2.1.8...v2.1.9)

---
updated-dependencies:
- dependency-name: google-github-actions/auth
  dependency-version: 2.1.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-24 18:37:19 +00:00
Jean-Sébastien Pédron 08d8952f81
Merge pull request #13780 from rabbitmq/mergify/bp/v4.1.x/pr-13779
GitHub Actions: Use RabbitMQ 4.0.9 for mixed-version testing (backport #13779)
2025-04-23 12:35:00 +02:00
Jean-Sébastien Pédron 8cef5dc595
GitHub Actions: Use RabbitMQ 4.0.9 for mixed-version testing
[Why]
We used a 4.0.x snapshot so far because we needed RabbitMQ 4.0.x to use
khepri_mnesia_migration 0.7.2.

RabbitMQ 4.0.9 was released with this update of khepri_mnesia_migration,
thus we don't need the snapshot anymore.

(cherry picked from commit ac90d13af6)
2025-04-23 11:37:52 +02:00
Michael Klishin 4dc2395d63
Drop the 4.0.x alphas workflow
Now that 4.1.0 is out, 4.0.x binary releases will
no longer be available publicly.

(cherry picked from commit cf98ba5a8c)

Conflicts:
	.github/workflows/release-4.0.x-alphas.yaml
2025-04-19 14:25:17 -04:00
Michael Klishin 4639e9daa7
Merge pull request #13772 from rabbitmq/mergify/bp/v4.1.x/pr-13771
CQ: Fix rare eof crash of message store with fanout (backport #13771)
2025-04-19 13:16:26 +04:00
Loïc Hoguin 98ff98f7f3 CQ: Fix rare eof crash of message store with fanout
(cherry picked from commit 7138e8a0cc)
2025-04-19 08:11:54 +00:00
Michael Klishin 5139360cf7
Merge pull request #13766 from rabbitmq/mergify/bp/v4.1.x/pr-13765
[skip ci] Grafana: update dashboards for RabbitMQ 4.1.x (backport #13765)
2025-04-16 20:31:48 +04:00
Michal Kuratczyk 355f86de0a [skip ci] Update dashboards for RabbitMQ 4.1
Key changes:
- endpoint variable to handle scraping multiple endpoints
- message size panels (new metric in 4.1)
- panels at the top of the Overview dashboard should be more up to date
  (they show the latest value)
- values should be accurate if multiple endpoints are scraped
  (previously, many would be doubled)
- Nodes table shows fewer volumns and shows node uptime

(cherry picked from commit c0368a0d24)
2025-04-16 15:53:02 +00:00
Michael Klishin ea27c62686
One more 4.1.0 release notes update
(cherry picked from commit 2592dff63a)
2025-04-15 15:50:02 -04:00
Michael Klishin a5179ac2c7
4.1.0 release notes: update a compatible amqplib release link
(cherry picked from commit a68af5a98883aac352ff1e7e079889dcb23a713f)
2025-04-15 15:14:34 -04:00
Michael Klishin 60f4f6afd6
Merge pull request #13757 from rabbitmq/mergify/bp/v4.1.x/pr-13756
[skip-ci] Additional Prometheus-related release notes (backport #13756)
2025-04-15 21:29:57 +04:00
Michael Klishin 4506725b7d 4.1.0 release notes edits
(cherry picked from commit 4d162257b4)
2025-04-15 17:19:26 +00:00
Michal Kuratczyk ffaf395994 [skip-ci] Additional Prometheus-related release notes
(cherry picked from commit b03b3cabf3)
2025-04-15 17:19:26 +00:00
Michael Klishin 1861a703c1
4.1.0 release notes: prepare for 4.1.0 GA
(cherry picked from commit cb4676da88)

Conflicts:
	release-notes/4.1.0.md
2025-04-15 01:03:37 -04:00