From e3a495a778e8ccec18e5d5c494ab3b0eed31b13c Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Thu, 26 Dec 2019 13:05:17 +0100 Subject: [PATCH] Add changelog header and versioning policy --- CHANGELOG.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 745f688..7d4a435 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,14 +1,21 @@ -# Change Log +# Changelog All notable changes to this project will be documented in this file. +The format is based on +[Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to +[Haskell Package Versioning Policy](https://pvp.haskell.org/). + ## [Unreleased] ### Changed -- Renamed `AST.Definition` into `AST.ExecutableDefinition`. +- Rename `AST.Definition` into `AST.ExecutableDefinition`. TypeSystemDefinition and TypeSystemExtension can also be definitions. -- Defined `AST.Definition` as +- Define `AST.Definition` as `newtype Definition = ExecutableDefinition ExecutableDefinition` for now. It should be soon extended to contain missing definition types. -- Removed types `AST.Field`, `AST.InlineFragment` and `AST.FragmentSpread`. + +### Removed +- `AST.Field`, `AST.InlineFragment` and `AST.FragmentSpread`. These types are only used in `AST.Selection` and `AST.Selection` contains now 3 corresponding data constructors, `Field`, `InlineFragment` and `FragmentSpread`, instead of separate types. It simplifies pattern matching