aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitea/deploy.awk3
-rw-r--r--.gitea/workflows/build.yml33
-rw-r--r--.gitea/workflows/release.yml17
-rw-r--r--CHANGELOG.md63
-rw-r--r--README.md4
-rw-r--r--graphql.cabal10
-rw-r--r--src/Language/GraphQL/Execute/Transform.hs2
7 files changed, 41 insertions, 91 deletions
diff --git a/.gitea/deploy.awk b/.gitea/deploy.awk
deleted file mode 100644
index ed542f0..0000000
--- a/.gitea/deploy.awk
+++ /dev/null
@@ -1,3 +0,0 @@
-END {
- system("cabal upload --username belka --password "ENVIRON["HACKAGE_PASSWORD"]" "$0)
-}
diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml
deleted file mode 100644
index 4732966..0000000
--- a/.gitea/workflows/build.yml
+++ /dev/null
@@ -1,33 +0,0 @@
-name: Build
-
-on:
- push:
- branches:
- - '**'
- pull_request:
- branches: [master]
-
-jobs:
- audit:
- runs-on: buildenv
- steps:
- - uses: actions/checkout@v4
- - run: hlint -- src tests
-
- test:
- runs-on: buildenv
- steps:
- - uses: actions/checkout@v4
- - name: Install dependencies
- run: cabal update
- - name: Prepare system
- run: cabal build graphql-test --enable-tests
- - run: cabal test --test-show-details=streaming --enable-tests
-
- doc:
- runs-on: buildenv
- steps:
- - uses: actions/checkout@v4
- - name: Install dependencies
- run: cabal update
- - run: cabal haddock --enable-documentation
diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml
deleted file mode 100644
index 08e90c2..0000000
--- a/.gitea/workflows/release.yml
+++ /dev/null
@@ -1,17 +0,0 @@
-name: Release
-
-on:
- push:
- tags:
- - '**'
-
-jobs:
- release:
- runs-on: buildenv
- steps:
- - uses: actions/checkout@v4
- - name: Upload a candidate
- env:
- HACKAGE_PASSWORD: ${{ secrets.HACKAGE_PASSWORD }}
- run: |
- cabal sdist | awk -f .gitea/deploy.awk
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f0c8027..c96b46c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,10 @@ The format is based on
and this project adheres to
[Haskell Package Versioning Policy](https://pvp.haskell.org/).
+## [1.5.0.3] - 2026-09-26
+## Fixed
+- Fix endless recursion in Input Show instance.
+
## [1.5.0.2] - 2026-01-08
### Fixed
- Support GHC 9.14 and containers 0.8.
@@ -555,32 +559,33 @@ and this project adheres to
### Added
- Data types for the GraphQL language.
-[1.5.0.2]: https://git.caraus.tech/OSS/graphql/compare/v1.5.0.1...v1.5.0.2
-[1.5.0.1]: https://git.caraus.tech/OSS/graphql/compare/v1.5.0.0...v1.5.0.1
-[1.5.0.0]: https://git.caraus.tech/OSS/graphql/compare/v1.4.0.0...v1.5.0.0
-[1.4.0.0]: https://git.caraus.tech/OSS/graphql/compare/v1.3.0.0...v1.4.0.0
-[1.3.0.0]: https://git.caraus.tech/OSS/graphql/compare/v1.2.0.3...v1.3.0.0
-[1.2.0.3]: https://git.caraus.tech/OSS/graphql/compare/v1.2.0.2...v1.2.0.3
-[1.2.0.2]: https://git.caraus.tech/OSS/graphql/compare/v1.2.0.1...v1.2.0.2
-[1.2.0.1]: https://git.caraus.tech/OSS/graphql/compare/v1.2.0.0...v1.2.0.1
-[1.2.0.0]: https://git.caraus.tech/OSS/graphql/compare/v1.1.0.0...v1.2.0.0
-[1.1.0.0]: https://git.caraus.tech/OSS/graphql/compare/v1.0.3.0...v1.1.0.0
-[1.0.3.0]: https://git.caraus.tech/OSS/graphql/compare/v1.0.2.0...v1.0.3.0
-[1.0.2.0]: https://git.caraus.tech/OSS/graphql/compare/v1.0.1.0...v1.0.2.0
-[1.0.1.0]: https://git.caraus.tech/OSS/graphql/compare/v1.0.0.0...v1.0.1.0
-[1.0.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.11.1.0...v1.0.0.0
-[0.11.1.0]: https://git.caraus.tech/OSS/graphql/compare/v0.11.0.0...v0.11.1.0
-[0.11.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.10.0.0...v0.11.0.0
-[0.10.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.9.0.0...v0.10.0.0
-[0.9.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.8.0.0...v0.9.0.0
-[0.8.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.7.0.0...v0.8.0.0
-[0.7.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.6.1.0...v0.7.0.0
-[0.6.1.0]: https://git.caraus.tech/OSS/graphql/compare/v0.6.0.0...v0.6.1.0
-[0.6.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.5.1.0...v0.6.0.0
-[0.5.1.0]: https://git.caraus.tech/OSS/graphql/compare/v0.5.0.1...v0.5.1.0
-[0.5.0.1]: https://git.caraus.tech/OSS/graphql/compare/v0.5.0.0...v0.5.0.1
-[0.5.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.4.0.0...v0.5.0.0
-[0.4.0.0]: https://git.caraus.tech/OSS/graphql/compare/v0.3...v0.4.0.0
-[0.3]: https://git.caraus.tech/OSS/graphql/compare/v0.2.1...v0.3
-[0.2.1]: https://git.caraus.tech/OSS/graphql/compare/v0.2...v0.2.1
-[0.2]: https://git.caraus.tech/OSS/graphql/compare/v0.1...v0.2
+[1.5.0.3]: https://git.caraus.tech/graphql/diff/?id2=v1.5.0.2&id=v1.5.0.3
+[1.5.0.2]: https://git.caraus.tech/graphql/diff/?id2=v1.5.0.1&id=v1.5.0.2
+[1.5.0.1]: https://git.caraus.tech/graphql/diff/?id2=v1.5.0.0&id=v1.5.0.1
+[1.5.0.0]: https://git.caraus.tech/graphql/diff/?id2=v1.4.0.0&id=v1.5.0.0
+[1.4.0.0]: https://git.caraus.tech/graphql/diff/?id2=v1.3.0.0&id=v1.4.0.0
+[1.3.0.0]: https://git.caraus.tech/graphql/diff/?id2=v1.2.0.3&id=v1.3.0.0
+[1.2.0.3]: https://git.caraus.tech/graphql/diff/?id2=v1.2.0.2&id=v1.2.0.3
+[1.2.0.2]: https://git.caraus.tech/graphql/diff/?id2=v1.2.0.1&id=v1.2.0.2
+[1.2.0.1]: https://git.caraus.tech/graphql/diff/?id2=v1.2.0.0&id=v1.2.0.1
+[1.2.0.0]: https://git.caraus.tech/graphql/diff/?id2=v1.1.0.0&id=v1.2.0.0
+[1.1.0.0]: https://git.caraus.tech/graphql/diff/?id2=v1.0.3.0&id=v1.1.0.0
+[1.0.3.0]: https://git.caraus.tech/graphql/diff/?id2=v1.0.2.0&id=v1.0.3.0
+[1.0.2.0]: https://git.caraus.tech/graphql/diff/?id2=v1.0.1.0&id=v1.0.2.0
+[1.0.1.0]: https://git.caraus.tech/graphql/diff/?id2=v1.0.0.0&id=v1.0.1.0
+[1.0.0.0]: https://git.caraus.tech/graphql/diff/?id2=v0.11.1.0&id=v1.0.0.0
+[0.11.1.0]: https://git.caraus.tech/graphql/diff/?id2=v0.11.0.0&id=v0.11.1.0
+[0.11.0.0]: https://git.caraus.tech/graphql/diff/?id2=v0.10.0.0&id=v0.11.0.0
+[0.10.0.0]: https://git.caraus.tech/graphql/diff/?id2=v0.9.0.0&id=v0.10.0.0
+[0.9.0.0]: https://git.caraus.tech/graphql/diff/?id2=v0.8.0.0&id=v0.9.0.0
+[0.8.0.0]: https://git.caraus.tech/graphql/diff/?id2=v0.7.0.0&id=v0.8.0.0
+[0.7.0.0]: https://git.caraus.tech/graphql/diff/?id2=v0.6.1.0&id=v0.7.0.0
+[0.6.1.0]: https://git.caraus.tech/graphql/diff/?id2=v0.6.0.0&id=v0.6.1.0
+[0.6.0.0]: https://git.caraus.tech/graphql/diff/?id2=v0.5.1.0&id=v0.6.0.0
+[0.5.1.0]: https://git.caraus.tech/graphql/diff/?id2=v0.5.0.1&id=v0.5.1.0
+[0.5.0.1]: https://git.caraus.tech/graphql/diff/?id2=v0.5.0.0&id=v0.5.0.1
+[0.5.0.0]: https://git.caraus.tech/graphql/diff/?id2=v0.4.0.0&id=v0.5.0.0
+[0.4.0.0]: https://git.caraus.tech/graphql/diff/?id2=v0.3&id=v0.4.0.0
+[0.3]: https://git.caraus.tech/graphql/diff/?id2=v0.2.1&id=v0.3
+[0.2.1]: https://git.caraus.tech/graphql/diff/?id2=v0.2&id=v0.2.1
+[0.2]: https://git.caraus.tech/graphql/diff/?id2=v0.1&id=v0.2
diff --git a/README.md b/README.md
index 100f42e..014389d 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,5 @@
# GraphQL implementation in Haskell
-See https://git.caraus.tech/OSS/graphql.
-
This is the core library that provides:
- Parser for the query and schema languages, as well as a printer for the query
@@ -13,7 +11,7 @@ This is the core library that provides:
## Documentation
Report issues on the
-[bug tracker](https://git.caraus.tech/OSS/graphql/issues).
+[bug tracker](https://www.caraus.tech/projects/graphql/issues).
API documentation is available through
[Hackage](https://hackage.haskell.org/package/graphql).
diff --git a/graphql.cabal b/graphql.cabal
index 8711047..f1ce013 100644
--- a/graphql.cabal
+++ b/graphql.cabal
@@ -1,12 +1,12 @@
cabal-version: 3.0
name: graphql
-version: 1.5.0.2
+version: 1.5.0.3
synopsis: Haskell GraphQL implementation
description: Haskell <https://spec.graphql.org/June2018/ GraphQL> implementation.
category: Language
-homepage: https://git.caraus.tech/OSS/graphql
-bug-reports: https://issues.caraus.tech/projects/graphql/issues
+homepage: https://www.caraus.tech/projects/graphql
+bug-reports: https://www.caraus.tech/projects/graphql/issues
author: Danny Navarro <j@dannynavarro.net>,
Matthías Páll Gissurarson <mpg@mpg.is>,
Sólrún Halla Einarsdóttir <she@mpg.is>
@@ -21,12 +21,12 @@ extra-source-files:
CHANGELOG.md
README.md
tested-with:
- GHC == 9.12.2,
+ GHC == 9.12.4,
GHC == 9.14.1
source-repository head
type: git
- location: https://git.caraus.tech/OSS/graphql.git
+ location: https://git.caraus.tech/pub/graphql.git
library
exposed-modules:
diff --git a/src/Language/GraphQL/Execute/Transform.hs b/src/Language/GraphQL/Execute/Transform.hs
index 79de094..e3d14a6 100644
--- a/src/Language/GraphQL/Execute/Transform.hs
+++ b/src/Language/GraphQL/Execute/Transform.hs
@@ -143,7 +143,7 @@ instance Show Input where
where
showObject key value accumulator =
concat [Text.unpack key, ": ", show value] : accumulator
- show variableValue = show variableValue
+ show (Variable variableValue) = show variableValue
-- | Extracts operations and fragment definitions of the document.
document :: Full.Document