diff --git a/CHANGELOG.md b/CHANGELOG.md index 786efde..4f2c5a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,8 @@ The format is based on and this project adheres to [Haskell Package Versioning Policy](https://pvp.haskell.org/). -## [Unreleased] -### Changed +## [1.0.6.0] - 2024-12-06 +### Added - `Language.GraphQL.Class.gql` is moved to `Language.GraphQL.TH` where it was before in `graphql`. @@ -46,7 +46,7 @@ and this project adheres to - JSON serialization. - Test helpers. -[Unreleased]: https://git.caraus.tech/OSS/graphql-spice/compare/v1.0.5.0...master +[1.0.6.0]: https://git.caraus.tech/OSS/graphql-spice/compare/v1.0.5.0...v1.0.6.0 [1.0.5.0]: https://git.caraus.tech/OSS/graphql-spice/compare/v1.0.4.0...v1.0.5.0 [1.0.4.0]: https://git.caraus.tech/OSS/graphql-spice/compare/v1.0.3.0...v1.0.4.0 [1.0.3.0]: https://git.caraus.tech/OSS/graphql-spice/compare/v1.0.2.0...v1.0.3.0 diff --git a/graphql-spice.cabal b/graphql-spice.cabal index 750b38c..7962f49 100644 --- a/graphql-spice.cabal +++ b/graphql-spice.cabal @@ -1,7 +1,7 @@ cabal-version: 3.0 name: graphql-spice -version: 1.0.5.0 +version: 1.0.6.0 synopsis: GraphQL with batteries description: Various extensions and convenience functions for the core graphql package. @@ -39,7 +39,7 @@ library containers >= 0.6 && < 0.8, exceptions ^>= 0.10.4, hspec-expectations >= 0.8.2 && < 0.9, - graphql >= 1.3.0 && < 1.6.0, + graphql ^>= 1.5.0, megaparsec >= 9.0 && < 10, scientific ^>= 0.3.7, template-haskell >= 2.16 && < 3, diff --git a/tests/Language/GraphQL/DirectiveSpec.hs b/tests/Language/GraphQL/DirectiveSpec.hs index 030fc79..77df3ef 100644 --- a/tests/Language/GraphQL/DirectiveSpec.hs +++ b/tests/Language/GraphQL/DirectiveSpec.hs @@ -4,7 +4,6 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE QuasiQuotes #-} -{-# LANGUAGE PackageImports #-} module Language.GraphQL.DirectiveSpec ( spec @@ -14,7 +13,7 @@ import Language.GraphQL.AST.Document (Name) import Data.HashMap.Strict (HashMap) import qualified Data.HashMap.Strict as HashMap import qualified Language.GraphQL as GraphQL -import "graphql-spice" Language.GraphQL.TH +import Language.GraphQL.TH import Language.GraphQL.Type import qualified Language.GraphQL.Type.Out as Out import Test.Hspec (Spec, describe, it) diff --git a/tests/Language/GraphQL/FragmentSpec.hs b/tests/Language/GraphQL/FragmentSpec.hs index 18eb643..2b44312 100644 --- a/tests/Language/GraphQL/FragmentSpec.hs +++ b/tests/Language/GraphQL/FragmentSpec.hs @@ -4,7 +4,6 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE QuasiQuotes #-} -{-# LANGUAGE PackageImports #-} module Language.GraphQL.FragmentSpec ( spec @@ -17,7 +16,7 @@ import Data.HashMap.Strict (HashMap) import Language.GraphQL.Type import Language.GraphQL.Error import qualified Language.GraphQL.Type.Out as Out -import "graphql-spice" Language.GraphQL.TH +import Language.GraphQL.TH import qualified Language.GraphQL as GraphQL import Test.Hspec (Spec, describe, it) import Test.Hspec.GraphQL diff --git a/tests/Language/GraphQL/RootOperationSpec.hs b/tests/Language/GraphQL/RootOperationSpec.hs index 8508c42..118e6d4 100644 --- a/tests/Language/GraphQL/RootOperationSpec.hs +++ b/tests/Language/GraphQL/RootOperationSpec.hs @@ -4,7 +4,6 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE QuasiQuotes #-} -{-# LANGUAGE PackageImports #-} module Language.GraphQL.RootOperationSpec ( spec @@ -15,7 +14,7 @@ import qualified Data.HashMap.Strict as HashMap import Language.GraphQL import Language.GraphQL.AST (Name) import Test.Hspec (Spec, describe, it) -import "graphql-spice" Language.GraphQL.TH +import Language.GraphQL.TH import Language.GraphQL.Type import qualified Language.GraphQL.Type.Out as Out import Test.Hspec.GraphQL diff --git a/tests/Language/GraphQL/THSpec.hs b/tests/Language/GraphQL/THSpec.hs index ffa6db6..06235f0 100644 --- a/tests/Language/GraphQL/THSpec.hs +++ b/tests/Language/GraphQL/THSpec.hs @@ -4,14 +4,13 @@ {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE QuasiQuotes #-} -{-# LANGUAGE PackageImports #-} module Language.GraphQL.THSpec ( spec ) where import Data.Text (Text) -import "graphql-spice" Language.GraphQL.TH (gql) +import Language.GraphQL.TH (gql) import Test.Hspec (Spec, describe, it, shouldBe) spec :: Spec