-
Notifications
You must be signed in to change notification settings - Fork 217
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
Allow aeson 2.0 #2315
Allow aeson 2.0 #2315
Conversation
I wasn't sure if this is safe to merge or if we're still waiting on upstream to fix their bounds before we can test this |
@Gabriel439 I think we'll need to wait at least for informatikr/aeson-pretty#36 in order to build |
aeson-pretty is abandoned (there was a reddit thread asking for package takeover) |
Yeah, I saw the reddit thread at https://www.reddit.com/r/haskell/comments/qape11/aesonpretty_request_for_new_maintainer/. Seems like u/callbyneed is stepping up as a maintainer, so I'm optimistic for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to merge this whenever you're ready
I'm running into a weird issue with a compat change in
I've tested with GHC 8.6.5, 8.8.4, 8.10.7 and 9.0.1. This looks like a bug in GHC or the C-preprocessor, right?! EDIT: If I add the pragma to |
ba06435
to
8755bfc
Compare
I worked around that issue by keeping the CPP in a new module |
https://hackage.haskell.org/package/aeson-2.0.0.0/changelog The one exception is `dhall-lsp-server` where the deprecated `haskell-lsp` dependency is unlikely to gain compatibility with aeson >= 2. See #2270.
This reverts commit f55e68b.
I have reverted the bounds bump in Since I've pushed some code changes, could you do a quick review, @Gabriel439? |
I seem to have hit https://gitlab.haskell.org/ghc/ghc/-/issues/10230. If this keeps bugging us, we could probably start using QuasiQuotes / The original motivation for avoiding QQ seems to have been dhall-lang/dhall-json#12 / ghcjs/ghcjs#617, which seems to have been fixed upstream. |
@sjakobi: Yeah, I would be fine restoring the use of |
string-interpolate increases compile times noticeably, I think due to haskell-src-* packages. |
What features are you looking for? Note that |
The main feature of |
Maybe consider https://discourse.haskell.org/t/pyf-0-10-0-1-format-multi-lines-string/3540/2 which doesn't use haskell-src-ext anymore.
|
@hasufell |
@sjakobi I'm not sure, the only thing about multi-line strings in the README is here: https://github.com/guibou/PyF#multi-line-strings |
While the update to |
https://hackage.haskell.org/package/aeson-2.0.0.0/changelog
Blocked on:
dhall
:(needs another release. v0.15.0 is deprecated)