Elixir

Elixir

Elixir Core Team

Elixir v1.9.3 released

Release: Release v1.9.3 · elixir-lang/elixir · GitHub

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 https://example.org/installer.ez

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

$ wget https://example.org/installer.ez
$ mix archive.install installer.ez

or

$ curl -o installer.ez https://example.org/installer.ez
$ mix archive.install installer.ez

On Windows (Win7 or later):

> powershell -Command "Invoke-WebRequest https://example.org/installer.ez -OutFile installer.ez"
> mix archive.install installer.ez

or

> powershell -Command "(New-Object Net.WebClient).DownloadFile('https://example.org/installer.ez', '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

Checksums

  • Precompiled.zip SHA1: 8bcf1cca9a946db02af570a78b007e9424cd933f
  • Precompiled.zip SHA512: e5252721b5a08f48c5988027cb765f9317e7e271e52f3f4a3ebcb77581eb584c9aa0cdb216e12a3d626f725964fde2af84ce2241ac8b04d034dd461206c17f54
  • Docs.zip SHA1: a7935d18ec5a04dd7a3e631483e31b6fbe6a8b1d
  • Docs.zip SHA512: 59a53ed8a83920afaf087ecd6edb39a6401d9c917a113ce0ea7ad05612a33f35f188e3673e50c7b068b614c6121461095b32a4385d9a838e8b6461274a9ac6d6

Have fun!

Most Liked

josevalim

josevalim

Creator of Elixir

There was a tiny regression on v1.9.3 where we were showing deprecation warnings for mix local.hex, which we were not supposed to, so v1.9.4 has been released with a fix.

15
Post #3
josevalim

josevalim

Creator of Elixir

The installation instructions are on the website: Installing Elixir - The Elixir programming language

However, depending on how you install it, such as Homebrew for Mac, they may not have updated their repositories with the latest yet. So you have to check and ask the responsible developers, send a PR, or wait if it is not available.

Some options, like the Windows installer, Compiling from source (and perhaps asdf) are always up to date.

klancaster

klancaster

Just used brew update and it did install 1.9.4

Where Next?

Popular in News Top

josevalim
Hi everyone, We are glad to announce that the second release candidate for Elixir v1.6.0 is out. Check out the CHANGELOG and give the r...
New
josevalim
Hello everyone, We have just released GenStage 0.10.0 with an important bug fix if you were using the BroadcastDispatcher with a selecto...
New
josevalim
It is a maintenance release, so nothing out of the ordinary. Please see the release notes for more information: Release v1.5.3 · elixir-...
New
josevalim
Elixir v1.5.0-rc.1 has been released. This is the second release candidate for the upcoming Elixir v1.5. It includes bug fixes, enhancem...
New
Elixir
Elixir v1.19 has been released including enhanced type checking, broader type inference, and up to 4x faster compilation for large projec...
New
Elixir
This release requires Erlang/OTP 24 and later. Elixir v1.15 is a smaller release with focused improvements on compilation and boot time...
New
Elixir
Type system improvements Type checking of protocol dispatch and implementations This release also adds type checking when dispatching and...
New
Elixir
Full announcement: Elixir v1.18 released: type checking of calls, LSP listeners, built-in JSON, and more - The Elixir programming languag...
New
josevalim
Hello everyone, I would like to propose the addition of the Registry project to Elixir: https://github.com/elixir-lang/registry The Re...
New
whatyouhide
Hello folks, I am super excited to finally share what I’ve been working on in the last few months: StreamData, an Elixir library for dat...
New

Other popular topics Top

aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 30877 112
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 52341 488
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
joaquinalcerro
Hi there, I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 records...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement