Elixir
Elixir Core Team
Elixir v1.16.0-rc.1 released
1. Enhancements
Elixir
- [Code] Add
:emit_warningsforCode.string_to_quoted/2 - [File] Add
:offsetoption toFile.stream!/2 - [Kernel] Auto infer size of matched variable in bitstrings
- [Kernel] Preserve column information when translating typespecs
- [String] Add
String.replace_invalid/2
Logger
- [Logger] Add
Logger.levels/0
Mix
- [mix archive.install] Support
--sparseoption - [mix compile.app] Warn if both
:applicationsand:extra_applicationsare used - [mix compile.elixir] Pass original exception down to diagnostic
:detailswhen possible - [mix deps.clean] Emit a warning instead of crashing when a dependency cannot be removed
- [mix escript.install] Support
--sparseoption - [mix release] Include
include/directory in releases
2. Bug fixes
Elixir
- [Code] Keep quotes for atom keys in formatter
- [Macro] Address exception on
Macro.to_string/1for certain ASTs - [Module] Make sure file and position information is included in several module warnings (regression)
- [Path] Lazily evaluate
File.cwd!/0inPath.expand/1andPath.absname/1
IEx
- [IEx.Pry] Fix prying functions with only literals in their body
Mix
- [mix archive.install] Restore code paths after archive.install
- [mix escript.install] Restore code paths after escript.install
Most Liked
sabiwara
Elixir Core Team
Small precision: it works with the <> shorthand too (used to raise an ArgumentError):
var = "foo"
^var <> rest = "foobar"
17
christhekeele
Looks like Enum.random got a cool speedup too, I enjoyed learning more about this technique: Implement Algorithm L for Reservoir Sampling in Enum · elixir-lang/elixir@8e9cbfc · GitHub
9
LostKobrakai
This will be really nice the next time I need that ![]()
7
LostKobrakai
Within the context of a binary pattern, yes: Automatically compute size for <<^var::binary>> · Issue #13089 · elixir-lang/elixir · GitHub
3
Popular in News
1. Enhancements
Elixir
[CLI] Add --color/--no-color for enabling and disabling of ANSI colors
[Code.Fragment] Provide more AST context w...
New
Release: Release v1.13.1 · elixir-lang/elixir · GitHub
1. Bug fixes
Elixir
[Code] Do not show code snippets in SyntaxError and TokenMis...
New
Hello everyone,
Two vulnerabilities have been disclosed to Plug. Applications that provide file uploading functionality to a local file...
New
1. Enhancements
Elixir
[Regex] Raise error message when regexes are used as default values in struct fields for compatibility with Erlan...
New
It is a maintenance release, so nothing out of the ordinary.
Please see the release notes for more information: https://github.com/elix...
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
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
A few months back we announced on the forum that we are adding support for private packages to Hex, today we are out of beta and going li...
New
Release: https://github.com/elixir-lang/elixir/releases/tag/v1.10.0
Support for Erlang/OTP 21+
Elixir v1.10 requires Erlang/OTP 21+, all...
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
Other popular topics
Manning 2016 Halloween weekend sale via Deal of the Day
Friday, October 28 - Half off all MEAPs - code WM102816LT
Saturday, October 29 ...
New
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
In Ruby, I can go:
User.find_by(email: "foobar@email.com").update(email: "hello@email.com")
How can I do something similar in Elixir? ...
New
Good day to you all.
I have been struggling to get a query involving like and ilike to work.
Can anyone assist me on this, please?
pro...
New
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode.
The solution seems to be, in a hyphena...
New
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service.
Currently when I de...
New
What is most correct way to open, read and parse JSON file with poison?
For example if we have example.json file in root of some projec...
New
Original source of discussion: This topic on the Pragmatic Programmers' Functional Web Development with Elixir, OTP, and Phoenix forum.
...
New
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
New
Hi everyone!
I need implement if…else if…else condition from my elixir code, and anymore of this control flow structures not work proper...
New







