Skip to content

Commit 5ce3879

Browse files
committed
chore: add release notes for 1.1
1 parent f9ef4ef commit 5ce3879

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## 1.1.0 (Mar 25, 2023)
4+
5+
This release adds helpers to ease the transition away from the deprecated features in the 1.0 release. Barring any bugs that require fixing, this is the last planned release in the 1.x series.
6+
7+
### :warning: Deprecated features
8+
9+
- Some deprecations mentioned in the previous release notes weren't actually deprecated in the code. Those will now trigger compiler warnings.
10+
11+
### :sparkles: New features
12+
13+
- `hush` is a new function that takes a `Decode.AsResult.OfParseError` decoder and converts it into a `Js.Json.t => option('a)` decoder (effectively "hushing" the error). This should make the transition away from `Decode.AsOption` easier.
14+
- `literalBool`, `literalTrue`, and `literalFalse` join the other `literal*` decoders that first decode, then further validate the output
15+
- `intUnion` works like `stringUnion` and should make the transition away from `variantFromInt` easier
16+
317
## 1.0.0 (Mar 9, 2023)
418

519
Version 1.0 is here! Very little has changed since 0.11.2; mostly this release indicates the stability (or lack of maintenance, depending on how you look at it) over the last several years. The 1.x releases will be the last to support BuckleScript as we turn our attention to Melange.

0 commit comments

Comments
 (0)