Skip to content

Commit 95f982e

Browse files
committed
Document bug fix on defstruct/defexception inside protocol, closes #14574
1 parent 7e08594 commit 95f982e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ This work was performed by Jonatan Männchen and sponsored by the Erlang Ecosyst
253253
* [DateTime] Do not truncate microseconds regardless of precision in `DateTime.diff/3`
254254
* [File] Properly handle permissions errors cascading from parent in `File.mkdir_p/1`
255255
* [Kernel] `not_a_map.key` now raises `BadMapError` for consistency with other map operations
256+
* [Protocol] `defstruct/1` and `defexception/1` are now disabled inside `defprotocol` as to not allow defining structs/exceptions alongside a protocol
256257
* [Regex] Fix `Regex.split/2` returning too many results when the chunk being split on was empty (which can happen when using features such as `/K`)
257258
* [Stream] Ensure `Stream.transform/5` respects suspend command when its inner stream halts
258259
* [URI] Several fixes to `URI.merge/2` related to trailing slashes, trailing dots, and hostless base URIs

0 commit comments

Comments
 (0)