Skip to content

Commit

Permalink
Merge pull request #189 from lucacorti/maint/2.0
Browse files Browse the repository at this point in the history
Update CI, add changelog
  • Loading branch information
lucacorti authored Nov 9, 2024
2 parents 66ec450 + 543ce48 commit b1d83bc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit b1d83bc

Please sign in to comment.