Skip to content

Commit 5af5289

Browse files
author
José Valim
committed
Release v1.9.3
1 parent 34dc246 commit 5af5289

File tree

2 files changed

+56
-1
lines changed

2 files changed

+56
-1
lines changed

CHANGELOG.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,61 @@ 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.3 (2019-11-05)
62+
63+
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.
64+
65+
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:
66+
67+
$ mix archive.install https://example.org/installer.ez
68+
69+
You can execute on Unix (Linux, MacOS X):
70+
71+
$ wget https://example.org/installer.ez
72+
$ mix archive.install installer.ez
73+
74+
or
75+
76+
$ curl -o installer.ez https://example.org/installer.ez
77+
$ mix archive.install installer.ez
78+
79+
On Windows (Win7 or later):
80+
81+
> powershell -Command "Invoke-WebRequest https://example.org/installer.ez -OutFile installer.ez"
82+
> mix archive.install installer.ez
83+
84+
or
85+
86+
> powershell -Command "(New-Object Net.WebClient).DownloadFile('https://example.org/installer.ez', 'installer.ez')"
87+
> mix archive.install installer.ez
88+
89+
Note that, if you are a library author, consider providing installable escripts and archives through Hex, such as Phoenix:
90+
91+
$ mix archive.install hex phx_new
92+
93+
Installations through Hex are always safe and they come with version management and all other benefits from Hex too.
94+
95+
### 1. Enhancements
96+
97+
#### Mix
98+
99+
* [mix release] Add :tar option for releases to create a tarball
100+
101+
### 2. Bug fixes
102+
103+
#### Mix
104+
105+
* [mix release] Use `default_release` option when name is not given
106+
* [mix release] Make release's boot script contents deterministic
107+
108+
### 3. Deprecations
109+
110+
#### Mix
111+
112+
* [mix archive.install] Warn when installing from URI
113+
* [mix escript.install] Warn when installing from URI
114+
* [mix local.rebar] Warn when installing from URI
115+
61116
## v1.9.2 (2019-10-12)
62117

63118
### 1. Enhancements

VERSION

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

0 commit comments

Comments
 (0)