Skip to content

Commit 0555260

Browse files
author
José Valim
committed
Release v1.9.4
1 parent 5af5289 commit 0555260

File tree

4 files changed

+19
-5
lines changed

4 files changed

+19
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@ Another important change related to configuration is that `mix new` will no long
5858

5959
There are many other enhancements. The Elixir CLI got a handful of new options in order to best support releases. `Logger` now computes its sync/async/discard thresholds in a decentralized fashion, reducing contention. `EEx` templates support more complex expressions than before. Finally, there is a new `~U` sigil for working with UTC DateTimes as well as new functions in the `File`, `Registry`, and `System` modules.
6060

61+
## v1.9.4 (2019-11-05)
62+
63+
### 1. Bug fixes
64+
65+
#### Mix
66+
67+
* [mix local.hex] Remove invalid deprecation warning on `mix local.hex` command
68+
6169
## v1.9.3 (2019-11-05)
6270

6371
Note this release deprecates the use of URLs on `mix archive.install`, `mix escript.install`, and `mix local.rebar`. Support for passing URLs to said commands will be fully removed on Elixir v1.10, as they are unsafe. Thanks to Bram Verburg for the report and for providing a fix.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.9.3
1+
1.9.4

lib/mix/lib/mix/tasks/archive.install.ex

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,11 @@ defmodule Mix.Tasks.Archive.Install do
7777
check_extname(path)
7878
end
7979

80-
def check_install_spec({:url, url} = _install_spec, _opts) do
81-
Mix.Utils.warn_install_over_http_deprecated("archive.install", url)
80+
def check_install_spec({:url, url} = _install_spec, opts) do
81+
unless opts[:sha512] do
82+
Mix.Utils.warn_install_over_http_deprecated("archive.install", url)
83+
end
84+
8285
check_extname(url)
8386
end
8487

lib/mix/lib/mix/tasks/escript.install.ex

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,11 @@ defmodule Mix.Tasks.Escript.Install do
7575
end
7676

7777
@impl true
78-
def check_install_spec({:url, url} = _install_spec, _opts) do
79-
Mix.Utils.warn_install_over_http_deprecated("escript.install", url)
78+
def check_install_spec({:url, url} = _install_spec, opts) do
79+
unless opts[:sha512] do
80+
Mix.Utils.warn_install_over_http_deprecated("escript.install", url)
81+
end
82+
8083
:ok
8184
end
8285

0 commit comments

Comments
 (0)