Skip to content

Commit e35ffc5

Browse files
committed
Release v1.18.3
1 parent 178643f commit e35ffc5

File tree

5 files changed

+43
-15
lines changed

5 files changed

+43
-15
lines changed

CHANGELOG.md

+39-11
Original file line numberDiff line numberDiff line change
@@ -162,17 +162,15 @@ Both encoder and decoder fully conform to [RFC 8259](https://tools.ietf.org/html
162162

163163
Encoding can be done via `JSON.encode!/1` and `JSON.encode_to_iodata!/1` functions. The default encoding rules are applied as follows:
164164

165-
| **Elixir** | **JSON** |
166-
|------------------------|----------|
167-
| `integer() \| float()` | Number |
168-
| `true \| false ` | Boolean |
169-
| `nil` | Null |
170-
| `binary()` | String |
171-
| `atom()` | String |
172-
| `list()` | Array |
173-
| `%{binary() => _}` | Object |
174-
| `%{atom() => _}` | Object |
175-
| `%{integer() => _}` | Object |
165+
| **Elixir** | **JSON** |
166+
|-----------------------------|----------|
167+
| `integer() \| float()` | Number |
168+
| `true \| false ` | Boolean |
169+
| `nil` | Null |
170+
| `binary()` | String |
171+
| `atom()` | String |
172+
| `list()` | Array |
173+
| `%{String.Chars.t() => _}` | Object |
176174

177175
You may also implement the `JSON.Encoder` protocol for custom data structures. Elixir already implements the protocol for all Calendar types.
178176

@@ -225,6 +223,36 @@ You may also prefer to write using guards:
225223

226224
def foo(x, y, z) when x == y and y == z
227225

226+
## v1.18.3 (2025-03-06)
227+
228+
### 1. Enhancements
229+
230+
#### Elixir
231+
232+
* [JSON] Encode any JSON key to string
233+
* [Kernel] Allow `<<_::3*8>>` in typespecs
234+
235+
#### Mix
236+
237+
* [mix loadpaths] Support `--no-listeners` option
238+
239+
### 2. Bug fixes
240+
241+
#### Elixir
242+
243+
* [CLI] Fix `--no-color` not setting `:ansi_enabled` to false
244+
* [Protocol] Return correct implementation for an invalid struct pointing to `nil`
245+
* [Stream] Do not raise when `Stream.cycle/1` is explicitly halted
246+
247+
#### ExUnit
248+
249+
* [ExUnit.Diff] Fix regression when diffing nested improper lists
250+
251+
#### IEx
252+
253+
* [IEx.Autocomplete] Fix autocomplete crash when expanding struct with `__MODULE__`
254+
* [IEx.Helpers] Do not purge on `recompile` if IEx is not running
255+
228256
## v1.18.2 (2025-01-22)
229257

230258
### 1. Enhancements

RELEASE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Shipping a new version
44

5-
1. Update version in /VERSION, bin/elixir, bin/elixir.bat, and bin/elixir.ps1
5+
1. Update version in /VERSION, bin/elixir, and bin/elixir.bat
66

77
2. Ensure /CHANGELOG.md is updated, versioned and add the current date
88

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.18.2
1+
1.18.3

bin/elixir

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
set -e
33

4-
ELIXIR_VERSION=1.18.2
4+
ELIXIR_VERSION=1.18.3
55

66
if [ $# -eq 0 ] || { [ $# -eq 1 ] && { [ "$1" = "--help" ] || [ "$1" = "-h" ]; }; }; then
77
cat <<USAGE >&2

bin/elixir.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@echo off
22

3-
set ELIXIR_VERSION=1.18.2
3+
set ELIXIR_VERSION=1.18.3
44

55
if ""%1""=="""" if ""%2""=="""" goto documentation
66
if /I ""%1""==""--help"" if ""%2""=="""" goto documentation

0 commit comments

Comments
 (0)