Skip to content

Commit 7c86c4b

Browse files
committed
Update CHANGELOG
1 parent 4931ab4 commit 7c86c4b

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

CHANGELOG.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ Encoding can be done via `JSON.encode!/1` and `JSON.encode_to_iodata!/1` functio
174174
| `%{atom() => _}` | Object |
175175
| `%{integer() => _}` | Object |
176176

177-
You may also implement the `JSON.Encoder` protocol for custom data structures. If you have a struct, you can derive the implementation of the `JSON.Encoder` by specifying which fields should be encoded to JSON:
177+
You may also implement the `JSON.Encoder` protocol for custom data structures. Elixir already implements the protocol for all Calendar types.
178+
179+
If you have a struct, you can derive the implementation of the `JSON.Encoder` by specifying which fields should be encoded to JSON:
178180

179181
```elixir
180182
@derive {JSON.Encoder, only: [...]}
@@ -223,6 +225,32 @@ You may also prefer to write using guards:
223225

224226
def foo(x, y, z) when x == y and y == z
225227

228+
## v1.18.0-rc.1
229+
230+
### 1. Enhancements
231+
232+
#### Elixir
233+
234+
* [JSON] Implement `JSON.Encoder` for all Calendar types
235+
236+
### 2. Bug fixes
237+
238+
#### Elixir
239+
240+
* [Kernel] Avoid crashes when emitting diagnostics on code using \t for indentation
241+
242+
### 3. Regressions
243+
244+
#### Elixir
245+
246+
* [Kernel] Fix type warnings in `pop_in/1`
247+
* [Kernel] Fix false positive warnings when accessing exceptions from `rescue`
248+
* [Kernel] Emit warnings for duplicate patterns instead of errors
249+
250+
#### ExUnit
251+
252+
* [ExUnit] Do not warn on user-supplied CaseTemplate options
253+
226254
## v1.18.0-rc.0 (2024-12-10)
227255

228256
### 1. Enhancements

0 commit comments

Comments
 (0)