Skip to content
Permalink
Browse files

Release v1.9.4

  • Loading branch information
José Valim
José Valim committed Nov 5, 2019
1 parent 5af5289 commit 055526057ac9992cc1df87441357c4e56d45235d
Showing with 19 additions and 5 deletions.
  1. +8 −0 CHANGELOG.md
  2. +1 −1 VERSION
  3. +5 −2 lib/mix/lib/mix/tasks/archive.install.ex
  4. +5 −2 lib/mix/lib/mix/tasks/escript.install.ex
@@ -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.
@@ -1 +1 @@
1.9.3
1.9.4
@@ -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

@@ -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

0 comments on commit 0555260

Please sign in to comment.
You can’t perform that action at this time.