This is a subset of #97, and it just focuses on allowing some newer libraries, and adding a CI run just for GHC 9.0. I think this should be less controversial since no allow-newers are needed at all. This will also enable compatibility with Stackage Nightly as requested by @domenkozar .
As can be seen from the CI build logs, it does use Aeson 2.0.3.0 to build. But it doesn't use the newer bytestring or text yet. This is because haskell-servant/servant/pull/1526 hasn't been released to Hackage yet. But when it does, everything will continue to work seamlessly as can be demonstrated with this command:
cabal build all --constraint='bytestring>=0.11' --constraint='aeson>=2' --constraint='text>=2' --allow-newer=servant-server:text,servant:text,servant-swagger:bytestring,servant-swagger:text -w ghc-9.0.2
This is a subset of #97, and it just focuses on allowing some newer libraries, and adding a CI run just for GHC 9.0. I think this should be less controversial since no allow-newers are needed at all. This will also enable compatibility with Stackage Nightly as requested by @domenkozar .
As can be seen from the CI build logs, it does use Aeson 2.0.3.0 to build. But it doesn't use the newer bytestring or text yet. This is because haskell-servant/servant/pull/1526 hasn't been released to Hackage yet. But when it does, everything will continue to work seamlessly as can be demonstrated with this command: