Skip to content

Commit 7144162

Browse files
committed
Update CHANGELOG and TODOs
1 parent c22a222 commit 7144162

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ You may also prefer to write using guards:
249249
* [PartitionSupervisor] Add `PartitionSupervisor.resize!/2` to resize the number of partitions in a supervisor (up to the limit it was started with)
250250
* [Process] Handle arbitrarily high integer values in `Process.sleep/1`
251251
* [Protocol] Add `@undefined_impl_description` to customize error message when an implementation is undefined
252-
* [Protocol] Add `__deriving__` as optional macro callback to `Protocol`, no longer requiring empty implementations
252+
* [Protocol] Add `__deriving__/1` as optional macro callback to `Protocol`, no longer requiring empty implementations
253253
* [String] Inspect special whitespace and zero-width characters using their Unicode representation
254254
* [String] Update Unicode to 16.0
255255

@@ -313,7 +313,7 @@ You may also prefer to write using guards:
313313
* [Inspect.Algebra] `fold_doc/2` is deprecated in favor of `fold/2`
314314
* [Kernel] Deprecate `unless` in favor of `if`. Use `mix format --migrate` to automate the migration
315315
* [Macro] `Macro.struct!/2` is deprecated in favor of `Macro.struct_info!/2`
316-
* [Protocol] Defining the `__deriving__` macro inside the `Any` implementation is deprecated, derive it inside the protocol definition itself
316+
* [Protocol] Defining `__deriving__/3` inside the `Any` implementation is deprecated, derive it inside the protocol definition itself
317317

318318
### 4. Hard deprecations
319319

Diff for: lib/elixir/src/elixir.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ start_cli() ->
211211
env_for_eval(#{lexical_tracker := Pid} = Env) ->
212212
NewEnv = Env#{
213213
context := nil,
214-
context_modules := [],
215214
macro_aliases := [],
216215
versioned_vars := #{}
217216
},
@@ -260,6 +259,7 @@ env_for_eval(Opts) when is_list(Opts) ->
260259
false -> []
261260
end,
262261

262+
%% TODO: Remove the following deprecations in future releases
263263
Aliases = case lists:keyfind(aliases, 1, Opts) of
264264
{aliases, AliasesOpt} when is_list(AliasesOpt) ->
265265
'Elixir.IO':warn(<<":aliases option in eval is deprecated">>),

0 commit comments

Comments
 (0)