From 721cbaee17561f3d9b58fb0c4ebe6e3a29d6c73d Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 10 Sep 2019 10:06:48 +0200 Subject: [PATCH] Release 0.5.0.1 --- CHANGELOG.md | 3 ++- docs/tutorial/tutorial.lhs | 7 +++---- graphql.cabal | 4 ++-- package.yaml | 2 +- semaphoreci.sh | 2 +- stack.yaml | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ce3323..2094038 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Change Log All notable changes to this project will be documented in this file. -## [Unreleased] +## [0.5.0.1] - 2019-09-10 ### Added - Minimal documentation for all public symbols. @@ -88,6 +88,7 @@ All notable changes to this project will be documented in this file. ### Added - Data types for the GraphQL language. +[0.5.0.1]: https://github.com/caraus-ecms/graphql/compare/v0.5.0.0...v0.5.0.1 [0.5.0.0]: https://github.com/caraus-ecms/graphql/compare/v0.4.0.0...v0.5.0.0 [0.4.0.0]: https://github.com/caraus-ecms/graphql/compare/v0.3...v0.4.0.0 [0.3]: https://github.com/caraus-ecms/graphql/compare/v0.2.1...v0.3 diff --git a/docs/tutorial/tutorial.lhs b/docs/tutorial/tutorial.lhs index a4943c6..d017ddd 100644 --- a/docs/tutorial/tutorial.lhs +++ b/docs/tutorial/tutorial.lhs @@ -24,7 +24,6 @@ Since this file is a literate haskell file, we start by importing some dependenc > import Data.Time (getCurrentTime) > > import Language.GraphQL -> import Language.GraphQL.Schema (Schema) > import qualified Language.GraphQL.Schema as Schema > import Language.GraphQL.Trans (ActionT(..)) > @@ -37,7 +36,7 @@ example from [graphql.js](https://github.com/graphql/graphql-js). First we build a GraphQL schema. -> schema1 :: Schema IO +> schema1 :: NonEmpty (Schema.Resolver IO) > schema1 = hello :| [] > > hello :: Schema.Resolver IO @@ -67,7 +66,7 @@ returning For this example, we're going to be using time. -> schema2 :: Schema IO +> schema2 :: NonEmpty (Schema.Resolver IO) > schema2 = time :| [] > > time :: Schema.Resolver IO @@ -127,7 +126,7 @@ This will fail Now that we have two resolvers, we can define a schema which uses them both. -> schema3 :: Schema IO +> schema3 :: NonEmpty (Schema.Resolver IO) > schema3 = hello :| [time] > > query3 :: Text diff --git a/graphql.cabal b/graphql.cabal index b8d699e..74a6cf1 100644 --- a/graphql.cabal +++ b/graphql.cabal @@ -4,10 +4,10 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: 6598c2424405b7a92a4672ad7d1a4e8ad768ea47bf3ed0c3c5ae51bac8730301 +-- hash: 0b3b2cb6ec02a4eeaee98d4c003d4cbe68ab81fde1810b06b0b6eeb61010298c name: graphql -version: 0.5.0.0 +version: 0.5.0.1 synopsis: Haskell GraphQL implementation description: This package provides a rudimentary parser for the language. category: Language diff --git a/package.yaml b/package.yaml index 000fdf9..eb45953 100644 --- a/package.yaml +++ b/package.yaml @@ -1,5 +1,5 @@ name: graphql -version: 0.5.0.0 +version: 0.5.0.1 synopsis: Haskell GraphQL implementation description: This package provides a rudimentary parser for the diff --git a/semaphoreci.sh b/semaphoreci.sh index 6202a09..309798a 100755 --- a/semaphoreci.sh +++ b/semaphoreci.sh @@ -19,7 +19,7 @@ test() { } test_docs() { - $STACK --no-terminal ghc -- -Wall -fno-code docs/tutorial/tutorial.lhs + $STACK --no-terminal ghc -- -Wall -Werror -fno-code docs/tutorial/tutorial.lhs $STACK --no-terminal haddock --no-haddock-deps } diff --git a/stack.yaml b/stack.yaml index 8d94ebc..fb57c3f 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,4 +1,4 @@ -resolver: lts-14.4 +resolver: lts-14.5 packages: - '.' extra-deps: []