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

compat: Support Aeson 2.2.x #853

Merged
merged 21 commits into from
Apr 21, 2024
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
31 changes: 16 additions & 15 deletions config/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ packages:
- morpheus-graphql-server
- morpheus-graphql
plan:
8.10.7:
deps:
fastsum: 0.1.1.1
graphql: 0.11.1.0
include:
- morpheus-graphql-benchmarks
resolver: lts-18.10
8.2.2:
resolver: lts-11.10
8.4.4:
Expand All @@ -51,8 +44,16 @@ plan:
deps:
prettyprinter: 1.7.0
resolver: lts-16.2
8.10.7:
deps:
fastsum: 0.1.1.1
graphql: 0.11.1.0
include:
- morpheus-graphql-benchmarks
resolver: lts-18.10
9.0.2:
deps:
attoparsec-aeson: 2.1.0.0
dependent-map: 0.2.4.0
dependent-sum: 0.4
resolver: lts-19.28
Expand All @@ -63,26 +64,23 @@ plan:
fraxl: 0.3.0.0
haxl: 2.4.0.0
type-aligned: 0.9.6
resolver: nightly-2023-04-23
resolver: nightly-2024-04-20
skip:
- examples/scotty-fraxl
- examples/scotty-freer-simple
rules:
Glob:
- 0.7.0
- 1.0.0
aeson:
- 1.4.4
- 3.0.0
attoparsec-aeson:
- 2.1.0
- '3'
- 2.1.0.0
- 3.0.0
base:
- 4.7.0
- 5.0.0
bytestring:
- 0.10.4
- 0.12.0
- 0.15.0
containers:
- 0.4.2.1
- 0.7.0
Expand All @@ -95,6 +93,9 @@ rules:
filepath:
- 1.1.0
- 1.5.0
Glob:
- 0.7.0
- 1.0.0
hashable:
- 1.0.0
- 2.0.0
Expand All @@ -109,7 +110,7 @@ rules:
- 3.0.0
optparse-applicative:
- 0.12.0
- 0.18.0
- 0.20.0
prettyprinter:
- 1.7.0
- 2.0.0
Expand Down
6 changes: 3 additions & 3 deletions examples/client/morpheus-graphql-examples-client.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.0.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down Expand Up @@ -39,9 +39,9 @@ executable morpheus-client-example
ghc-options: -Wall
build-depends:
base >=4.7 && <5
, bytestring >=0.10.4 && <0.12
, bytestring >=0.10.4
, file-embed
, morpheus-graphql-client
, req >=2.1.0
, text >=1.2.3.0 && <1.3
, text >=1.2.3.0
default-language: Haskell2010
4 changes: 2 additions & 2 deletions examples/client/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ description: examples of GraphQL APIs

dependencies:
- base >= 4.7 && < 5
- bytestring >= 0.10.4 && < 0.12
- text >= 1.2.3.0 && < 1.3
- bytestring >= 0.10.4
- text >= 1.2.3.0
- morpheus-graphql-client
- req >= 2.1.0
- file-embed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.0.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down Expand Up @@ -35,11 +35,11 @@ executable code-gen-docs-server
ghc-options: -Wall
build-depends:
base >=4.7 && <5
, bytestring >=0.10.4 && <0.12
, containers >=0.4.2.1 && <0.7
, bytestring >=0.10.4
, containers >=0.4.2.1
, morpheus-graphql
, morpheus-graphql-client
, morpheus-graphql-server
, scotty
, text >=1.2.3.0 && <1.3
, text >=1.2.3.0
default-language: Haskell2010
6 changes: 3 additions & 3 deletions examples/code-gen-docs/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ description: examples of GraphQL APIs

dependencies:
- base >= 4.7 && < 5
- bytestring >= 0.10.4 && < 0.12
- text >= 1.2.3.0 && < 1.3
- bytestring >= 0.10.4
- text >= 1.2.3.0
- morpheus-graphql
- morpheus-graphql-server
- morpheus-graphql-client
- scotty
- containers >= 0.4.2.1 && < 0.7
- containers >= 0.4.2.1

executables:
code-gen-docs-server:
Expand Down
8 changes: 4 additions & 4 deletions examples/code-gen/morpheus-graphql-examples-code-gen.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.0.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down Expand Up @@ -51,11 +51,11 @@ executable generated-server
ghc-options: -Wall
build-depends:
base >=4.7 && <5
, bytestring >=0.10.4 && <0.12
, containers >=0.4.2.1 && <0.7
, bytestring >=0.10.4
, containers >=0.4.2.1
, morpheus-graphql
, morpheus-graphql-client
, morpheus-graphql-server
, scotty
, text >=1.2.3.0 && <1.3
, text >=1.2.3.0
default-language: Haskell2010
6 changes: 3 additions & 3 deletions examples/code-gen/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ description: examples of GraphQL APIs

dependencies:
- base >= 4.7 && < 5
- bytestring >= 0.10.4 && < 0.12
- text >= 1.2.3.0 && < 1.3
- bytestring >= 0.10.4
- text >= 1.2.3.0
- morpheus-graphql
- morpheus-graphql-server
- morpheus-graphql-client
- scotty
- containers >= 0.4.2.1 && < 0.7
- containers >= 0.4.2.1

executables:
generated-server:
Expand Down
41 changes: 41 additions & 0 deletions examples/scotty-fraxl/morpheus-graphql-examples-scotty-fraxl.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

name: morpheus-graphql-examples-scotty-fraxl
version: 0.1.0
synopsis: examples
description: Fraxl example of GraphQL APIs
category: web, graphql
homepage: https://github.com/nalchevanidze/morpheus-graphql#readme
bug-reports: https://github.com/nalchevanidze/morpheus-graphql/issues
author: Daviti Nalchevanidze
maintainer: Daviti Nalchevanidze
copyright: (c) 2019 Daviti Nalchevanidze
license: MIT
build-type: Simple

source-repository head
type: git
location: https://github.com/nalchevanidze/morpheus-graphql

executable scotty-server-fraxl
main-is: Main.hs
other-modules:
Fraxl.API
Fraxl.FakeDB
Paths_morpheus_graphql_examples_scotty_fraxl
hs-source-dirs:
src
ghc-options: -Wall
build-depends:
base >=4.7 && <5
, containers >=0.4.2.1
, fraxl
, morpheus-graphql
, mtl >=2.0
, scotty
, text >=1.2.3.0
default-language: Haskell2010
6 changes: 3 additions & 3 deletions examples/scotty-fraxl/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ description: Fraxl example of GraphQL APIs

dependencies:
- base >= 4.7 && < 5
- mtl >= 2.0 && <= 2.3
- text >= 1.2.3.0 && < 1.3
- containers >= 0.4.2.1 && < 0.7
- mtl >= 2.0
- text >= 1.2.3.0
- containers >= 0.4.2.1
- morpheus-graphql
- scotty
- fraxl
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.0.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down Expand Up @@ -33,12 +33,12 @@ executable scotty-server-haxl
ghc-options: -Wall
build-depends:
base >=4.7 && <5
, containers >=0.4.2.1 && <0.7
, containers >=0.4.2.1
, hashable
, haxl
, morpheus-graphql
, morpheus-graphql-app
, mtl >=2.0 && <=2.3
, mtl >=2.0
, scotty
, text >=1.2.3.0 && <1.3
, text >=1.2.3.0
default-language: Haskell2010
6 changes: 3 additions & 3 deletions examples/scotty-haxl/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ description: examples of GraphQL APIs

dependencies:
- base >= 4.7 && < 5
- mtl >= 2.0 && <= 2.3
- text >= 1.2.3.0 && < 1.3
- containers >= 0.4.2.1 && < 0.7
- mtl >= 2.0
- text >= 1.2.3.0
- containers >= 0.4.2.1
- morpheus-graphql
- morpheus-graphql-app
- scotty
Expand Down
16 changes: 8 additions & 8 deletions examples/scotty/morpheus-graphql-examples-scotty.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.0.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down Expand Up @@ -42,22 +42,22 @@ executable scotty-server
src
ghc-options: -Wall
build-depends:
aeson >=1.4.4.0 && <3
aeson >=1.4.4.0
, base >=4.7 && <5
, bytestring >=0.10.4 && <0.12
, containers >=0.4.2.1 && <0.7
, bytestring >=0.10.4
, containers >=0.4.2.1
, extra
, http-types
, morpheus-graphql
, morpheus-graphql-app
, morpheus-graphql-core
, morpheus-graphql-subscriptions
, mtl >=2.0 && <=2.3
, mtl >=2.0
, scotty
, stm
, text >=1.2.3.0 && <1.3
, text >=1.2.3.0
, transformers
, wai-websockets >=1.0 && <=3.5
, wai-websockets >=1.0
, warp
, websockets >=0.11.0 && <=0.13
, websockets >=0.11.0
default-language: Haskell2010
14 changes: 7 additions & 7 deletions examples/scotty/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ description: examples of GraphQL APIs

dependencies:
- base >= 4.7 && < 5
- aeson >= 1.4.4.0 && < 3
- bytestring >= 0.10.4 && < 0.12
- text >= 1.2.3.0 && < 1.3
- containers >= 0.4.2.1 && < 0.7
- mtl >= 2.0 && <= 2.3
- websockets >= 0.11.0 && <= 0.13
- wai-websockets >= 1.0 && <= 3.5
- aeson >= 1.4.4.0
- bytestring >= 0.10.4
- text >= 1.2.3.0
- containers >= 0.4.2.1
- mtl >= 2.0
- websockets >= 0.11.0
- wai-websockets >= 1.0
- morpheus-graphql
- morpheus-graphql-core
- morpheus-graphql-app
Expand Down
12 changes: 6 additions & 6 deletions examples/servant/morpheus-graphql-examples-servant.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.35.0.
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

Expand Down Expand Up @@ -33,15 +33,15 @@ executable servant-server
ghc-options: -Wall
build-depends:
base >=4.7 && <5
, bytestring >=0.10.4 && <0.12
, bytestring >=0.10.4
, file-embed
, http-media
, morpheus-graphql
, morpheus-graphql-subscriptions
, mtl >=2.0 && <=2.3
, mtl >=2.0
, servant-server
, text >=1.2.3.0 && <1.3
, wai-websockets >=1.0 && <=3.5
, text >=1.2.3
, wai-websockets >=1.0
, warp
, websockets >=0.11.0 && <=0.13
, websockets >=0.11.0
default-language: Haskell2010
10 changes: 5 additions & 5 deletions examples/servant/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ description: examples of GraphQL APIs

dependencies:
- base >= 4.7 && < 5
- bytestring >= 0.10.4 && < 0.12
- text >= 1.2.3.0 && < 1.3
- mtl >= 2.0 && <= 2.3
- bytestring >= 0.10.4
- text >= 1.2.3
- mtl >= 2.0
- morpheus-graphql
- morpheus-graphql-subscriptions
- wai-websockets >= 1.0 && <= 3.5
- websockets >= 0.11.0 && <= 0.13
- wai-websockets >= 1.0
- websockets >= 0.11.0
- warp
- servant-server
- http-media
Expand Down
Loading
Loading