Elixir
Elixir v1.10.4 released
Release: Release v1.10.4 · elixir-lang/elixir · GitHub
1. Bug fixes
Elixir
- [Kernel] Fix a bug where custom types were printed as built-in types
- [Kernel] Don’t add compile-time dependency on
defdelegate - [Kernel] Add line numbers to warnings on deprecated imports
- [Kernel] Report the correct line number when raising inside a macro
- [Task] Include callers in translated Logger metadata for Task
- [Task] Fix Task PID and caller in Task Supervisor reports
ExUnit
- [ExUnit.Formatter] Avoid crashes when diffing guards when the pattern does not match
- [ExUnit.Formatter] Also blame exceptions that come from linked and trapped exits
IEx
- [IEx.Helpers] Do not crash when printing a type that cannot be code formatted
Mix
- [mix app.start] Fix reading
.appfile located in archives (.ezfiles) - [mix local.hex] Provide more guidance when Hex can’t be installed
- [mix release] Properly encode config in releases
Checksums
- Precompiled.zip SHA1: 5b400c829c4f239ac89a7eb97aac642b961f38fd
- Precompiled.zip SHA512: 9727ae96d187d8b64e471ff0bb5694fcd1009cdcfd8b91a6b78b7542bb71fca59869d8440bb66a2523a6fec025f1d23394e7578674b942274c52b44e19ba2d43
- Docs.zip SHA1: 178f08724c63496878b6e427467f650f03cd978c
- Docs.zip SHA512: cefaf0371a9751d37d6d1181f910a23d6cc627f7b77fe7fa1b303a9b4769d1fb2a9bbeea54566109fa5acf8e0455a5a44cb3ac9ccb9e968d92610b869d15d27c
Have fun!
Most Liked
Eiji
At start make sure that asdf current erlang is set to 23.x and then use this command: asdf install elixir ref:v1.10.4. It would compile from source, but in Elixir case is not a really big problem since it does not take much time to compile.
v1.10.4 is Elixir git tag attached to specific commit, you can also use branch name like master (which is automaticcally attached to latest commit in specific branch) or even specify any commit reference (for example to check some PR).
tme_317
I think the issue is here in the mapping of OTP versions and Elixir precompiled builds in the Bob builder: bob/lib/bob/job/build_elixir.ex at acd0d66213066e9b42f318b0da0818c01bb11c34 · hexpm/bob · GitHub
That said I thought I remember an earlier Elixir 1.10.x which was incompatible with OTP-23 and don’t know enough about that to make a simple PR.
Eiji
@josevalim described it here:
Therefore, Elixir v1.11 will be released in October 2020. If there are any important bug fixes, we will continue releasing patch versions for Elixir v1.10. On that note, the latest Elixir v1.10.3 is already compatible with Erlang/OTP 23.
So we have a problem with missing correct clasule for reference v1.10.4 which means it fallbacks to "v1.10." <> _ which then specifies such otp releases: ["21.3", "22.3"].
@josevalim I would like to suggest using Version.compare/2 which should reduce code. Just for example instead of:
def elixir_to_otp(ref) do
case ref do
"v0" <> _ -> ["17.3"]
"v1.0.0-" <> _ -> ["17.3"]
"v1.0.0" -> ["17.3"]
"v1.0.1" -> ["17.3"]
"v1.0.2" -> ["17.3"]
"v1.0.3" -> ["17.3"]
# …
we could just write code like this one:
def elixir_to_otp("v" <> version) do
cond do
Version.compare(version, "1.0.4") == :lt -> ["17.3"]
# …
Popular in News
Other popular topics
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
- #javascript
- #code-sync
- #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









