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
Popular in News
Hello folks,
There has been some doubts regarding StreamData and PropertyTesting in Elixir so we have decided to open up a thread to ans...
New
Hi everyone,
I am really happy to announce Plug v1.4.0-rc.0. It has many improvements and bug fixes:
Multipart support is now implemen...
New
This release includes type inference of patterns to provide warnings for an initial set of constructs (binaries, maps, and atoms) within ...
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
Hello everyone,
A vulnerability has been disclosed to Plug. All applications that set cookies based on user input is vulnerable. The vul...
New
Hello folks,
Elixir v1.4.0-rc.0 has been released. This is a release candidate for the upcoming Elixir v1.4.0.
The most notable changes...
New
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
Release: Release v1.11.0 · elixir-lang/elixir · GitHub
Over the last releases, the Elixir team has been focusing on the compiler, both i...
New
Release: Release v1.11.1 · elixir-lang/elixir · GitHub
1. Bug fixes
Elixir
[Code] Ignore tracers if lexical tracker is dead or explicit...
New
Note: this is a language proposal so please keep the discussion on topic. If you want to talk about related behaviour but not strictly pa...
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
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
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
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
Hi!
In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir?
Searched the docs for ip address and the web, no good results.
Thanks!
New
I am trying to run a deploy with docker and I successfully runned with this command:
docker build -t romenigld/blog-prod .
but when I t...
New
I had some trouble figuring out how to make many-to-many associations work. Once I got it working, I wrote a blog post. Because I’m a nov...
New
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
Hi!
Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New
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
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance








