Starting with aeson-2.2, the some parsing functionality has been moved to attoparsec-aeson, so this package has to be added to the dependencies.
Just bumping the aeson upper bound leads to the following build failure:
[25 of 27] Compiling Snap.Snaplet.Auth.Backends.JsonFile ( src/Snap/Snaplet/Auth/Backends/JsonFile.hs, dist/build/Snap/Snaplet/Auth/Backends/JsonFile.o, dist/build/Snap/Snaplet/Auth/Backends/JsonFile.dyn_o )
src/Snap/Snaplet/Auth/Backends/JsonFile.hs:147:27: error: [GHC-88464]
Variable not in scope: json :: Atto.Parser Value
|
147 | case Atto.parseOnly json d of
| ^^^^
aeson-2.2 will be needed for building with GHC 9.8.
Starting with
aeson-2.2
, the some parsing functionality has been moved toattoparsec-aeson
, so this package has to be added to the dependencies.Just bumping the
aeson
upper bound leads to the following build failure:aeson-2.2
will be needed for building with GHC 9.8.