@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?
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.
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
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.
Tested 1.8.0-rc.0 on the test suites of horde and delta_crdt, and everything works as expected .
I did notice that asdf install elixir 1.8.0-rc.0 didn’t work (even though 1.8.0-rc.0 is what you see if you do asdf list-all elixir), I had to use asdf install elixir 1.8.0-rc.0-otp-21 per @Eiji’s instructions.