From e27c74c7a187af4b8742df46a620d5c07302f7ed Mon Sep 17 00:00:00 2001 From: Jason Axelson Date: Sun, 2 Aug 2020 07:18:32 -1000 Subject: [PATCH 1/4] Drop OTP 20 and add version support guidance Drop OTP 20 because it is generally no longer supported by the OTP team. --- .tool-versions | 4 ++-- .travis.yml | 4 +--- CHANGELOG.md | 1 + DEVELOPMENT.md | 10 ++++++++++ README.md | 2 +- 5 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.tool-versions b/.tool-versions index 5a645009c..31d909a03 100644 --- a/.tool-versions +++ b/.tool-versions @@ -6,5 +6,5 @@ # # The versions selected here are the versions that are used to build a binary # release for distribution -elixir 1.7.4-otp-20 -erlang 20.3.8.23 +elixir 1.7.4-otp-21 +erlang 21.3.8.17 diff --git a/.travis.yml b/.travis.yml index 541e53484..f60e02870 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,10 +19,8 @@ cache: - _build matrix: include: - - otp_release: 20.3 - elixir: 1.7.4 - otp_release: 21.3 - elixir: 1.8.2 + elixir: 1.7.4 - otp_release: 22.3 elixir: 1.9.4 - otp_release: 23.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index de23a9ee9..7e87fc51a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ Potentially breaking changes: - Do not format files that are not listed in `inputs` of `.formatter.exs` (thanks [Tan Jay Jun](https://github.com/jayjun)) [#315](https://github.com/elixir-lsp/elixir-ls/pull/315) +- Drop OTP 20 support and set some version support guidelines (thanks [Jason Axelson](https://github.com/axelson)) (PR #?) Improvements: - Add Ecto completion plugin from ElixirSense (thanks [Marlus Saraiva](https://github.com/msaraiva)) [#333](https://github.com/elixir-lsp/elixir-ls/pull/333) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 531c721e9..fc4220ccd 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -1,3 +1,13 @@ +# Version Support Guidelines + +Elixir itself supports 5 versions with security updates: +https://hexdocs.pm/elixir/compatibility-and-deprecations.html#content + +OTP Supports the last 3 versions: +http://erlang.2086793.n4.nabble.com/OTP-Versions-and-Maint-Branches-td4722416.html + +ElixirLS supports the last 4 versions of Elixir and the last 3 versions of OTP. However this is not a hard and fast rule and may change in the future. + # Packaging Bump the changelog diff --git a/README.md b/README.md index aa6844494..04d2033f0 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ Elixir: Erlang: -- OTP 20 minimum +- OTP 21 minimum You may want to install Elixir and Erlang from source, using the [kiex](https://github.com/taylor/kiex) and [kerl](https://github.com/kerl/kerl) tools. This will let you go-to-definition for core Elixir and Erlang modules. From 5fb5fc8a315ed8dc1dcbc66c99a2d4761ad60e87 Mon Sep 17 00:00:00 2001 From: Jason Axelson Date: Sun, 2 Aug 2020 07:20:44 -1000 Subject: [PATCH 2/4] Add PR # to changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e87fc51a..a7086441a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ Potentially breaking changes: - Do not format files that are not listed in `inputs` of `.formatter.exs` (thanks [Tan Jay Jun](https://github.com/jayjun)) [#315](https://github.com/elixir-lsp/elixir-ls/pull/315) -- Drop OTP 20 support and set some version support guidelines (thanks [Jason Axelson](https://github.com/axelson)) (PR #?) +- Drop OTP 20 support and set some version support guidelines (thanks [Jason Axelson](https://github.com/axelson)) [PR #337](https://github.com/elixir-lsp/elixir-ls/pull/337) Improvements: - Add Ecto completion plugin from ElixirSense (thanks [Marlus Saraiva](https://github.com/msaraiva)) [#333](https://github.com/elixir-lsp/elixir-ls/pull/333) From 962b0e4764f1c5a49417a2a791f40dbafe3e46bd Mon Sep 17 00:00:00 2001 From: Jason Axelson Date: Mon, 3 Aug 2020 20:05:06 -1000 Subject: [PATCH 3/4] Change minimum Elixir version to 1.8.0 --- .travis.yml | 2 +- DEVELOPMENT.md | 2 +- README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f60e02870..379bd1ded 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,7 @@ cache: matrix: include: - otp_release: 21.3 - elixir: 1.7.4 + elixir: 1.8.2 - otp_release: 22.3 elixir: 1.9.4 - otp_release: 23.0 diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index fc4220ccd..8ce1561d8 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -6,7 +6,7 @@ https://hexdocs.pm/elixir/compatibility-and-deprecations.html#content OTP Supports the last 3 versions: http://erlang.2086793.n4.nabble.com/OTP-Versions-and-Maint-Branches-td4722416.html -ElixirLS supports the last 4 versions of Elixir and the last 3 versions of OTP. However this is not a hard and fast rule and may change in the future. +ElixirLS generally aims to support the last 3 versions of Elixir and the last 3 versions of OTP. However this is not a hard and fast rule and may change in the future. # Packaging diff --git a/README.md b/README.md index 04d2033f0..dd5877742 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ For VSCode install the extension: https://marketplace.visualstudio.com/items?ite Elixir: -- 1.7.0 minimum +- 1.8.0 minimum Erlang: From 7d867be2bba8164898555b9d036ed4269f74a52c Mon Sep 17 00:00:00 2001 From: Jason Axelson Date: Mon, 3 Aug 2020 20:06:42 -1000 Subject: [PATCH 4/4] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7086441a..c6a446181 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ Potentially breaking changes: - Do not format files that are not listed in `inputs` of `.formatter.exs` (thanks [Tan Jay Jun](https://github.com/jayjun)) [#315](https://github.com/elixir-lsp/elixir-ls/pull/315) -- Drop OTP 20 support and set some version support guidelines (thanks [Jason Axelson](https://github.com/axelson)) [PR #337](https://github.com/elixir-lsp/elixir-ls/pull/337) +- Drop OTP 20 and Elixir 1.7.x support and set some version support guidelines (thanks [Jason Axelson](https://github.com/axelson)) [PR #337](https://github.com/elixir-lsp/elixir-ls/pull/337) Improvements: - Add Ecto completion plugin from ElixirSense (thanks [Marlus Saraiva](https://github.com/msaraiva)) [#333](https://github.com/elixir-lsp/elixir-ls/pull/333)