From 979a4f933c24dda710ec5c52f1c98b8dc3522797 Mon Sep 17 00:00:00 2001 From: Luca Corti Date: Sat, 9 Nov 2024 19:27:55 +0100 Subject: [PATCH 1/3] Update CI, add changelog --- .github/workflows/test.yml | 4 +++- mix.exs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0c202ec..3c0f9a9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,11 +22,13 @@ jobs: strategy: matrix: # For details see: https://hexdocs.pm/elixir/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp - elixir: ["1.17", "1.16", "1.15"] + elixir: ["1.17", "1.16", "1.15", "1.14"] otp: ["27", "26"] exclude: - { otp: "27", elixir: "1.16" } - { otp: "27", elixir: "1.15" } + - { otp: "27", elixir: "1.14" } + steps: - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 diff --git a/mix.exs b/mix.exs index d1496a6..a3a0bbb 100644 --- a/mix.exs +++ b/mix.exs @@ -5,7 +5,7 @@ defmodule Lapin.Mixfile do [ app: :lapin, version: "2.0.0", - elixir: "~> 1.15", + elixir: "~> 1.14", description: "Elixir RabbitMQ Client", source_url: "https://github.com/lucacorti/lapin", package: package(), From 35e71f5a6468dc355b70828b8c68d067dd8656b9 Mon Sep 17 00:00:00 2001 From: Luca Corti Date: Sat, 9 Nov 2024 19:29:55 +0100 Subject: [PATCH 2/3] Update CI, add changelog --- CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..0445cc0 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,13 @@ +2.0.0 (2021-11-09) + +This is a major release. Lapin itself is API compatible with 1.0, however, due to changes in the +underlying rabbitmq libraries and the elixir `amqp` library there are runtime breaking changes. + +This release requires Elixir 1.14+ and OTP 26+. Please note that rabbitmq does not recommend +running on OTP 27 yet. + +Check `amqp` release notes for more details: https://github.com/pma/amqp/wiki/4.0-Release-Notes + +- Require Elixir 1.15+ and OTP 26+ +- Update CI +- Rewrite the internals on `Lapin.Connection` to use `:gen_statem` and remove `Connection` depenency From 543ce487bc93a67adec585caf08828bd10c15132 Mon Sep 17 00:00:00 2001 From: Luca Corti Date: Sat, 9 Nov 2024 19:30:38 +0100 Subject: [PATCH 3/3] Fix typo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0445cc0..dc9dc40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,4 +10,4 @@ Check `amqp` release notes for more details: https://github.com/pma/amqp/wiki/4. - Require Elixir 1.15+ and OTP 26+ - Update CI -- Rewrite the internals on `Lapin.Connection` to use `:gen_statem` and remove `Connection` depenency +- Rewrite the internals on `Lapin.Connection` to use `:gen_statem` and remove `Connection` dependency