summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md15
-rw-r--r--README.md4
-rw-r--r--TODO10
-rw-r--r--graphql.cabal2
4 files changed, 24 insertions, 7 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 673589e..21ed453 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,20 @@
# Change Log
All notable changes to this project will be documented in this file.
+## [0.3] - 2015-09-22
+### Changed
+- Exact match numeric types to spec.
+- Names follow now the spec.
+- AST slightly different for better readability or easier parsing.
+- Replace golden test for test to validate parsing/encoding.
+
+### Added
+- Parsing errors in all cases where `Alternative` is used.
+- GraphQL encoder.
+
+### Fixed
+- Expect braces `inputValueDefinitions` instead of parens when parsing.
+
## [0.2.1] - 2015-09-16
### Fixed
- Include data files for golden tests in Cabal package.
@@ -19,5 +33,6 @@ All notable changes to this project will be documented in this file.
### Added
- Data types for the GraphQL language.
+[0.3]: https://github.com/jdnavarro/graphql-haskell/compare/v0.2.1...v0.3
[0.2.1]: https://github.com/jdnavarro/graphql-haskell/compare/v0.2...v0.2.1
[0.2]: https://github.com/jdnavarro/graphql-haskell/compare/v0.1...v0.2
diff --git a/README.md b/README.md
index dd8928a..1e7b121 100644
--- a/README.md
+++ b/README.md
@@ -9,9 +9,11 @@ but the idea is to be a Haskell port of
should include:
- [x] GraphQL AST
-- [x] Parser for the GraphQL language. See TODO for caveats.
+- [x] Parser for the GraphQL language. See TODO for limitations.
+- [x] Printer for GraphQL. This is not pretty yet.
- [ ] GraphQL Schema AST.
- [ ] Parser for the GraphQL Schema language.
+- [ ] Printer for the GraphQL Schema language.
- [ ] Interpreter of GraphQL requests.
- [ ] Utilities to define GraphQL types and schema.
diff --git a/TODO b/TODO
index 488947e..124d1f9 100644
--- a/TODO
+++ b/TODO
@@ -1,4 +1,5 @@
## AST
+- Docs
- Simplify unnecessary `newtypes` with type synonyms
- Simplify wrapper type constructors. Some types can be just constructors.
- Data type accessors
@@ -6,6 +7,7 @@
- Deal with location
## Parser
+- Docs
- Handle escape characters in string literals
- Guard for `on` in `FragmentSpread`
- Handle `[Const]` grammar parameter. Need examples
@@ -14,8 +16,6 @@
and `attoparsec` for performance.
- Optimize `whiteSpace`, perhaps front the main parser with a lexer.
-## Tests
-
-- Pretty print golden result
-
-## Docs!
+## Printer
+- Add pretty printer.
+- Docs
diff --git a/graphql.cabal b/graphql.cabal
index 3574583..9f944fa 100644
--- a/graphql.cabal
+++ b/graphql.cabal
@@ -1,5 +1,5 @@
name: graphql
-version: 0.2.1
+version: 0.3
synopsis: Haskell GraphQL implementation
description:
This package provides a rudimentary parser for the