Skip to content
Browse files
Release v1.9.3
  • Loading branch information
josevalim committed Nov 5, 2019
1 parent 34dc246 commit 5af52898d344fda201e2437319449cdc0242eb31
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 1 deletion.
@@ -58,6 +58,61 @@ 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.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.

The alternative is straight-forward: you can simply download the artifact via the command line and then invoke the command with a file system path. For example, instead of:

$ mix archive.install

You can execute on Unix (Linux, MacOS X):

$ wget
$ mix archive.install installer.ez


$ curl -o installer.ez
$ mix archive.install installer.ez

On Windows (Win7 or later):

> powershell -Command "Invoke-WebRequest -OutFile installer.ez"
> mix archive.install installer.ez

> powershell -Command "(New-Object Net.WebClient).DownloadFile('', 'installer.ez')"
> mix archive.install installer.ez
Note that, if you are a library author, consider providing installable escripts and archives through Hex, such as Phoenix:

$ mix archive.install hex phx_new

Installations through Hex are always safe and they come with version management and all other benefits from Hex too.

### 1. Enhancements

#### Mix

* [mix release] Add :tar option for releases to create a tarball

### 2. Bug fixes

#### Mix

* [mix release] Use `default_release` option when name is not given
* [mix release] Make release's boot script contents deterministic

### 3. Deprecations

#### Mix

* [mix archive.install] Warn when installing from URI
* [mix escript.install] Warn when installing from URI
* [mix local.rebar] Warn when installing from URI

## v1.9.2 (2019-10-12)

### 1. Enhancements
@@ -1 +1 @@

0 comments on commit 5af5289

Please sign in to comment.