josevalim

josevalim

Creator of Elixir

Hi everyone,

We have just released Elixir v1.8.0-rc.0. For more information, checkout the CHANGELOG.

Please give it a try and give us feedback. If everything “just works™”, please let us know that too. Your feedback is really important!

To try it out, you can either compile the v1.8 branch from source OR use the precompiled files, as described in our install page .

Happy holidays!

Showing Posts 1 to 10

Eiji

Eiji

@josevalim Awesome work especially that you released it today! I have just tried it and for now everything seems to work. I have only one question … Is it expected to work like that?

> DateTime.now("Etc/Universal")
{:error, :utc_only_time_zone_database}
> DateTime.now("Etc/Zulu")     
{:error, :utc_only_time_zone_database}
> DateTime.now("Etc/UTC")
{:ok, #DateTime<2018-12-24 15:15:00.471176Z>}

Maybe I do not get how it should work, but I though that all of those 3 names are correct for UTC

josevalim

josevalim OP

Creator of Elixir

To know that Etc/Zulu is a thing (or an alias to be more precise) we need a database and we don’t ship with a database by default, so we literally only know about Etc/UTC. TL;DR - that’s expected, yes.

sneako

sneako

How exciting! I have installed the rc and tried it with a few of my repos. All of my smaller repos just work™, but I have two larger projects that depend on cachex which fail to compile:

== Compilation error in file lib/cachex/spec/validator.ex ==
** (CompileError) lib/cachex/spec/validator.ex:36: invalid record specification, expected the record name to be an atom
    (elixir) lib/kernel/typespec.ex:875: Kernel.Typespec.compile_error/2
    (elixir) lib/enum.ex:1431: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
    (elixir) lib/enum.ex:1431: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
    (elixir) lib/kernel/typespec.ex:927: Kernel.Typespec.fn_args/5
    (elixir) lib/kernel/typespec.ex:913: Kernel.Typespec.fn_args/6
    (elixir) lib/kernel/typespec.ex:366: Kernel.Typespec.translate_spec/8
    (elixir) lib/enum.ex:1431: Enum."-map_reduce/3-lists^mapfoldl/2-0-"/3
    (elixir) lib/kernel/typespec.ex:223: Kernel.Typespec.translate_typespecs_for_module/2

https://github.com/whitfin/cachex/blob/master/lib/cachex/spec/validator.ex#L36

josevalim

josevalim OP

Creator of Elixir

@sneako that’s definitely a bug. Can you please fill in a report? Thank you!

frigidcode

frigidcode

Congrats! Looking forward to testing it out.

Edit: Used asdf list-all elixir to find the proper version to use.

sneako

sneako

You can build it with asdf straight from github using ref: like asdf install elixir ref:v1.8.0-rc.0

Eiji

Eiji

No need, just update plugin and use asdf install elixir 1.8.0-rc.0-otp-21 :077:

kip

kip

ex_cldr Core Team

Compiled and tested ex_cldr and other derived packages with no issues at all, and compilation did indeed feel faster. Thanks for yet another solid release.

Can’t wait to get my new Cldr.Calendars package out the door based upon the new Calendar behaviour additions. It will also support serving configuration to the new formatter as well.

dom

dom

I can see that for supports a new :reduce argument, but it’s not mentioned in the master branch doc:

https://hexdocs.pm/elixir/master/Kernel.SpecialForms.html#for/1

Should I look somewhere else for the doc?

josevalim

josevalim OP

Creator of Elixir

It seems our automated tools stopped updating the docs, we will investigate, thank you!

Where Next? Top

Trending in News Top

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
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 &amp; 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

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews