forked from OSS/graphql-spice
37 lines
1.3 KiB
Markdown
37 lines
1.3 KiB
Markdown
# 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]
|
|
### Added
|
|
- Add `deriveToGraphQL` for deriving `ToGraphQL` instances automatically.
|
|
- Add `deriveFromGraphQL`for deriving `FromGraphQL` instances automatically.
|
|
|
|
## [1.0.2.0] - 2023-07-07
|
|
### Added
|
|
- `ToGraphQL` and `FromGraphQL` instances for `Word` types, `Float`, `Double`,
|
|
and `Scientific`.
|
|
- `ToGraphQL` and `FromGraphQL` instances for `Day`, `DiffTime`,
|
|
`NominalDiffTime`, `UTCTime`, `LocalTime` and `TimeOfDay`.
|
|
- `Resolver`: Export `ServerException`.
|
|
- `Resolver.defaultResolver`: Throw `FieldNotResolvedException` if the requested
|
|
field is not in the parent object.
|
|
|
|
## [1.0.1.0] - 2023-02-17
|
|
### Added
|
|
- `ToGraphQL` and `FromGraphQL` typeclasses with instances for basic types.
|
|
- `Resolver` module with `argument` and `defaultResolver` helper functions.
|
|
|
|
## 1.0.0.0 - 2022-03-29
|
|
### Added
|
|
- JSON serialization.
|
|
- Test helpers.
|
|
|
|
[Unreleased]: https://git.caraus.tech/OSS/graphql-spice/compare/v1.0.2.0...master
|
|
[1.0.2.0]: https://git.caraus.tech/OSS/graphql-spice/compare/v1.0.1.0...v1.0.2.0
|
|
[1.0.1.0]: https://git.caraus.tech/OSS/graphql-spice/compare/v1.0.0.0...v1.0.1.0
|