Skip to content

Commit

Permalink
Release v1.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
José Valim committed Nov 5, 2019
1 parent 5af5289 commit 0555260
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ Another important change related to configuration is that `mix new` will no long

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.

## v1.9.4 (2019-11-05)

### 1. Bug fixes

#### Mix

* [mix local.hex] Remove invalid deprecation warning on `mix local.hex` command

## v1.9.3 (2019-11-05)

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.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9.3
1.9.4
7 changes: 5 additions & 2 deletions lib/mix/lib/mix/tasks/archive.install.ex
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,11 @@ defmodule Mix.Tasks.Archive.Install do
check_extname(path)
end

def check_install_spec({:url, url} = _install_spec, _opts) do
Mix.Utils.warn_install_over_http_deprecated("archive.install", url)
def check_install_spec({:url, url} = _install_spec, opts) do
unless opts[:sha512] do
Mix.Utils.warn_install_over_http_deprecated("archive.install", url)
end

check_extname(url)
end

Expand Down
7 changes: 5 additions & 2 deletions lib/mix/lib/mix/tasks/escript.install.ex
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,11 @@ defmodule Mix.Tasks.Escript.Install do
end

@impl true
def check_install_spec({:url, url} = _install_spec, _opts) do
Mix.Utils.warn_install_over_http_deprecated("escript.install", url)
def check_install_spec({:url, url} = _install_spec, opts) do
unless opts[:sha512] do
Mix.Utils.warn_install_over_http_deprecated("escript.install", url)
end

:ok
end

Expand Down

0 comments on commit 0555260

Please sign in to comment.