Skip to content

Commit

Permalink
Minimum supported Flow version is now 0.115
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Jun 23, 2021
1 parent 5a5e8a4 commit 9f24a4b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

# Some key Flow versions that have seen syntax or semantic changes that
# required updates to decoders
flow-version: [0.103.0, 0.123.0, current]
flow-version: [0.115.0, 0.123.0, current]

steps:
- uses: actions/checkout@v1
Expand Down
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
## v1.24.2
## v1.25.0

- Fix signature of `oneOf()` to reflect it can only be used with scalar values
- Fix signature of `oneOf()` to reflect it can only be used with scalar/constant values

- In TypeScript, the inferred type for `oneOf(['foo', 'bar'])` will now be
`Decoder<'foo' | 'bar'>` instead of `Decoder<string>` 🎉

- Drop support for Flow versions < 0.115.0

## v1.24.1

Expand Down

0 comments on commit 9f24a4b

Please sign in to comment.