Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unmaintained Elixir/Erlang versions #864

Closed
wants to merge 6 commits into from

Conversation

unflxw
Copy link
Contributor

@unflxw unflxw commented Jun 26, 2023

This PR removes support for Elixir 1.9, Elixir 1.10 and Erlang/OTP 20.

To do

  • Add a changeset with major bump (required due to Plug/Phoenix semver deps) for dropping support for older versions.
  • Look for @deprecated things to be removed (probably in a separate PR, but have both ready for a single release)

Commits

Remove unmaintained Elixir versions from CI

Also remove Erlang versions that are incompatible with currently
maintained Elixir versions.

Remove special cases for Erlang/OTP 20

These are mostly about SSL handling and passing references to the
NIF.

Remove special cases for old Elixir versions

Mostly for 1.10, although some were for long unmaintained versions
such as 1.5.

Rearrange stacktrace tests

Remove the Appsignal.Stacktrace.get/0 macro, since it is just an
alias for __STACKTRACE__ after removing special cases for older
Elixir versions.

Rearrange the tests for the Appsignal.Stacktrace module to talk
about format/1, the actual function under test, instead of get/0.

Remove compile_env wrappers

Remove the wrappers around Application.compile_env that existed
as a special case for old Elixir versions at Appsignal.Utils and
Mix.Appsignal.Utils.

Bump minimum Elixir version to 1.11

Set the Elixir version requirement to ~> 1.11 in mix.exs, which
should show a warning for users of earlier Elixir versions.

unflxw added 6 commits June 26, 2023 15:44
Also remove Erlang versions that are incompatible with currently
maintained Elixir versions.
These are mostly about SSL handling and passing references to the
NIF.
Mostly for 1.10, although some were for long unmaintained versions
such as 1.5.
Remove the `Appsignal.Stacktrace.get/0` macro, since it is just an
alias for `__STACKTRACE__` after removing special cases for older
Elixir versions.

Rearrange the tests for the `Appsignal.Stacktrace` module to talk
about `format/1`, the actual function under test, instead of `get/0`.
Remove the wrappers around `Application.compile_env` that existed
as a special case for old Elixir versions at `Appsignal.Utils` and
`Mix.Appsignal.Utils`.
Set the Elixir version requirement to `~> 1.11` in `mix.exs`, which
should show a warning for users of earlier Elixir versions.
@backlog-helper
Copy link

backlog-helper bot commented Jun 26, 2023

✔️ All good!

New issue guide | Backlog management | Rules | Feedback

@unflxw unflxw requested review from jeffkreeftmeijer, luismiramirez and tombruijn and removed request for jeffkreeftmeijer June 26, 2023 17:09
@unflxw unflxw added the chore label Jun 26, 2023
unflxw added a commit to appsignal/appsignal-elixir-plug that referenced this pull request Jun 26, 2023
Remove Elixir 1.9, Elixir 1.10 and Erlang/OTP 20 from the CI matrix.
See appsignal/appsignal-elixir#864.
unflxw added a commit to appsignal/appsignal-elixir-phoenix that referenced this pull request Jun 26, 2023
Remove Elixir 1.9, Elixir 1.10 and Erlang/OTP 20 from the CI matrix.
See appsignal/appsignal-elixir#864.
unflxw added a commit to appsignal/appsignal-elixir-phoenix that referenced this pull request Jun 26, 2023
Remove Elixir 1.9, Elixir 1.10 and Erlang/OTP 20 from the CI matrix.
See appsignal/appsignal-elixir#864.
unflxw added a commit to appsignal/appsignal-elixir-phoenix that referenced this pull request Jun 26, 2023
Remove Elixir 1.9, Elixir 1.10 and Erlang/OTP 20 from the CI matrix.
See appsignal/appsignal-elixir#864.
@backlog-helper

This comment has been minimized.

8 similar comments
@backlog-helper

This comment has been minimized.

@backlog-helper

This comment has been minimized.

@backlog-helper

This comment has been minimized.

@backlog-helper

This comment has been minimized.

@backlog-helper

This comment has been minimized.

@backlog-helper

This comment has been minimized.

@backlog-helper

This comment has been minimized.

@backlog-helper

This comment has been minimized.

@backlog-helper

This comment has been minimized.

1 similar comment
@backlog-helper

This comment has been minimized.

@backlog-helper

This comment has been minimized.

1 similar comment
@backlog-helper
Copy link


This is a message from the daily scheduled checks.

New issue guide | Backlog management | Rules | Feedback

@unflxw unflxw marked this pull request as draft August 22, 2023 08:56
@unflxw unflxw removed the request for review from jeffkreeftmeijer August 22, 2023 09:13
@unflxw
Copy link
Contributor Author

unflxw commented Dec 11, 2023

Closing this for now. We hope to pick this up for a major release in the future.

@unflxw unflxw closed this Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants