diff --git a/CHANGELOG.md b/CHANGELOG.md index 05217eb..32e6521 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/hal.cabal b/hal.cabal index e5c1ec6..cdc3741 100644 --- a/hal.cabal +++ b/hal.cabal @@ -4,7 +4,7 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: 135f92bc103710363cac34b23a95869b5a3cdf72e04a2e41652864d0d7559ff7 +-- hash: 43aeb1fe8cab6199f506ac5347f73c7cab5c0c647744236c862a5e05ff6b3b1c name: hal version: 1.0.1 @@ -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: diff --git a/package.yaml b/package.yaml index c5566a9..312b6d2 100644 --- a/package.yaml +++ b/package.yaml @@ -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: