Skip to content

Commit 026b10a

Browse files
committed
bump elixir_sense
drop support for elixir 1.10
1 parent ea543d4 commit 026b10a

File tree

17 files changed

+19
-55
lines changed

17 files changed

+19
-55
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
include:
19-
- elixir: 1.10.x
19+
- elixir: 1.11.x
2020
otp: 22.3.4.x
2121
tests_may_fail: false
2222
check_unused_deps: true

.github/workflows/release-asset.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
otp-version: '24.1'
3939
- elixir-version: '1.11'
4040
otp-version: '23.3'
41-
- elixir-version: '1.10'
41+
- elixir-version: '1.11'
4242
otp-version: '22.3'
4343
default: true
4444

.release-tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
#
44
# The versions selected here are the versions that are used to build a binary
55
# release for distribution
6-
elixir 1.10.4-otp-22
6+
elixir 1.11.4-otp-22
77
erlang 22.3.4.20

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
### Unreleased
22

3+
**Deprecations**
4+
- Minimum version of Elixir is now 1.11
5+
36
### v0.10.0: 10 June 2022
47

58
Improvements to debugger addapter:

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ For VSCode install the extension: https://marketplace.visualstudio.com/items?ite
8787

8888
Elixir:
8989

90-
- 1.10.0 minimum
90+
- 1.11.0 minimum
9191

9292
Erlang:
9393

@@ -284,7 +284,6 @@ https://github.com/elixir-lsp/elixir-ls/issues/364#issuecomment-829589139
284284

285285
* `.exs` files don't return compilation errors
286286
* "Fetching n dependencies" sometimes get stuck (remove the `.elixir_ls` directory to fix)
287-
* Debugger doesn't work in Elixir 1.10.0 - 1.10.2 (but it should work in 1.10.3 when [this fix](https://github.com/elixir-lang/elixir/pull/9864) is released)
288287
* "Go to definition" does not work within the `scope` of a Phoenix router
289288
* On first launch dialyzer will cause high CPU usage for a considerable time
290289
* Dialyzer does not pick up changes involving remote types (https://github.com/elixir-lsp/elixir-ls/issues/502)

apps/elixir_ls_debugger/lib/debugger/cli.ex

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,5 @@ defmodule ElixirLS.Debugger.CLI do
2222
with {:error, message} <- ElixirLS.Utils.MinimumVersion.check_otp_version() do
2323
Output.print_err("WARNING: " <> message)
2424
end
25-
26-
# Debugging does not work on Elixir 1.10.0-1.10.2:
27-
# https://github.com/elixir-lsp/elixir-ls/issues/158
28-
elixir_version = System.version()
29-
30-
if Version.match?(elixir_version, ">= 1.10.0") && Version.match?(elixir_version, "< 1.10.3") do
31-
message =
32-
"WARNING: Debugging is not supported on Elixir #{elixir_version}. Please upgrade" <>
33-
" to at least 1.10.3\n" <>
34-
"more info: https://github.com/elixir-lsp/elixir-ls/issues/158"
35-
36-
Output.print_err(message)
37-
end
3825
end
3926
end

apps/elixir_ls_debugger/mix.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ defmodule ElixirLS.Debugger.Mixfile do
44
def project do
55
[
66
app: :elixir_ls_debugger,
7-
version: "0.10.0",
7+
version: "0.11.0",
88
build_path: "../../_build",
99
config_path: "../../config/config.exs",
1010
deps_path: "../../deps",
1111
lockfile: "../../mix.lock",
12-
elixir: ">= 1.10.0",
12+
elixir: ">= 1.11.0",
1313
build_embedded: false,
1414
start_permanent: true,
1515
build_per_environment: false,
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
1-
if Version.match?(System.version(), ">= 1.11.0") do
2-
Code.put_compiler_option(:warnings_as_errors, true)
3-
end
4-
51
Application.put_env(:elixir_ls_debugger, :test_mode, true)
62
ExUnit.start(exclude: [pending: true])

apps/elixir_ls_utils/lib/minimum_version.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ defmodule ElixirLS.Utils.MinimumVersion do
1111
end
1212

1313
def check_elixir_version do
14-
if Version.match?(System.version(), ">= 1.10.0") do
14+
if Version.match?(System.version(), ">= 1.11.0") do
1515
:ok
1616
else
1717
{:error,
18-
"Elixir versions below 1.10 are not supported. (Currently running v#{System.version()})"}
18+
"Elixir versions below 1.11 are not supported. (Currently running v#{System.version()})"}
1919
end
2020
end
2121
end

apps/elixir_ls_utils/mix.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ defmodule ElixirLS.Utils.Mixfile do
44
def project do
55
[
66
app: :elixir_ls_utils,
7-
version: "0.10.0",
7+
version: "0.11.0",
88
build_path: "../../_build",
99
config_path: "../../config/config.exs",
1010
deps_path: "../../deps",
1111
elixirc_paths: elixirc_paths(Mix.env()),
1212
lockfile: "../../mix.lock",
13-
elixir: ">= 1.10.0",
13+
elixir: ">= 1.11.0",
1414
build_embedded: false,
1515
start_permanent: false,
1616
build_per_environment: false,

0 commit comments

Comments
 (0)