Elixir

Elixir

Elixir Core Team

Elixir v1.9.3 released

Release: https://github.com/elixir-lang/elixir/releases/tag/v1.9.3

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: https://elixir-lang.org/install.html

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

RobertDober

RobertDober

asdf on Linux 1.9.4 ok too \o/

Where Next?

Popular in News Top

Elixir
Code snippets in diagnostics Elixir v1.15 introduced a new compiler diagnostic format and the ability to print multiple error diagnostics...
New
Elixir
Release: https://github.com/elixir-lang/elixir/releases/tag/v1.11.3 1. Enhancements Elixir [Macro] Add Macro.unique_var/2 and Macro.gen...
New
josevalim
See the release notes: https://github.com/elixir-ecto/ecto/releases/tag/2.2.0-rc.0 To try it in your projects: {:ecto, "~> 2.2.0-rc"...
New
Elixir
Release: https://github.com/elixir-lang/elixir/releases/tag/v1.9.0-rc.0 Releases The main feature in Elixir v1.9 is the addition of rele...
New
Elixir
1. Bug fixes Elixir [Code] Fix Code.quoted_to_algebra/2 for operator with :do key as operand [Kernel.ParallelCompiler] Do not crash para...
New
Elixir
Release: Release v1.12.3 · elixir-lang/elixir · GitHub 1. Bug fixes Elixir [Code] Make sure that bindings in the default context return...
New
josevalim
Elixir v1.14 brings many improvements to the debugging experience in Elixir and data-type inspection. It also includes a new abstraction...
New
Elixir
Announcement: Elixir v1.13 released - The Elixir programming language 1. Enhancements EEx [EEx] Add :parser_options to EEx functions E...
New
Elixir
Release: https://github.com/elixir-lang/elixir/releases/tag/v1.10.4 1. Bug fixes Elixir [Kernel] Fix a bug where custom types were prin...
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, enhance...
New

Other popular topics Top

srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35421 110
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
AstonJ
by Lance Halvorsen Elixir and Phoenix are generating tremendous excitement as an unbeatable platform for building modern web application...
460 27162 124
New

We're in Beta

About us Mission Statement