From efc8581e8322427e253fe0b362036333d2a4607fd8fe2b8b1ab24c6d1254431f Mon Sep 17 00:00:00 2001 From: Andrei Dziahel Date: Mon, 28 Jan 2019 11:39:22 +0000 Subject: [PATCH] Accepting request 669040 from home:gsantomaggio_suse:branches:devel:languages:erlang ----------------------- -------------------------------------------- - Elixir 1.8.0 * Elixir v1.8 comes with many improvements at the infrastructure level, improving compilation time, speeding up common patterns, and adding features around introspection of the system. See full changelog at https://github.com/elixir-lang/elixir/releases/tag/v1.8.0 * Enhancements EEx [EEx] Optimize the default template engine to compile and execute more efficiently Elixir [Calendar] Add Calendar.TimeZoneDatabase and a Calendar.UTCOnlyTimeZoneDatabase implementation [Calendar] Add callbacks day_of_year/3, quarter_of_year/3, year_of_era/1, and day_of_era/3 [Code.Formatter] Preserve user's choice of new line after most operators [Date] Add Date.day_of_year/1, Date.quarter_of_year/1, Date.year_of_era/1, and Date.day_of_era/1 [DateTime] Add DateTime.from_naive/3, DateTime.now/1, and DateTime.shift_zone/3 [File] Allow :raw option in File.exists?/2, File.regular?/2, and File.dir?/2 [File] Allow POSIX time as an integer in File.touch/2 and File.touch!/2 [Inspect] Allow Inspect protocol to be derivable with the :only/:except options [Kernel] Do not propagate counters to variables in quote inside another quote [Kernel] Warn on ambiguous use of :: and | in typespecs [Kernel] Add :delegate_to @doc metadata tag when using defdelegate [Kernel] Improve compile-time building of ranges via the .. operator [Kernel] Compile charlist interpolation more efficiently [Kernel] Add floor/1 and ceil/1 guards [Kernel.SpecialForms] Add :reduce option to for comprehensions [List] Add List.myers_difference/3 and List.improper?/1 [Macro] Add Macro.struct!/2 for proper struct resolution during compile time [Map] Optimize and merge nested maps put and merge operations [Range] Add Range.disjoint?/2 [Record] Reduce memory allocation when updating multiple fields in a record [Registry] Allow associating a value on :via tuple [String] Add String.bag_distance/2 [Task] Add $callers tracking to Task - this makes it easier to find which process spawned a task and use it for tracking ownership and monitoring ExUnit [ExUnit] Add ExUnit.after_suite/1 callback [ExUnit.Assertions] Show last N messages (instead of first N) from mailbox on assert_receive fail IEx [IEx.Helpers] Add port/1 and port/2 [IEx.Server] Expose IEx.Server.run/1 for custom IEx sessions with the ability to broker pry sessions Mix [Mix] Add Mix.target/0 and Mix.target/1 to control dependency management per target [Mix.Project] Add :depth and :parents options to deps_paths/1 [mix archive.install] Add a timeout when installing archives [mix compile] Include optional dependencies in :extra_applications [mix escript.install] Add a timeout when installing escripts [mix format] Warn when the same file may be formatted by multiple .formatter.exs [mix test] Allow setting the maximum number of failures via --max-failures [mix test] Print a message instead of raising on unmatched tests inside umbrella projects * Bug fixes Elixir [Calendar] Allow printing dates with more than 9999 years [Exception] Exclude deprecated functions in "did you mean?" hints [Float] Handle subnormal floats in Float.ratio/1 [Kernel] Remove Guard test tuple_size(...) can never succeed Dialyzer warning on try [Kernel] Expand operands in size*unit bitstring modifier instead of expecting size and unit to be literal integers [Kernel] Do not deadlock on circular struct dependencies in typespecs [Kernel] Raise proper error message when passing flags to the Erlang compiler that Elixir cannot handle [Kernel] Do not leak variables in cond clauses with a single matching at compile-time clause [NaiveDateTime] Do not accept leap seconds in builder and parsing functions [String] Fix ZWJ handling in Unicode grapheme clusters [StringIO] Handle non-printable args in StringIO gracefully IEx [IEx.Helpers] Use typespec info (instead of docs chunk) and properly format callbacks in b/1 Logger [Logger] Allow Logger backends to be dynamically removed when an application is shutting down Mix [mix compile] Ensure changes in deps propagate to all umbrella children - this fix a long standing issue where updating a dependency would not recompile all projects accordingly, requiring a complete removal of _build [mix compile] Avoid time drift when checking and updating compiler manifest files [mix compile.app] Respect the :only option between umbrella siblings [mix compile.protocols] Reconsolidate protocols if local dependencies are stale [mix deps] Properly mark dependencies with different :system_env as diverged [mix new] Use --module value when setting up filenames OBS-URL: https://build.opensuse.org/request/show/669040 OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/elixir?expand=0&rev=37 --- elixir-1.7.4.tar.gz | 3 -- elixir-1.8.0.tar.gz | 3 ++ elixir-doc.spec | 4 +-- elixir.changes | 76 +++++++++++++++++++++++++++++++++++++++++++++ elixir.spec | 6 ++-- 5 files changed, 84 insertions(+), 8 deletions(-) delete mode 100644 elixir-1.7.4.tar.gz create mode 100644 elixir-1.8.0.tar.gz diff --git a/elixir-1.7.4.tar.gz b/elixir-1.7.4.tar.gz deleted file mode 100644 index b95b9b1..0000000 --- a/elixir-1.7.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c7c87983e03a1dcf20078141a22355e88dadb26b53d3f3f98b9a9268687f9e20 -size 2139938 diff --git a/elixir-1.8.0.tar.gz b/elixir-1.8.0.tar.gz new file mode 100644 index 0000000..e03a79c --- /dev/null +++ b/elixir-1.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe896d8b2914f982d2e6fceeb585f59a8f92ad872653fc46c13df9ff86d69234 +size 2179052 diff --git a/elixir-doc.spec b/elixir-doc.spec index 7423dcf..e9340f3 100644 --- a/elixir-doc.spec +++ b/elixir-doc.spec @@ -1,7 +1,7 @@ # # spec file for package elixir-doc # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: elixir-doc -Version: 1.7.4 +Version: 1.8.0 Release: 0 Summary: Documentation for elixir License: Apache-2.0 diff --git a/elixir.changes b/elixir.changes index 4aaca84..2c3563b 100644 --- a/elixir.changes +++ b/elixir.changes @@ -1,3 +1,79 @@ +----------------------- -------------------------------------------- +Mon Jan 28 11:00:20 UTC 2019 - g.santomaggio@gmail.com + +- Elixir 1.8.0 + * Elixir v1.8 comes with many improvements at the infrastructure level, improving compilation time, + speeding up common patterns, and adding features around introspection of the system. + See full changelog at https://github.com/elixir-lang/elixir/releases/tag/v1.8.0 + * Enhancements + EEx + [EEx] Optimize the default template engine to compile and execute more efficiently + Elixir + [Calendar] Add Calendar.TimeZoneDatabase and a Calendar.UTCOnlyTimeZoneDatabase implementation + [Calendar] Add callbacks day_of_year/3, quarter_of_year/3, year_of_era/1, and day_of_era/3 + [Code.Formatter] Preserve user's choice of new line after most operators + [Date] Add Date.day_of_year/1, Date.quarter_of_year/1, Date.year_of_era/1, and Date.day_of_era/1 + [DateTime] Add DateTime.from_naive/3, DateTime.now/1, and DateTime.shift_zone/3 + [File] Allow :raw option in File.exists?/2, File.regular?/2, and File.dir?/2 + [File] Allow POSIX time as an integer in File.touch/2 and File.touch!/2 + [Inspect] Allow Inspect protocol to be derivable with the :only/:except options + [Kernel] Do not propagate counters to variables in quote inside another quote + [Kernel] Warn on ambiguous use of :: and | in typespecs + [Kernel] Add :delegate_to @doc metadata tag when using defdelegate + [Kernel] Improve compile-time building of ranges via the .. operator + [Kernel] Compile charlist interpolation more efficiently + [Kernel] Add floor/1 and ceil/1 guards + [Kernel.SpecialForms] Add :reduce option to for comprehensions + [List] Add List.myers_difference/3 and List.improper?/1 + [Macro] Add Macro.struct!/2 for proper struct resolution during compile time + [Map] Optimize and merge nested maps put and merge operations + [Range] Add Range.disjoint?/2 + [Record] Reduce memory allocation when updating multiple fields in a record + [Registry] Allow associating a value on :via tuple + [String] Add String.bag_distance/2 + [Task] Add $callers tracking to Task - this makes it easier to find which process spawned a task and use it for tracking ownership and monitoring + ExUnit + [ExUnit] Add ExUnit.after_suite/1 callback + [ExUnit.Assertions] Show last N messages (instead of first N) from mailbox on assert_receive fail + IEx + [IEx.Helpers] Add port/1 and port/2 + [IEx.Server] Expose IEx.Server.run/1 for custom IEx sessions with the ability to broker pry sessions + Mix + [Mix] Add Mix.target/0 and Mix.target/1 to control dependency management per target + [Mix.Project] Add :depth and :parents options to deps_paths/1 + [mix archive.install] Add a timeout when installing archives + [mix compile] Include optional dependencies in :extra_applications + [mix escript.install] Add a timeout when installing escripts + [mix format] Warn when the same file may be formatted by multiple .formatter.exs + [mix test] Allow setting the maximum number of failures via --max-failures + [mix test] Print a message instead of raising on unmatched tests inside umbrella projects + + * Bug fixes + Elixir + [Calendar] Allow printing dates with more than 9999 years + [Exception] Exclude deprecated functions in "did you mean?" hints + [Float] Handle subnormal floats in Float.ratio/1 + [Kernel] Remove Guard test tuple_size(...) can never succeed Dialyzer warning on try + [Kernel] Expand operands in size*unit bitstring modifier instead of expecting size and unit to be literal integers + [Kernel] Do not deadlock on circular struct dependencies in typespecs + [Kernel] Raise proper error message when passing flags to the Erlang compiler that Elixir cannot handle + [Kernel] Do not leak variables in cond clauses with a single matching at compile-time clause + [NaiveDateTime] Do not accept leap seconds in builder and parsing functions + [String] Fix ZWJ handling in Unicode grapheme clusters + [StringIO] Handle non-printable args in StringIO gracefully + IEx + [IEx.Helpers] Use typespec info (instead of docs chunk) and properly format callbacks in b/1 + Logger + [Logger] Allow Logger backends to be dynamically removed when an application is shutting down + Mix + [mix compile] Ensure changes in deps propagate to all umbrella children - this fix a long standing issue where updating a dependency would not recompile all projects accordingly, requiring a complete removal of _build + [mix compile] Avoid time drift when checking and updating compiler manifest files + [mix compile.app] Respect the :only option between umbrella siblings + [mix compile.protocols] Reconsolidate protocols if local dependencies are stale + [mix deps] Properly mark dependencies with different :system_env as diverged + [mix new] Use --module value when setting up filenames + + ------------------------------------------------------------------- Sun Dec 30 11:18:35 UTC 2018 - matwey.kornilov@gmail.com diff --git a/elixir.spec b/elixir.spec index 2823fa0..488b88c 100644 --- a/elixir.spec +++ b/elixir.spec @@ -1,7 +1,7 @@ # # spec file for package elixir # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: elixir -Version: 1.7.4 +Version: 1.8.0 Release: 0 Summary: Functional meta-programming aware language built atop Erlang License: Apache-2.0 @@ -30,7 +30,7 @@ BuildRequires: gcc BuildRequires: make # required by Mix.SCM.Git see also (https://github.com/elixir-lang/elixir/issues/1386) Requires: git >= 1.7 -BuildRequires: erlang >= 19 +BuildRequires: erlang >= 20 BuildRequires: erlang-dialyzer BuildRequires: erlang-src BuildRequires: git >= 1.7