Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Aeson 2.2 by default in preparation for 1.1 #133

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading