josevalim

josevalim

Creator of Elixir

Elixir v1.5.0-rc.0 has been released.

This is a release candidate for the upcoming Elixir v1.5. It includes bug fixes, enhancements and it integrates many new features that are part of OTP 20+.

Here is the prerelease page with CHANGELOG: Release v1.5.0-rc.0 · elixir-lang/elixir · GitHub

Since it is a release candidate, please report any breaking changes you may find. To run this version, you can either compile from source or use the precompiled packages in the link above. If you need help to compile from source or use the precompiled packages, check our Install page.

Happy coding!

Showing Posts 1 to 10

belaustegui

belaustegui

Can not wait to use the Calendar improvements. Thanks!! :raising_hands:

@josevalim in the ElixirConfEU you talked in your keynote about two interesting features: a Language Server implementation and a kind of Quickcheck support in tests. Are those features to be expected in future versions of the language? Or should we expect them to be developed as separated packages?

whatyouhide

whatyouhide

Elixir Core Team

We will see how things evolve. Property testing (which remember, is for data only for now, not for state machines stuff like Quviq’s QuickCheck) might land in ExUnit in future versions of Elixir. The language Server Protocol implementation is likely to remain a separate package. We’ll see how it goes :slight_smile:

belaustegui

belaustegui

Wonderful! Thank you @whatyouhide :slight_smile:

svarlet

svarlet

I just checked the changelog and I’m a bit surprised by this one:

[Enum] Deprecate Enum.filter_map/3 in favor of Enum.filter/2 + Enum.map/2 or for-comprehensions

I assume that we would now have to filter |> map instead ? If this produces the same result it does not have the same algorithmic complexity. Why is it now deprecated?

Eiji

Eiji

@josevalim: I just updated:

  1. asdf
  2. asdf plugins: elixir and erlang
  3. erlang to 20.0
  4. elixir to 1.5.0-rc.0

and I have a problem:
I tried example call from changelog: Access.fetch(:foo, :bar), but result surprised me. I don’t see part about available function clauses.

Erlang/OTP 20 [erts-9.0] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false]

Interactive Elixir (1.5.0-rc.0) - press Ctrl+C to exit (type h() ENTER for help)
iex> Access.fetch(:foo, :bar)
** (FunctionClauseError) no function clause matching in Access.fetch/2    
    
    The following arguments were given to Access.fetch/2:
    
        # 1
        :foo
    
        # 2
        :bar
    
    (elixir) lib/access.ex:261: Access.fetch/2

I also want to ask same question as @svarlet.

kip

kip

ex_cldr Core Team

Congratulations José and thank you.

On of my packages, ex_cldr, I’m seeing compilation and test times improve significantly - about twice the speed. This monster generates and runs over 12,000 tests so it makes a big difference!

svilen

svilen

Author of Concurrent Data Processing in Elixir

Looking forward to the new Date functions, as well as the async_stream timeout option :thumbsup: Although it’s sad to see the filter_map function go…

Only thing that worries me, though:

[Calendar] Limit Calendar.ISO up to year 10000

I’d put a TODO note for future developers to revise that in a few thousand years — we don’t want to cause a bug that could bring down the life support systems in planets across the galaxy… :stuck_out_tongue_closed_eyes:

michalmuskala

michalmuskala

This is a tricky one. Exception.blame/3 works only on modules compiled on OTP 20. Most package managers use the precompiled Elixir which is compiled on the lowest supported release - currently OTP 18. This means when you use precompiled Elixir, you won’t get nice diffing from stdlib modules (but you would in your own modules or packages since you compile them every time).

This is understandably inconvenient. Hopefully, there will be a solution before the final release.

tmbb

tmbb

Dude, everyone knows those systems will run nodejs… Node.js Is Bad Ass Rock Star Tech (Note: Despite what’s said in the video, Christopher Colombus did not discover that the world was round, everyone already knew that since like forever).

michalmuskala

michalmuskala

This limit was introduced to guard against a common error of a wrong unit - for example passing the number of nanoseconds, where milliseconds were expected.

Where Next? Top

Trending in News Top

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews