Accepting request 1058361 from home:fabriziosestito:branches:devel:languages:erlang

Reformat changelog
Requires and buildrequires bumped to >=23

OBS-URL: https://build.opensuse.org/request/show/1058361
OBS-URL: https://build.opensuse.org/package/show/devel:languages:erlang/elixir?expand=0&rev=82
This commit is contained in:
Matwey Kornilov 2023-01-14 13:52:22 +00:00 committed by Git OBS Bridge
parent 5acc0622aa
commit 5935bb6fbe
5 changed files with 890 additions and 767 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ac129e266a1e04cdc389551843ec3dbdf36086bb2174d3d7e7936e820735003b
size 3067581

3
elixir-1.14.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3f79e384706495725119f60982fa16ea82d510c3fbeacfc6ee1a77c792bf152a
size 3085613

View File

@ -1,7 +1,7 @@
# #
# spec file for package elixir-doc # spec file for package elixir-doc
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: elixir-doc Name: elixir-doc
Version: 1.14.0 Version: 1.14.2
Release: 0 Release: 0
Summary: Documentation for elixir Summary: Documentation for elixir
License: Apache-2.0 License: Apache-2.0

View File

@ -1,3 +1,72 @@
-------------------------------------------------------------------
Tue Jan 10 11:50:09 UTC 2023 - Fabrizio Sestito <fabrizio.sestito@suse.com>
- Elixir 1.14.2
* 1. Enhancements
Elixir
[Code] Add Code.eval_quoted_with_env/4 with support for the :prune_binding option
ExUnit
[ExUnit.Case] Allow test cases to not be registered on use
[ExUnit.DocTest] Include :doctest and :doctest_line as meta tags
[ExUnit.Formatter] Expose ExUnit.Formatter.format_assertion_diff/4
Mix
[Mix] Mix.install/2 accepts atoms as paths
* 2. Bug fixes
Elixir
[Code.Formatter] Fix size*unit shortcut in bitstring
[Kernel] Generate unique variables for macro expansion of defguard
[Protocol] Expand :for in protocols with the appropriate env
ExUnit
[ExUnit] Do not run duplicate cases on ExUnit.run/1
Mix
[mix test] Ensure proper error message when there is no test directory
- Elixir 1.14.1
* 1. Enhancements
Elixir
[Kernel] Perform partial expansion of literals in module attributes
[Kernel] Do not add compile-time dependencies for literals as defaults in Application.compile_env/3 inside module attributes
[Macro] Add Macro.expand_literals/2 and Macro.expand_literals/3
[System] Add :close_stdin to System.shell/2
Mix
[mix test] Accept --all-warnings option
* 2. Bug fixes
Elixir
[Kernel] Fix misleading warning when :uniq is given in for comprehensions and the result is unused
[Kernel] Improve error message for when there is a conflicting struct and ignoring module conflict
[Kernel] Do not delete @enforce_keys attribute after defstruct declaration
[Kernel] Do not crash the checker on modules with missing :debug_info chunk
[Macro] Fix error in Macro.to_string/2 when converting an AST with :erlang.binary_to_atom/2
[String] Fix String.split/3 and String.next_grapheme/1 returning invalid results on invalid UTF-8 encoding
[System] Do not close stdin by default in System.shell/2
[URI] Do not return uri.port as :undefined in certain cases in URI.new/1
ExUnit
[ExUnit.DocTest] Do not crash when both :moduledoc and functions are specified in :only
IEx
[CLI] Fix invalid argument handling when --no-pry is given
Mix
[mix format] Do not cache inputs from .formatter.exs so they are properly re-evaluted on every call
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 7 06:38:23 UTC 2022 - Fabrizio Sestito <fabrizio.sestito@suse.com> Wed Sep 7 06:38:23 UTC 2022 - Fabrizio Sestito <fabrizio.sestito@suse.com>
@ -210,7 +279,6 @@ Sat Apr 9 11:16:39 UTC 2022 - Fabrizio Sestito <fabrizio.sestito@suse.com>
[mix rebar] Deprecate Rebar 2 as it no longer works on Erlang/OTP 25 [mix rebar] Deprecate Rebar 2 as it no longer works on Erlang/OTP 25
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 22 20:01:32 UTC 2022 - Fabrizio Sestito <fabrizio.sestito@suse.com> Tue Feb 22 20:01:32 UTC 2022 - Fabrizio Sestito <fabrizio.sestito@suse.com>
@ -235,7 +303,6 @@ Tue Feb 22 20:01:32 UTC 2022 - Fabrizio Sestito <fabrizio.sestito@suse.com>
[mix compile] Recompile project files when exports from dependencies change [mix compile] Recompile project files when exports from dependencies change
[mix test] Fix total coverage always showing in red even when above the threshold [mix test] Fix total coverage always showing in red even when above the threshold
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 14 15:23:32 UTC 2022 - Fabrizio Sestito <fabrizio.sestito@suse.com> Fri Jan 14 15:23:32 UTC 2022 - Fabrizio Sestito <fabrizio.sestito@suse.com>
@ -257,14 +324,13 @@ Fri Jan 14 15:23:32 UTC 2022 - Fabrizio Sestito <fabrizio.sestito@suse.com>
[Map] Deprecate the recently added Map.map/2 as it is equivalent to Map.new/2 [Map] Deprecate the recently added Map.map/2 as it is equivalent to Map.new/2
[Protocol] Warn on zero arity callbacks inside protocols [Protocol] Warn on zero arity callbacks inside protocols
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 6 19:50:32 UTC 2022 - Sven Marquardt <dev@mail.smarquardt.space> Thu Jan 6 19:50:32 UTC 2022 - Sven Marquardt <dev@mail.smarquardt.space>
- Elixir 1.13.1 - Elixir 1.13.1
* 1. Bug fixes * 1. Bug fixes
Elixir Elixir
[Code] Do not show code snippets in `SyntaxError` and `TokenMissingError` if line is empty [Code] Do not show code snippets in `SyntaxError` and `TokenMissingError` if line is empty
[Exception] Do not fail blaming `ArgumentError` for improper lists on `apply/3` [Exception] Do not fail blaming `ArgumentError` for improper lists on `apply/3`
[Macro] Set a max `line_length` for `Macro.to_string/1` [Macro] Set a max `line_length` for `Macro.to_string/1`
@ -275,21 +341,24 @@ Thu Jan 6 19:50:32 UTC 2022 - Sven Marquardt <dev@mail.smarquardt.space>
[URI] Make sure `URI.new/1` returns nil for empty paths [URI] Make sure `URI.new/1` returns nil for empty paths
IEx IEx
[IEx] Make sure the `--version` flag halts IEx [IEx] Make sure the `--version` flag halts IEx
Mix Mix
[Mix] Make protocol consolidation part of the `Mix.install/2` cache
[Mix] Make protocol consolidation part of the `Mix.install/2` cache
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 6 18:45:51 UTC 2022 - Sven Marquardt <dev@mail.smarquardt.space> Thu Jan 6 18:45:51 UTC 2022 - Sven Marquardt <dev@mail.smarquardt.space>
- Elixir 1.13.0 - Elixir 1.13.0
* Enhancements * Enhancements
EEx EEx
[EEx] Add `:parser_options` to EEx functions [EEx] Add `:parser_options` to EEx functions
Elixir Elixir
[Calendar] Add `c:Calendar.year_of_era/3` to support calendars where the beginning of a new era does not align with [Calendar] Add `c:Calendar.year_of_era/3` to support calendars where the beginning of a new era does not align with
the beginning of a new year the beginning of a new year
[CLI] Support `--short-version` on the CLI that does not boot the VM [CLI] Support `--short-version` on the CLI that does not boot the VM
@ -376,10 +445,12 @@ Thu Jan 6 18:45:51 UTC 2022 - Sven Marquardt <dev@mail.smarquardt.space>
* 2. Bug fixes * 2. Bug fixes
EEx EEx
[EEx] Accept comments in EEx between do and the first clause [EEx] Accept comments in EEx between do and the first clause
[EEx] Accept EEx expressions where `->` is followed by newline [EEx] Accept EEx expressions where `->` is followed by newline
Elixir Elixir
[Application] Allow any expression as first argument of `compile_env` [Application] Allow any expression as first argument of `compile_env`
[Application] Warn if `Application.compile_env` or `Application.compile_env!` are called without a require [Application] Warn if `Application.compile_env` or `Application.compile_env!` are called without a require
[Code] Make sure `:static_atoms_encoder` in `Code.string_to_quoted/2` also applies to quoted keyword keys [Code] Make sure `:static_atoms_encoder` in `Code.string_to_quoted/2` also applies to quoted keyword keys
@ -406,18 +477,22 @@ Thu Jan 6 18:45:51 UTC 2022 - Sven Marquardt <dev@mail.smarquardt.space>
[Version] Ensure proper precedence of `and`/`or` in version requirements [Version] Ensure proper precedence of `and`/`or` in version requirements
ExUnit ExUnit
[ExUnit] Fix formatter and counters from `ExUnit.run/0` to consider all tests in a module whenever if a module's `setup_all` fails [ExUnit] Fix formatter and counters from `ExUnit.run/0` to consider all tests in a module whenever if a module's `setup_all` fails
[ExUnit] Allow doctests newlines to be terminated by CRLF [ExUnit] Allow doctests newlines to be terminated by CRLF
IEx IEx
[IEx] Fix the loss of `.iex.exs` context after a pry session [IEx] Fix the loss of `.iex.exs` context after a pry session
[IEx] Stop evaluator before exiting IEx server to avoid evaluators leaking [IEx] Stop evaluator before exiting IEx server to avoid evaluators leaking
Logger Logger
[Logger] Raise clear error message for invalid `:compile_time_purge_matching` configuration [Logger] Raise clear error message for invalid `:compile_time_purge_matching` configuration
[Logger] Fix a bug where Logger would not reset its discard counter under some scenarios [Logger] Fix a bug where Logger would not reset its discard counter under some scenarios
Mix Mix
[mix compile.elixir] Track transitive runtime dependencies coming from local/path dependencies [mix compile.elixir] Track transitive runtime dependencies coming from local/path dependencies
[mix compile.elixir] Recompile file if `@external_resource` is deleted [mix compile.elixir] Recompile file if `@external_resource` is deleted
[mix compile.elixir] Print number of compiling files on all compiler cycles. This will make the `Compiling N files (.ex)` show up multiple times if necessary [mix compile.elixir] Print number of compiling files on all compiler cycles. This will make the `Compiling N files (.ex)` show up multiple times if necessary
@ -431,24 +506,26 @@ Thu Jan 6 18:45:51 UTC 2022 - Sven Marquardt <dev@mail.smarquardt.space>
[mix test] Fix coverage engine to also tag `case`, `cond`, and `receive` branches where the right side is a literal [mix test] Fix coverage engine to also tag `case`, `cond`, and `receive` branches where the right side is a literal
* 3. Soft-deprecations (no warnings emitted) * 3. Soft-deprecations (no warnings emitted)
Elixir Elixir
[Code] Environment options in `Code.eval_quoted/3` and `Code.eval_string/3`, such as `:aliases` and `:tracers`, have been deprecated in favor of passing an environment [Code] Environment options in `Code.eval_quoted/3` and `Code.eval_string/3`, such as `:aliases` and `:tracers`, have been deprecated in favor of passing an environment
[IO] `:all` on `IO.getn` is deprecated in favor of `:eof` [IO] `:all` on `IO.getn` is deprecated in favor of `:eof`
[URI] `URI.parse/1` is deprecated in favor of `URI.new/1` and `URI.new!/1` [URI] `URI.parse/1` is deprecated in favor of `URI.new/1` and `URI.new!/1`
Mix Mix
[mix format] `Mix.Tasks.Format.formatter_opts_for_file/2` is deprecated in favor of `Mix.Tasks.Format.formatter_for_file/2` [mix format] `Mix.Tasks.Format.formatter_opts_for_file/2` is deprecated in favor of `Mix.Tasks.Format.formatter_for_file/2`
* 4. Hard-deprecations * 4. Hard-deprecations
Elixir Elixir
[Code] `Code.cursor_context/2` is deprecated, use `Code.Fragment.cursor_context/2` instead [Code] `Code.cursor_context/2` is deprecated, use `Code.Fragment.cursor_context/2` instead
[Macro] `Macro.to_string/2` is deprecated, use `Macro.to_string/1` instead [Macro] `Macro.to_string/2` is deprecated, use `Macro.to_string/1` instead
[System] `System.get_pid/0` is deprecated, use `System.pid/0` instead [System] `System.get_pid/0` is deprecated, use `System.pid/0` instead
[Version] Using `!` or `!=` in version requirements is deprecated, use `~>` or `>=` instead [Version] Using `!` or `!=` in version requirements is deprecated, use `~>` or `>=` instead
Mix Mix
[mix escript.build] `:strip_beam` option is deprecated in favor of `:strip_beams` [mix escript.build] `:strip_beam` option is deprecated in favor of `:strip_beams`
[Mix] `:exit_code` in `Mix.raise/2` has been deprecated in favor of `:exit_status` [Mix] `:exit_code` in `Mix.raise/2` has been deprecated in favor of `:exit_status`
[Mix.Config] `Mix.Config` is deprecated in favor of `Config` module [Mix.Config] `Mix.Config` is deprecated in favor of `Config` module
@ -468,9 +545,7 @@ Fri Nov 5 11:51:18 UTC 2021 - Matwey Kornilov <matwey.kornilov@gmail.com>
Tue Sep 28 18:07:15 UTC 2021 - Sven Marquardt <dev@mail.smarquardt.space> Tue Sep 28 18:07:15 UTC 2021 - Sven Marquardt <dev@mail.smarquardt.space>
- Elixir 1.12.3 - Elixir 1.12.3
* Bug fixes * Bug fixes
Elixir Elixir
[Code] Make sure that bindings in the default context returned by `Code.eval_*` functions are not returned as tagged tuples [Code] Make sure that bindings in the default context returned by `Code.eval_*` functions are not returned as tagged tuples
[Kernel] Do not crash when handling ambiguity errors [Kernel] Do not crash when handling ambiguity errors
@ -486,7 +561,6 @@ Tue Sep 28 18:07:15 UTC 2021 - Sven Marquardt <dev@mail.smarquardt.space>
Mon Jul 12 07:26:51 UTC 2021 - Sven Marquardt <dev@mail.smarquardt.space> Mon Jul 12 07:26:51 UTC 2021 - Sven Marquardt <dev@mail.smarquardt.space>
- Elixir 1.12.2 - Elixir 1.12.2
* Bug fixes * Bug fixes
Elixir Elixir
[Kernel] Ensure deprecated macros emit warnings [Kernel] Ensure deprecated macros emit warnings
@ -508,9 +582,7 @@ Mon Jul 12 07:26:51 UTC 2021 - Sven Marquardt <dev@mail.smarquardt.space>
Mon Jun 14 19:39:42 UTC 2021 - Sven Marquardt <dev@mail.smarquardt.space> Mon Jun 14 19:39:42 UTC 2021 - Sven Marquardt <dev@mail.smarquardt.space>
- Elixir 1.12.1 - Elixir 1.12.1
* Bug fixes * Bug fixes
Elixir Elixir
[Code] Make sure `Code.format_string!/2` formats multiline expression inside interpolation on the first run [Code] Make sure `Code.format_string!/2` formats multiline expression inside interpolation on the first run
[Macro] Revert keeping of underscores between digits in camelize [Macro] Revert keeping of underscores between digits in camelize
@ -598,7 +670,6 @@ Mon Jun 14 19:24:33 UTC 2021 - Sven Marquardt <dev@mail.smarquardt.space>
[mix test] Run all available tests if there are no pending `--failed` tests. This provides a better workflow as you no longer need to toggle the `--failed` flag between runs [mix test] Run all available tests if there are no pending `--failed` tests. This provides a better workflow as you no longer need to toggle the `--failed` flag between runs
* Bug fixes * Bug fixes
Elixir Elixir
[CLI] Ensure `-e ""` (with an empty string) parses correctly on Windows [CLI] Ensure `-e ""` (with an empty string) parses correctly on Windows
[Inspect] Do not override user supplied `:limit` option for derived implementations [Inspect] Do not override user supplied `:limit` option for derived implementations
@ -639,13 +710,11 @@ Mon Jun 14 19:24:33 UTC 2021 - Sven Marquardt <dev@mail.smarquardt.space>
[mix xref] Ensure args are passed to the underlying `mix compile` call [mix xref] Ensure args are passed to the underlying `mix compile` call
* Soft-deprecations (no warnings emitted) * Soft-deprecations (no warnings emitted)
Elixir Elixir
[Kernel] Using `first..last` to match on ranges is soft-deprecated and will warn on future Elixir versions. Use `first..last//step` instead [Kernel] Using `first..last` to match on ranges is soft-deprecated and will warn on future Elixir versions. Use `first..last//step` instead
[Kernel] Using `first..last` to create decreasing ranges is soft-deprecated and will warn on future versions. Use `first..last//-1` instead [Kernel] Using `first..last` to create decreasing ranges is soft-deprecated and will warn on future versions. Use `first..last//-1` instead
* Hard-deprecations * Hard-deprecations
EEx EEx
[EEx.Engine] `use EEx.Engine` is deprecated in favor of explicit delegation [EEx.Engine] `use EEx.Engine` is deprecated in favor of explicit delegation
@ -658,6 +727,7 @@ Mon Jun 14 19:24:33 UTC 2021 - Sven Marquardt <dev@mail.smarquardt.space>
[mix compile] The `:xref` compiler is deprecated and it has no effect. Please remove it from your mix.exs file. [mix compile] The `:xref` compiler is deprecated and it has no effect. Please remove it from your mix.exs file.
Full release notes: https://github.com/elixir-lang/elixir/releases/tag/v1.12.0 Full release notes: https://github.com/elixir-lang/elixir/releases/tag/v1.12.0
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 19 22:01:35 UTC 2021 - Sven Marquardt <dev@mail.smarquardt.space> Fri Mar 19 22:01:35 UTC 2021 - Sven Marquardt <dev@mail.smarquardt.space>
@ -697,7 +767,6 @@ Mon Jan 11 19:13:39 UTC 2021 - Sven Marquardt <dev@mail.smarquardt.space>
[mix release] Do not use private ram_file:compress/1 [mix release] Do not use private ram_file:compress/1
[mix xref] Do not crash when retrieving calls for modules in memory [mix xref] Do not crash when retrieving calls for modules in memory
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 04 11:09:00 UTC 2020 - Sven Marquardt <dev@mail.smarquardt.space> Wed Nov 04 11:09:00 UTC 2020 - Sven Marquardt <dev@mail.smarquardt.space>
@ -1095,6 +1164,7 @@ Tue Jun 25 08:55:44 UTC 2019 - g.santomaggio@gmail.com
* Bug fixes * Bug fixes
EEx EEx
[EEx] Consistently trim newlines when you have a single EEx expression per line on multiple lines [EEx] Consistently trim newlines when you have a single EEx expression per line on multiple lines
Elixir Elixir
[Code] Quote :: in Code.format_string!/1 to avoid ambiguity [Code] Quote :: in Code.format_string!/1 to avoid ambiguity
[Code] Do not crash formatter on false positive sigils [Code] Do not crash formatter on false positive sigils
@ -1128,6 +1198,7 @@ Tue Jun 25 08:55:44 UTC 2019 - g.santomaggio@gmail.com
[mix deps] Raise an error if the umbrella app's dir name and mix.exs app name don't match [mix deps] Raise an error if the umbrella app's dir name and mix.exs app name don't match
[mix deps.compile] Fix subcommand splitting bug in rebar3 [mix deps.compile] Fix subcommand splitting bug in rebar3
[mix test] Do not consider modules that are no longer cover compiled when computing coverage report, which couldlead to flawed reports [mix test] Do not consider modules that are no longer cover compiled when computing coverage report, which couldlead to flawed reports
* Soft-deprecations (no warnings emitted) * Soft-deprecations (no warnings emitted)
Mix Mix
[Mix.Config] Mix.Config has been deprecated in favor of the Config module that now ships as part of Elixir itself.Reading [Mix.Config] Mix.Config has been deprecated in favor of the Config module that now ships as part of Elixir itself.Reading
@ -1139,6 +1210,7 @@ Tue Jun 25 08:55:44 UTC 2019 - g.santomaggio@gmail.com
[Map] Deprecate Enumerable keys in Map.drop/2, Map.split/2, and Map.take/2 [Map] Deprecate Enumerable keys in Map.drop/2, Map.split/2, and Map.take/2
[String] The :insert_replaced option in String.replace/4 has been deprecated. [String] The :insert_replaced option in String.replace/4 has been deprecated.
Instead you may pass a function as a replacement or use :binary.replace/4 if you need to support earlier Elixir versions Instead you may pass a function as a replacement or use :binary.replace/4 if you need to support earlier Elixir versions
Mix Mix
[Mix.Project] Deprecate Mix.Project.load_paths/1 in favor of Mix.Project.compile_path/1 [Mix.Project] Deprecate Mix.Project.load_paths/1 in favor of Mix.Project.compile_path/1
@ -1150,8 +1222,10 @@ Mon May 27 09:02:44 UTC 2019 - g.santomaggio@gmail.com
- Elixir 1.8.2 - Elixir 1.8.2
* Bug fixes * Bug fixes
[EEx] Raise readable error message on bad EEx state [EEx] Raise readable error message on bad EEx state
Elixir Elixir
[Protocol] Ensure :debug_info is kept in protocols [Protocol] Ensure :debug_info is kept in protocols
Logger Logger
[Logger] Make sure Logger v1.8 does not get stuck in discard mode [Logger] Make sure Logger v1.8 does not get stuck in discard mode
[Logger.Translator] Translate remote process crash in Logger [Logger.Translator] Translate remote process crash in Logger
@ -1168,10 +1242,12 @@ Tue Feb 19 15:38:20 UTC 2019 - g.santomaggio@gmail.com
* Bug fixes * Bug fixes
Elixir Elixir
[Float] Fix rounding for subnormal floats [Float] Fix rounding for subnormal floats
IEx IEx
[IEx] Fix IEx.pry crash when IEx isn't running [IEx] Fix IEx.pry crash when IEx isn't running
[IEx.CLI] Add IEx warning when using --remsh with "dumb" terminal [IEx.CLI] Add IEx warning when using --remsh with "dumb" terminal
[IEx.Helpers] Sort results by arity on h helper [IEx.Helpers] Sort results by arity on h helper
Mix Mix
[mix compile] Do not include optional dependencies in extra applications as it is [mix compile] Do not include optional dependencies in extra applications as it is
incompatible with shared deps in umbrellas incompatible with shared deps in umbrellas
@ -1183,9 +1259,11 @@ Mon Jan 28 11:00:20 UTC 2019 - g.santomaggio@gmail.com
* Elixir v1.8 comes with many improvements at the infrastructure level, improving compilation time, * 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. 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 See full changelog at https://github.com/elixir-lang/elixir/releases/tag/v1.8.0
* Enhancements * Enhancements
EEx EEx
[EEx] Optimize the default template engine to compile and execute more efficiently [EEx] Optimize the default template engine to compile and execute more efficiently
Elixir Elixir
[Calendar] Add Calendar.TimeZoneDatabase and a Calendar.UTCOnlyTimeZoneDatabase implementation [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 [Calendar] Add callbacks day_of_year/3, quarter_of_year/3, year_of_era/1, and day_of_era/3
@ -1210,12 +1288,15 @@ Mon Jan 28 11:00:20 UTC 2019 - g.santomaggio@gmail.com
[Registry] Allow associating a value on :via tuple [Registry] Allow associating a value on :via tuple
[String] Add String.bag_distance/2 [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 [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
[ExUnit] Add ExUnit.after_suite/1 callback [ExUnit] Add ExUnit.after_suite/1 callback
[ExUnit.Assertions] Show last N messages (instead of first N) from mailbox on assert_receive fail [ExUnit.Assertions] Show last N messages (instead of first N) from mailbox on assert_receive fail
IEx IEx
[IEx.Helpers] Add port/1 and port/2 [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 [IEx.Server] Expose IEx.Server.run/1 for custom IEx sessions with the ability to broker pry sessions
Mix Mix
[Mix] Add Mix.target/0 and Mix.target/1 to control dependency management per target [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.Project] Add :depth and :parents options to deps_paths/1
@ -1239,10 +1320,13 @@ Mon Jan 28 11:00:20 UTC 2019 - g.santomaggio@gmail.com
[NaiveDateTime] Do not accept leap seconds in builder and parsing functions [NaiveDateTime] Do not accept leap seconds in builder and parsing functions
[String] Fix ZWJ handling in Unicode grapheme clusters [String] Fix ZWJ handling in Unicode grapheme clusters
[StringIO] Handle non-printable args in StringIO gracefully [StringIO] Handle non-printable args in StringIO gracefully
IEx IEx
[IEx.Helpers] Use typespec info (instead of docs chunk) and properly format callbacks in b/1 [IEx.Helpers] Use typespec info (instead of docs chunk) and properly format callbacks in b/1
Logger Logger
[Logger] Allow Logger backends to be dynamically removed when an application is shutting down [Logger] Allow Logger backends to be dynamically removed when an application is shutting down
Mix 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] 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] Avoid time drift when checking and updating compiler manifest files
@ -1424,6 +1508,7 @@ Wed Jul 5 19:59:58 UTC 2017 - develop7@develop7.info
1. Enhancements 1. Enhancements
Logger Logger
[Logger] Handle changes to crash reports in OTP 20 [Logger] Handle changes to crash reports in OTP 20
2. Bug fixes 2. Bug fixes
Elixir Elixir
[DateTime] Fix DateTime.from_iso8601/2 when offset has no colon [DateTime] Fix DateTime.from_iso8601/2 when offset has no colon
@ -1449,18 +1534,23 @@ Thu May 18 18:39:39 UTC 2017 - develop7@develop7.info
[Map] Warn when attempting to override __struct__ key [Map] Warn when attempting to override __struct__ key
[Regex] Add recompile/1 and recompile!/1 to ease transition to OTP 20 [Regex] Add recompile/1 and recompile!/1 to ease transition to OTP 20
for archives and stored regexes for archives and stored regexes
Logger Logger
[Logger.Translator] Handle OTP 20 GenServer log messages [Logger.Translator] Handle OTP 20 GenServer log messages
Mix Mix
[mix compile] Recompile projects if OTP version changes [mix compile] Recompile projects if OTP version changes
2. Bug fixes 2. Bug fixes
Elixir Elixir
[Kernel] Fix code generation when non-binary bitstrings are in AST [Kernel] Fix code generation when non-binary bitstrings are in AST
[Record] Properly escape fields passed to defrecord [Record] Properly escape fields passed to defrecord
ExUnit ExUnit
[ExUnit.Diff] Do not fail when comparing maps with nil or boolean keys [ExUnit.Diff] Do not fail when comparing maps with nil or boolean keys
IEx IEx
[IEx.Helpers] Do not log exits on IEx.Helpers.c/2 failures [IEx.Helpers] Do not log exits on IEx.Helpers.c/2 failures
Mix Mix
[mix archive.install] Detect proper path on URLs with query strings [mix archive.install] Detect proper path on URLs with query strings
[mix loadpaths] Do not assume all paths in loadpaths exist [mix loadpaths] Do not assume all paths in loadpaths exist
@ -1472,6 +1562,7 @@ Mon Feb 27 09:13:15 UTC 2017 - develop7@develop7.info
1. Bug fixes 1. Bug fixes
EEx EEx
[EEx] Support middle expressions on trim mode [EEx] Support middle expressions on trim mode
Elixir Elixir
[Calendar] Correct typo on Calendar types [Calendar] Correct typo on Calendar types
[Kernel] Ensure redefined functions point to the proper source [Kernel] Ensure redefined functions point to the proper source
@ -1480,9 +1571,11 @@ Mon Feb 27 09:13:15 UTC 2017 - develop7@develop7.info
[Stream] Allow consuming multiple items from suspended enumerable in [Stream] Allow consuming multiple items from suspended enumerable in
`Stream.transform/3` `Stream.transform/3`
[String] Incorporate new grapheme rules in Unicode 9 [String] Incorporate new grapheme rules in Unicode 9
IEx IEx
[IEx.Autocomplete] Do not crash on aliases which are not known at compile [IEx.Autocomplete] Do not crash on aliases which are not known at compile
time time
Mix Mix
[Mix.Umbrella] Ensure umbrella projects can depend on other umbrella [Mix.Umbrella] Ensure umbrella projects can depend on other umbrella
projects projects
@ -1494,8 +1587,10 @@ Mon Feb 27 09:13:15 UTC 2017 - develop7@develop7.info
[Kernel] Remove warning when making private functions overridable [Kernel] Remove warning when making private functions overridable
[Path] Ensure `Path.join/1` returns strings for lists of one element [Path] Ensure `Path.join/1` returns strings for lists of one element
[Regex] Ensure `Regex.escape/1` also escapes `-` [Regex] Ensure `Regex.escape/1` also escapes `-`
IEx IEx
[IEx] Disable ANSI detection for powershell to avoid false positives [IEx] Disable ANSI detection for powershell to avoid false positives
Mix Mix
[Mix.Make] Run `make clean` for `erlang.mk` [Mix.Make] Run `make clean` for `erlang.mk`
[Mix.Rebar] Support all of rebar3 dependency package declaration [Mix.Rebar] Support all of rebar3 dependency package declaration
@ -1551,12 +1646,14 @@ Fri Jan 6 17:33:45 UTC 2017 - develop7@develop7.info
supervised versions Task.Supervisor.async_stream/4 and supervised versions Task.Supervisor.async_stream/4 and
Task.Supervisor.async_stream/6 Task.Supervisor.async_stream/6
[URI] Allow 0 as URI scheme default port [URI] Allow 0 as URI scheme default port
ExUnit ExUnit
[ExUnit.Diff] Use red or green background for whitespace-only diffs [ExUnit.Diff] Use red or green background for whitespace-only diffs
[ExUnit.Doctest] Allow inspected structures with multiples lines and [ExUnit.Doctest] Allow inspected structures with multiples lines and
unicode characters in the doctest result unicode characters in the doctest result
[ExUnit.Formatter] Replace lhs/rhs with left/right in the formatter for [ExUnit.Formatter] Replace lhs/rhs with left/right in the formatter for
clarity clarity
IEx IEx
[IEx.Autocomplete] Stop appending a trailing dot when autocompleting [IEx.Autocomplete] Stop appending a trailing dot when autocompleting
modules in IEx modules in IEx
@ -1567,6 +1664,7 @@ Fri Jan 6 17:33:45 UTC 2017 - develop7@develop7.info
issue where .beam files remain at projects root directory issue where .beam files remain at projects root directory
[IEx.Helpers] Add info about protocols in i/1 [IEx.Helpers] Add info about protocols in i/1
[IEx.Server] Support interrupting IEx evaluation through the Ctrl+G prompt [IEx.Server] Support interrupting IEx evaluation through the Ctrl+G prompt
Mix Mix
[mix archive] Compress archive files built by mix archive as they are [mix archive] Compress archive files built by mix archive as they are
now unzipped during installation now unzipped during installation
@ -1587,6 +1685,7 @@ Fri Jan 6 17:33:45 UTC 2017 - develop7@develop7.info
module to work as application callback module to work as application callback
[mix test] Add --formatter option to mix test [mix test] Add --formatter option to mix test
[mix xref] Provide "did you mean?" suggestions for mix xref [mix xref] Provide "did you mean?" suggestions for mix xref
2. Bug fixes 2. Bug fixes
Elixir Elixir
[Access] Do not accept nils in Access.key/1 and Access.key/2 in favor of [Access] Do not accept nils in Access.key/1 and Access.key/2 in favor of
@ -1613,26 +1712,33 @@ Fri Jan 6 17:33:45 UTC 2017 - develop7@develop7.info
String.replace_trailing/3 when given an empty string String.replace_trailing/3 when given an empty string
[Task] Fix Task.shutdown/1,2 infinite block when task has no monitor [Task] Fix Task.shutdown/1,2 infinite block when task has no monitor
[Task] Ensure task cannot link after parents unlinks [Task] Ensure task cannot link after parents unlinks
ExUnit ExUnit
[ExUnit] Fix a race condition in assert_receive where we would assert a [ExUnit] Fix a race condition in assert_receive where we would assert a
message was not received but show it in the list of messages when the message was not received but show it in the list of messages when the
message is delivered right after the timeout value message is delivered right after the timeout value
IEx IEx
[IEx.Helpers] Purge consolidated protocols before and after recompile/0 [IEx.Helpers] Purge consolidated protocols before and after recompile/0
Mix Mix
[Mix.Dep] Use gmake on FreeBSD instead of make when compiling make [Mix.Dep] Use gmake on FreeBSD instead of make when compiling make
dependencies dependencies
[Mix.Project] Only copy files from source when they're newer than [Mix.Project] Only copy files from source when they're newer than
destination (for Windows machines) destination (for Windows machines)
[Mix.Task] Ensure non-recursive tasks inside umbrella are reenabled [Mix.Task] Ensure non-recursive tasks inside umbrella are reenabled
3. Soft deprecations (no warnings emitted) 3. Soft deprecations (no warnings emitted)
Elixir Elixir
[Enum] Enum.partition/2 has been deprecated in favor of Enum.split_with/2 [Enum] Enum.partition/2 has been deprecated in favor of Enum.split_with/2
[System] Deprecate plural time units in favor of singular ones to align [System] Deprecate plural time units in favor of singular ones to align
with future Erlang releases with future Erlang releases
ExUnit ExUnit
[ExUnit] Using GenEvent to implement ExUnit formatters is deprecated. [ExUnit] Using GenEvent to implement ExUnit formatters is deprecated.
Please use the new GenServer based formatters instead Please use the new GenServer based formatters instead
4. Deprecations 4. Deprecations
Elixir Elixir
[Access] Access.key/1 is deprecated due to erratic behaviour for missing [Access] Access.key/1 is deprecated due to erratic behaviour for missing
@ -1648,9 +1754,11 @@ Fri Jan 6 17:33:45 UTC 2017 - develop7@develop7.info
[OptionParser] Deprecate aliases with multiple letters, such as -abc [OptionParser] Deprecate aliases with multiple letters, such as -abc
[Set] Deprecate the Set module [Set] Deprecate the Set module
[Stream] Deprecate Stream.uniq/2 in favor of Stream.uniq_by/2 [Stream] Deprecate Stream.uniq/2 in favor of Stream.uniq_by/2
IEx IEx
[IEx.Helpers] import_file/2 is deprecated in favor of [IEx.Helpers] import_file/2 is deprecated in favor of
import_file_if_available/1 import_file_if_available/1
Mix Mix
[Mix.Utils] underscore/1 and camelize/1 are deprecated [Mix.Utils] underscore/1 and camelize/1 are deprecated
@ -1665,6 +1773,7 @@ Sun Oct 9 19:39:04 UTC 2016 - develop7@develop7.info
sure "unused variable warnings" are not mistakenly silenced sure "unused variable warnings" are not mistakenly silenced
[Kernel] Move raise checks to runtime to avoid crashing cover on Erlang 19.1 [Kernel] Move raise checks to runtime to avoid crashing cover on Erlang 19.1
[Protocol] Do not emit warnings when using protocols on opaque types [Protocol] Do not emit warnings when using protocols on opaque types
ExUnit ExUnit
[ExUnit.CaptureLog] Flush Erlang's :error_logger before capturing to [ExUnit.CaptureLog] Flush Erlang's :error_logger before capturing to
avoid mixed messages avoid mixed messages
@ -1679,18 +1788,23 @@ Fri Sep 23 10:40:28 UTC 2016 - develop7@develop7.info
[Kernel.LexicalTracker] Do not consider remote typespecs as a compile-time dependency [Kernel.LexicalTracker] Do not consider remote typespecs as a compile-time dependency
[Kernel.ParallelCompiler] Do not emit deadlock messages when the process is waiting on itself [Kernel.ParallelCompiler] Do not emit deadlock messages when the process is waiting on itself
[Kernel.Typespec] Mark struct update syntax as generated to avoid false positives from dialyzer [Kernel.Typespec] Mark struct update syntax as generated to avoid false positives from dialyzer
ExUnit ExUnit
[ExUnit] Make ExUnit server timeout configurable [ExUnit] Make ExUnit server timeout configurable
Logger Logger
[Logger] Use :ansi_color if one is available in metadata [Logger] Use :ansi_color if one is available in metadata
Mix Mix
[Mix] Add support for the :sparse option in Mix.SCM.Git [Mix] Add support for the :sparse option in Mix.SCM.Git
[Mix] Skip dependendency loading if MIX_NO_DEPS is set to 1 [Mix] Skip dependendency loading if MIX_NO_DEPS is set to 1
2. Bug fixes 2. Bug fixes
Elixir Elixir
[System] Use NUL instead of /dev/null on Windows when building System.build_info [System] Use NUL instead of /dev/null on Windows when building System.build_info
IEx IEx
[IEx.Autocomplete] Resolves issue with autocompletion on structs not working [IEx.Autocomplete] Resolves issue with autocompletion on structs not working
Mix Mix
[Mix] Also store external resources that are not part of the current working directory in compilation manifest [Mix] Also store external resources that are not part of the current working directory in compilation manifest
[Mix] Always include the compiled file source in manifests [Mix] Always include the compiled file source in manifests
@ -1702,17 +1816,21 @@ Sat Jul 30 10:32:07 UTC 2016 - develop7@develop7.info
1. Enhancements 1. Enhancements
Elixir Elixir
[Kernel] Support guards in else clauses in with [Kernel] Support guards in else clauses in with
Mix Mix
[Mix] Add MIX_NO_DEPS env var for disabling dep loading. Used for third-party scripts and tools like Nix package manager [Mix] Add MIX_NO_DEPS env var for disabling dep loading. Used for third-party scripts and tools like Nix package manager
[Mix] Add mix test --listen-on-stdin that automatically reruns tests on stdin [Mix] Add mix test --listen-on-stdin that automatically reruns tests on stdin
[Mix] Disable --warnings-as-errors when compiling dependencies [Mix] Disable --warnings-as-errors when compiling dependencies
[Mix] Add --filter option to mix deps.unlock to unlock only matching dependencies [Mix] Add --filter option to mix deps.unlock to unlock only matching dependencies
2. Bug fixes 2. Bug fixes
Elixir Elixir
[Enum] Return nil if enumerable halts in Enum.find_index/3 [Enum] Return nil if enumerable halts in Enum.find_index/3
[Kernel] Do not attempt to load modules that have not been required when invoking regular functions, otherwise this invalidates the @compile {:autoload, false} directive. [Kernel] Do not attempt to load modules that have not been required when invoking regular functions, otherwise this invalidates the @compile {:autoload, false} directive.
Mix Mix
[Mix] Ensure missing protocol dependencies are discarded in umbrella projects with shared build [Mix] Ensure missing protocol dependencies are discarded in umbrella projects with shared build
ExUnit ExUnit
[ExUnit.Diff] Ensure no leading or trailing when diffing some maps [ExUnit.Diff] Ensure no leading or trailing when diffing some maps
@ -1738,8 +1856,10 @@ Thu Jun 30 18:22:46 UTC 2016 - develop7@develop7.info
[Kernel.Typespec] Support module attributes in remote types [Kernel.Typespec] Support module attributes in remote types
[Module] Do not expect stacktraces to be always present when dispatching [Module] Do not expect stacktraces to be always present when dispatching
to locals during the module compilation to locals during the module compilation
IEx IEx
[IEx.Helpers] Fix h helper for operators [IEx.Helpers] Fix h helper for operators
Mix Mix
[Mix] Do not load modules for xref purposes, instead use BEAM info [Mix] Do not load modules for xref purposes, instead use BEAM info
[Mix] Ensure deps.check does not check archives (that's done in loadpaths) [Mix] Ensure deps.check does not check archives (that's done in loadpaths)
@ -1790,6 +1910,7 @@ Wed Feb 24 16:06:18 UTC 2016 - develop7@develop7.info
+ Enhancements + Enhancements
* [Base] Add :ignore and :padding option to encoding/decoding functions * [Base] Add :ignore and :padding option to encoding/decoding functions
* [Mix] Add Mix.Projects.deps_paths that returns the dependencies path as a map * [Mix] Add Mix.Projects.deps_paths that returns the dependencies path as a map
+ Bug fixes + Bug fixes
* [ExUnit] Do not provide negative line numbers without generated annotation (for compatibility with Erlang 19) * [ExUnit] Do not provide negative line numbers without generated annotation (for compatibility with Erlang 19)
* [Mix] Reject non fullfilled optional dependencies later on in the convergence resolution for proper dependency sorting * [Mix] Reject non fullfilled optional dependencies later on in the convergence resolution for proper dependency sorting
@ -1802,6 +1923,7 @@ Thu Feb 4 09:10:38 UTC 2016 - pereira.alex@gmail.com
- Update to v1.2.2 - Update to v1.2.2
Enhancements Enhancements
[Kernel] Support @compile {:autoload, false} to disable automatic loading after compilation [Kernel] Support @compile {:autoload, false} to disable automatic loading after compilation
Bug fixes Bug fixes
[ExUnit] Raise if trying to override reserved tag in setup blocks [ExUnit] Raise if trying to override reserved tag in setup blocks
[Mix] Ensure retrieve compile manifests do fail if some compilers are not yet available [Mix] Ensure retrieve compile manifests do fail if some compilers are not yet available
@ -1812,6 +1934,7 @@ Thu Feb 4 09:10:38 UTC 2016 - pereira.alex@gmail.com
Enhancements Enhancements
[IEx] Support remote pids/ports with IEx helper i/1 [IEx] Support remote pids/ports with IEx helper i/1
[Protocol] Warn when defimpl is called for a consolidated protocol [Protocol] Warn when defimpl is called for a consolidated protocol
Bug fixes Bug fixes
[ExUnit] Ensure assert macros can be used from quoted code [ExUnit] Ensure assert macros can be used from quoted code
[ExUnit] Do not warn in match assertion if variable is reused in pattern [ExUnit] Do not warn in match assertion if variable is reused in pattern

View File

@ -1,7 +1,7 @@
# #
# spec file for package elixir # spec file for package elixir
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: elixir Name: elixir
Version: 1.14.0 Version: 1.14.2
Release: 0 Release: 0
Summary: Functional meta-programming aware language built atop Erlang Summary: Functional meta-programming aware language built atop Erlang
License: Apache-2.0 License: Apache-2.0
@ -28,9 +28,9 @@ Source2: macros.elixir
BuildRequires: gcc BuildRequires: gcc
BuildRequires: make BuildRequires: make
# required by Mix.SCM.Git see also (https://github.com/elixir-lang/elixir/issues/1386) # required by Mix.SCM.Git see also (https://github.com/elixir-lang/elixir/issues/1386)
Requires: erlang >= 22 Requires: erlang >= 23
Requires: git >= 1.7 Requires: git >= 1.7
BuildRequires: erlang >= 22 BuildRequires: erlang >= 23
BuildRequires: erlang-dialyzer BuildRequires: erlang-dialyzer
BuildRequires: erlang-src BuildRequires: erlang-src
BuildRequires: git >= 1.7 BuildRequires: git >= 1.7