josevalim

josevalim

Creator of Elixir

Elixir v1.13.3 released

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

1. Enhancements

Mix

  • [mix format] Supply file and line to formatter plugins
  • [mix format] Support embedded Elixir expressions inside formatter plugins

2. Bug fixes

Elixir

  • [Code] Fix duplicate bindings causing errors during evaluation
  • [Kernel] Make sure signatures stored in the Documentation chunk does not contain newlines
  • [Kernel] Fix infinite loop when compiling guards with recursive map access
  • [Macro] Fix error on Macro.to_string/1 when the plain alias Elixir is given
  • [String] Fix error for certain codepoint combinations in String.split_at/2

Mix

  • [mix compile] Recompile project files when exports from dependencies change
  • [mix test] Fix total coverage always showing in red even when above the threshold

Checksums

  • Precompiled.zip SHA1: 7a2d0ff13beadcba3f566d692d960dcd785df5c8
  • Precompiled.zip SHA512: 93132c03a16479cfd48c509e2c5ee145b9062d77d528ac2eaeae460f4349f138286f14d34a1ee884e6c76081fe1bf52d27788b944ef06feaa40c07bec41a0a27
  • Docs.zip SHA1: e1110f7a791483a09914ab364ea283cf890f3157
  • Docs.zip SHA512: c477ba1bf10dd009f3c295e1c70f5272b7df3525edbd3f9ee0ae71eef49933c7a19a264cb9fa7eae4fa82d9c393c59e0f2e39b99b16b7ca6cd413f1c7d96d9a2

Most Liked

sergio

sergio

Thank you Jose and team! We are running 1.13.3 on prod now and all good on our end. We love Elixir, crazy I been using it since 2016 over a stranger on reddit just giving away a ticket to Orlando’s elixirconf. He radically changed my life and he probably doesn’t even know it. :smiley:

muelthe

muelthe

Thank you :slight_smile:

cvkmohan

cvkmohan

I am using VS Code and for elixir support I am using elixir-lsp/vscode-elixir-ls: (github.com) and under the hood vscode-elixir-ls (github.com) is used.
So, the regular elixir code was getting formatted on save, if we set editor.formatOnSave=true in the VS Code settings. Even after the release of elixir 1.13, the sigils and the heex files are not getting formatted. I have asked in the vscode-elixir-ls repository How does this format the file? · Discussion #224 · elixir-lsp/vscode-elixir-ls (github.com) a question regarding this. @axelson has been very receptive and responded back. An issue Feature Request: Support mix format plugins · Issue #660 · elixir-lsp/elixir-ls (github.com) to this effect has been created as well. The main issue of contention has been elixir-ls does not use mix format but uses its own function.
However, with the release of elixir 1.13.3 suddenly, the formatting in the ~H sigil started working in all *.ex files.
I think the reason heex files are not getting formatted because they are not associated with elixir-ls extension. If they are, most likely, they also will be getting automatically formatted.
I do think not just vs-code, all the editors elixir-lsp/elixir-ls: (github.com) listed here should get the benefit of automatic formatting.

cvkmohan

cvkmohan

Oh! What a pleasure it is to watch the ugly HTML snippets written inside the ~H sigil to be formatted on save in VS Code. Thanks a lot @josevalim .
One question though. html.heex files are not getting formatted automatically. I am running mix format still. Is it file association the issue? Should I be adding heex files also to be elixir files now?

Where Next?

Popular in News Top

Elixir
1. Enhancements Elixir [Kernel] Raise when U+2028 and U+2029 characters are present in comments and strings to avoid line spoofing attac...
New
Elixir
1. Enhancements Elixir [Regex] Raise error message when regexes are used as default values in struct fields for compatibility with Erlan...
New
josevalim
ExDoc v0.29 is out with a new amazing feature: cheatsheets! Alongside guides and API reference, cheatsheets are another option for Elixi...
New
josevalim
This is a small release with important bug fixes for those using Cover and Dialyzer on Erlang 19. See the release notes for more info: ...
New
Elixir
Release: https://github.com/elixir-lang/elixir/releases/tag/v1.9.3 This release deprecates the use of URLs on mix archive.install, mix e...
New
Elixir
1. Enhancements [Code] Code.string_to_quoted/2 honors :static_atoms_encoder for multi-letter sigils 2. Bug fixes ExUnit [ExUnit.Captur...
New
jola
Hey everyone! It’s my enormous pleasure to present Hex Diff, an official hex.pm service for generating web-based diffs between package ve...
New
Elixir
Type system improvements Type checking of protocol dispatch and implementations This release also adds type checking when dispatching and...
New
josevalim
Hello everyone, I would like to propose the addition of the Registry project to Elixir: https://github.com/elixir-lang/registry The...
New
josevalim
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 Top

peerreynders
Manning 2016 Halloween weekend sale via Deal of the Day Friday, October 28 - Half off all MEAPs - code WM102816LT Saturday, October 29 ...
326 29600 154
New
William
I would like to know that is there any online source for learning Phoenix Framework for building E-Commerce Store? Any advantage on build...
New
openscript
Hello! Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
Harrisonl
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
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
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
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New

We're in Beta

About us Mission Statement