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/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..dc9dc40 --- /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` dependency 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(),