Skip to content

Commit

Permalink
Use Aeson 2.2 by default in preparation for 1.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
IamfromSpace committed Dec 19, 2023
1 parent 8ec1a2b commit 8c7f1b3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ The format is based on [Keep a Changelog][chg] and this project adheres to
successful responses in `{"Right": ...}`.
- `pureRuntime`, `pureRuntimeWithContext`, `fallibleRuntime` and `fallibleRuntimeWithContext`
no longer crash the Lambda runtime if input can't be parsed from JSON.
- By default, Aeson 2.2 is used. This a breaking change only for specific
cases when using or maintaining curated package sets (stackage, nix, etc).
Optionally, one can set the `use-aeson-2-2` flag to `false` to use an older
verison.

## `1.0.1` - 2023-12-15

Expand Down
4 changes: 2 additions & 2 deletions hal.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack
--
-- hash: 135f92bc103710363cac34b23a95869b5a3cdf72e04a2e41652864d0d7559ff7
-- hash: 43aeb1fe8cab6199f506ac5347f73c7cab5c0c647744236c862a5e05ff6b3b1c

name: hal
version: 1.0.1
Expand Down Expand Up @@ -32,7 +32,7 @@ source-repository head
flag use-aeson-2-2
description: Required parsers are split out into a different package
manual: False
default: False
default: True

library
exposed-modules:
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ ghc-options:
flags:
use-aeson-2-2:
description: Required parsers are split out into a different package
default: false
default: true
manual: false

library:
Expand Down

0 comments on commit 8c7f1b3

Please sign in to comment.