summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md10
-rw-r--r--lib/elixir/pages/compatibility-and-deprecations.md3
2 files changed, 9 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 381d90805..e52b9770a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,11 +10,15 @@
* [Code] Warn if an outdated lexical tracker is given on eval
* [Inspect] Improve error reporting when there is a faulty inspect implementation
* [Kernel] Print escaped version of control chars when they show up as unexpected tokens
- * [Keyword] Add `Keyword.from_keys/2`
+ * [Keyword] Add `Keyword.from_keys/2` and `Keyword.replace_lazy/3`
+ * [List] Add `List.keysort/3` with support for a `sorter` function
* [Macro] Add `Macro.classify_atom/1` and `Macro.inspect_atom/1`
- * [Map] Add `Map.from_keys/2`
+ * [Map] Add `Map.from_keys/2` and `Map.replace_lazy/3`
+ * [MapSet] Add `MapSet.map/2`, `MapSet.filter/2`, and `MapSet.reject/2`
+ * [PartitionSupervisor] Add `PartitionSupervisor` that starts multiple isolated partitions of the same child for scalability
* [Registry] Add `Registry.count_select/2`
* [Stream] Add `Stream.duplicate/2`
+ * [String] Support empty lookup lists in `String.replace/3`, `String.split/3`, and `String.splitter/3`
* [Version] Add `Version.to_string/1`
* [Version] Colorize `Version.Requirement` source in Inspect protocol
@@ -38,6 +42,8 @@
* [Bitwise] `use Bitwise` is deprecated, use `import Bitwise` instead
* [Bitwise] `~~~` is deprecated in favor of `bnot` for clarity
* [Kernel.ParallelCompiler] Returning a list or two-element tuple from `:each_cycle` is deprecated, return a `{:compile | :runtime, modules, warnings}` tuple instead
+ * [Kernel] Deprecate the operator `<|>` to avoid ambiguity with upcoming extended numerical operators
+ * [String] Deprecate passing a binary compiled pattern to `String.starts_with?/2`
#### Mix
diff --git a/lib/elixir/pages/compatibility-and-deprecations.md b/lib/elixir/pages/compatibility-and-deprecations.md
index a44f626d2..f297e6c3a 100644
--- a/lib/elixir/pages/compatibility-and-deprecations.md
+++ b/lib/elixir/pages/compatibility-and-deprecations.md
@@ -81,7 +81,7 @@ Version | Deprecated feature | Replaced by (ava
[v1.14] | `use Bitwise` | `import Bitwise` (v1.0)
[v1.14] | `~~~/1` | `bnot/2` (v1.0)
[v1.14] | `Application.get_env/3` and similar in module body | `Application.compile_env/3` (v1.10)
-[v1.14] | `:each_cycle` returning lists or two-element tuples | Return three element tuples (v1.10)
+[v1.14] | Compiled patterns in `String.starts_with?/2` | Pass a list of strings instead (v1.0)
[v1.14] | `Mix.Tasks.Xref.calls/1` | Compilation tracers (outlined in `Code`) (v1.10)
[v1.13] | `!` and `!=` in Version requirements | `~>` or `>=` (v1.0)
[v1.13] | `Mix.Config` | `Config` (v1.9)
@@ -178,7 +178,6 @@ Version | Deprecated feature | Replaced by (ava
[v1.3] | Non-map as 2nd argument in `URI.decode_query/2` | Use a map (v1.0)
[v1.2] | `Dict` behaviour | `MapSet` data structure (v1.1)
[v1.1] | `?\xHEX` | `0xHEX` (v1.0)
-[v1.1] | `Access` protocol | `Access` behaviour (v1.1)
[v1.1] | `as: true \| false` in `alias/2` and `require/2` | *None*
[v1.1]: https://github.com/elixir-lang/elixir/blob/v1.1/CHANGELOG.md#4-deprecations