From c268d987e3176088d5d5a10b79768be86bf8ccdd Mon Sep 17 00:00:00 2001 From: Bryan Naegele Date: Wed, 17 Jan 2024 11:23:48 -0700 Subject: [PATCH] Update max and min supported versions post OTP 26 and Elixir 1.16 releases (#256) * Update max and min supported versions post OTP 26 and Elixir 1.16 releases --- .github/elixir-test-matrix.json | 28 ++++++++++++---------------- .github/erlang-test-matrix.json | 4 ++-- README.md | 14 +++++++++++--- 3 files changed, 25 insertions(+), 21 deletions(-) diff --git a/.github/elixir-test-matrix.json b/.github/elixir-test-matrix.json index 438cce9..2dd138f 100644 --- a/.github/elixir-test-matrix.json +++ b/.github/elixir-test-matrix.json @@ -1,33 +1,29 @@ { "otp_version": [ - "26.1.2", - "23.3.4.19" + "26.2.1", + "25.3.2.8", + "24.3.4.15" ], "elixir_version": [ - "1.15.7", - "1.11.4" + "1.16.0", + "1.14.5" ], "rebar3_version": [ - "3.20.0" + "3.22.1" ], "os": [ "ubuntu-20.04" ], "include": [ { - "elixir_version": "1.15.7", - "otp_version": "26.1.2", + "elixir_version": "1.16.0", + "otp_version": "26.2.1", "check_formatted": true - } - ], - "exclude": [ - { - "elixir_version": "1.15.7", - "otp_version": "23.3.4.19" }, { - "elixir_version": "1.11.4", - "otp_version": "26.1.2" + "elixir_version": "1.12.3", + "otp_version": "24.3.4.15" } - ] + ], + "exclude": [] } diff --git a/.github/erlang-test-matrix.json b/.github/erlang-test-matrix.json index 53abde4..1ca5625 100644 --- a/.github/erlang-test-matrix.json +++ b/.github/erlang-test-matrix.json @@ -1,5 +1,5 @@ { - "otp_version": ["26.1.2", "25.3.2.7", "24.3.4.14", "23.3.4.19"], - "rebar3_version": ["3.20.0"], + "otp_version": ["26.1.2", "25.3.2.8", "24.3.4.15"], + "rebar3_version": ["3.22.1"], "os": ["ubuntu-20.04"] } diff --git a/README.md b/README.md index 8b8f008..d83693f 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@   •   Propagators   •   + Utilities +   •   Examples

@@ -25,7 +27,7 @@ ## About this project -This is a repository for OpenTelemetry Erlang & Elixir contributions that are not part of the +This is a repository for OpenTelemetry Erlang & Elixir contribution libraries that are not part of the [core repository](https://github.com/open-telemetry/opentelemetry-erlang) and core distribution of the API and SDK. @@ -40,9 +42,15 @@ OpenTelemetry can collect tracing data using instrumentation. Vendors/Users can ## Supported Runtimes -OpenTelemetry requires OTP v21.3 and above. +OpenTelemetry Contribution libraries are verified to support the last 3 OTP versions +to match the supported runtimes of the OpenTelemetry API and SDK. -See [Elixir OTP Compatibility](https://hexdocs.pm/elixir/1.12/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp) for supported OTP/Elixir combinations. +For Elixir libraries, all versions that support the last 3 OTP versions are verified. + +See [Elixir OTP Compatibility](https://hexdocs.pm/elixir/1.16/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp) for supported OTP/Elixir combinations. + +Elixir libraries should aim for the minimum supported version to be the lowest possible +it can for the code in the library, but must at least support versions outlined above. ## Contributing