Elixir
Elixir Core Team
Elixir v1.17.2 released
1. Bug fixes
Logger
- [Logger.Translator] Fix logger crash when
:gen_statem’sformat_status/2returns non-tuple
Mix
- [mix deps.get] Fix regression when fetching a git repository with a
:ref - [mix release] Validate
RELEASE_MODEand set ERRORLEVEL on.batscripts - [mix release] Fix invalid example in code comment inside the generated vm.args.eex
Most Liked
rhcarvalho
I’m sorry it took me some time to understand what the regression was.
Here’s a PR: Fetch all refs unless using Git :depth option by rhcarvalho · Pull Request #13713 · elixir-lang/elixir · GitHub, I think we can move the conversation there.
Thanks, @josevalim ![]()
2
josevalim
Creator of Elixir
Fetch a :ref was not working at all and, once I addressed the :ref bug, I could not make it work together with :ref. If you can figure it out, a PR is welcome. ![]()
1
rhcarvalho
Short ref (error) and full ref (ok):
root@214431fdf2a5:/app# iex
Erlang/OTP 27 [erts-15.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]
Interactive Elixir (1.17.1) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> Mix.install [{:flame, github: "phoenixframework/flame", ref: "4600277"}]
* Getting flame (https://github.com/phoenixframework/flame.git - 4600277)
fatal: couldn't find remote ref 4600277
** (Mix.Error) Command "git --git-dir=.git fetch --force --quiet --progress origin 4600277" failed
(mix 1.17.1) lib/mix.ex:588: Mix.raise/2
(mix 1.17.1) lib/mix/scm/git.ex:136: Mix.SCM.Git.checkout/2
(elixir 1.17.1) lib/file.ex:1665: File.cd!/2
(mix 1.17.1) lib/mix/dep/fetcher.ex:64: Mix.Dep.Fetcher.do_fetch/3
(mix 1.17.1) lib/mix/dep/converger.ex:238: Mix.Dep.Converger.all/9
(mix 1.17.1) lib/mix/dep/converger.ex:170: Mix.Dep.Converger.init_all/8
(mix 1.17.1) lib/mix/dep/converger.ex:110: Mix.Dep.Converger.all/4
iex:1: (file)
iex(1)> Mix.install [{:flame, github: "phoenixframework/flame", ref: "46002774775fa5be947a970d7ff5aeefc0dd6707"}]
* Getting flame (https://github.com/phoenixframework/flame.git - 46002774775fa5be947a970d7ff5aeefc0dd6707)
remote: Enumerating objects: 767, done.
remote: Counting objects: 100% (257/257), done.
remote: Compressing objects: 100% (90/90), done.
remote: Total 767 (delta 206), reused 181 (delta 164), pack-reused 510
...
==> flame
Compiling 13 files (.ex)
Generated flame app
:ok
With full ref and depth:
root@214431fdf2a5:/app# iex
Erlang/OTP 27 [erts-15.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]
Interactive Elixir (1.17.1) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)> Mix.install [{:flame, github: "phoenixframework/flame", ref: "46002774775fa5be947a970d7ff5aeefc0dd6707", depth: 1}]
* Getting flame (https://github.com/phoenixframework/flame.git - 46002774775fa5be947a970d7ff5aeefc0dd6707)
remote: Enumerating objects: 38, done.
remote: Counting objects: 100% (38/38), done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 38 (delta 0), reused 17 (delta 0), pack-reused 0
Resolving Hex dependencies...
Resolution completed in 0.053s
...
==> flame
Compiling 13 files (.ex)
Generated flame app
:ok
1
Popular in News
Release: https://github.com/elixir-lang/elixir/releases/tag/v1.11.2
1. Bug fixes
Elixir
[Code] Do not crash when getting docs for missi...
New
Elixir v1.18 is an impressive release with improvements across the two main efforts happening within the Elixir ecosystem right now: set-...
New
Hi everyone,
We have just released v1.7.0-rc.0.
The CHANGELOG and precompiled files are here: https://github.com/elixir-lang/elixir/rel...
New
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
Release: Release v1.12.0-rc.1 · elixir-lang/elixir · GitHub
1. Enhancements
Elixir
[Code] Add Code.cursor_context/2 to return the conte...
New
1. Enhancements
Mix
[mix compile.elixir] Do not run fixpoint computation on runtime dependencies. This should considerably improve compi...
New
1. Enhancements
Elixir
[Code] Emit :defmodule tracing event on module definition
Mix
[Mix] Add Mix.install_project_dir/0
[Mix] Add env...
New
1. Enhancements
Elixir
[Duration] Add Duration.to_iso8601/1 and Duration.from_iso8601/1
[Keyword] Add Keyword.intersect/2-3 to mirror th...
New
Official announcement: Elixir v1.12 released - The Elixir programming language
Elixir v1.12 is out with improvements to scripting, tight...
New
Hi! :wave:
I hope everyone is well!
The Elixir team releases new versions every 6 months, typically every January and July. However, si...
New
Other popular topics
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1]
15:22:35.803 [error] gen_event {lager_file_backend...
New
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
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
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
What is the idiomatic way of matching for not nil in Elixir?
E.g.,
First way:
defp halt_if_not_signed_in(conn, signed_in_account) when...
New
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
i’m a new one to elixir
which editor can i use
vs code? or atom?
Thanks! :smiley:
New
I have a User schema with a :from_id field set to type :string:
defmodule TweetBot.Repo.Migrations.CreateUsers do
use Ecto.Migration
...
New
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New







