{"id":8009,"date":"2018-11-16T10:32:30","date_gmt":"2018-11-16T12:32:30","guid":{"rendered":"http:\/\/blog.plataformatec.com.br\/?p=8009"},"modified":"2018-11-17T07:09:18","modified_gmt":"2018-11-17T09:09:18","slug":"whats-new-in-elixir-nov-18","status":"publish","type":"post","link":"http:\/\/blog.plataformatec.com.br\/2018\/11\/whats-new-in-elixir-nov-18\/","title":{"rendered":"What’s new in Elixir – Nov\/18"},"content":{"rendered":"
Hi everyone!<\/p>\n
We are back with another edition of “What’s new in Elixir”. This time we are working towards Elixir v1.8 which should be out next January. Here are some highlights of what have already made to master:<\/p>\n
mix test<\/code> now supports the --max-failures<\/code> flag (commit<\/a>)<\/p>\n<\/li>\n- \n
The Inspect<\/code> protocol can now be easily derivable and this is a great mechanism to exclude some fields during inspection and logs, especially security-related ones (commit<\/a>)<\/p>\n<\/li>\n- \n
Mix now automatically starts optional dependencies when using the :extra_applications<\/code> configuration (commit<\/a>)<\/p>\n<\/li>\n- \n
We finally have official support for time zone databases in Elixir. Elixir still handles only UTC by default but you can bring another database to use the DateTime<\/code> API with other time zones (commit<\/a>)<\/p>\n<\/li>\n- \n
There are many other small additions, such as List.myers_difference\/3<\/code><\/a> and String.bag_distance\/2<\/code><\/a> which were extracted from the Elixir codebase itself<\/p>\n<\/li>\n<\/ul>\nFor the complete list of changes, see the CHANGELOG<\/a>. To keep track of upcoming changes and even contribute some features yourself, head to Elixir\u2019s issues tracker<\/a>.<\/p>\n<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"Hi everyone! We are back with another edition of “What’s new in Elixir”. This time we are working towards Elixir v1.8 which should be out next January. Here are some highlights of what have already made to master: mix test now supports the –max-failures flag (commit) The Inspect protocol can now be easily derivable and … \u00bb<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[1],"tags":[143],"aioseo_notices":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts\/8009"}],"collection":[{"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/comments?post=8009"}],"version-history":[{"count":5,"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts\/8009\/revisions"}],"predecessor-version":[{"id":8017,"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts\/8009\/revisions\/8017"}],"wp:attachment":[{"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/media?parent=8009"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/categories?post=8009"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/tags?post=8009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}