Skip to content

Commit 087d1d5

Browse files
committed
Update the changelog to prepare for 0.10
1 parent 9603edb commit 087d1d5

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
## 0.10.0 (Mar 3, 2020)
2+
3+
### :rotating_light: Breaking changes
4+
5+
- All error-related types now live in `Decode.ParseError`. Specifically, this means that `DecodeBase.failure` is now `Decode.ParseError.base`, which is important if you're extending the base errors to create your own custom errors.
6+
7+
### :memo: Documentation
8+
9+
- README explains peer dependencies better
10+
- Nested array decoding is demonstrated in the tests
11+
- Haskell-style object decoding operates on the decoders, not the result
12+
13+
### :heavy_check_mark: Code quality
14+
15+
- Bump dependencies and allow compilation with Bucklescript 7.1
16+
- Internally, use structural typing for typeclasses rather than named modules
17+
118
## 0.9.0 (Oct 7, 2019)
219

320
### :sparkles: New features

docs/decoding-variants.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module R =
3939
let handle = x => (x :> t);
4040
});
4141
42-
module D = DecodeBase.DecodeBase(R.TransformError, R.Monad);
42+
module D = DecodeBase.DecodeBase(R.TransformError, R);
4343
```
4444

4545
Now we have a `D` that is slightly different from the `Decode.AsResult.OfParseError` that we've been using up until now. This `D` can produce `Val` parse errors that can be `InvalidColor` or `InvalidShape`.

0 commit comments

Comments
 (0)