api-tools-0.11.0.0: changelog
-*-change-log-*-
0.11.0.0 Adam Gundry <adam@well-typed.com> August 2026
* Add support for sets in schemas with @Set T@ syntax. Sets use
'Data.Set.Set' in generated Haskell types, but are represented as
arrays on the JSON and CBOR wire formats. Set element types must
have an 'Ord' instance; note that records and unions do not derive
'Ord' by default, so a set of such a type needs 'datatypesTool''
(or 'defaultDerivedClasses') to add it.
* Breaking: @Set@ is now a reserved word in the schema DSL. A type
previously called @Set@ must be written @'Set'@ (in quotes).
* Avoid deriving `Typeable` as this is unnecessary on recent GHC versions.
* Do not generate pointless identity traversal functions in `traversalTool`.
* Adjust definition of `ChangelogEntryInvalid` to avoid accumulating redundant data.
* Remove `instance PPLines APITableChange`.
* Add `Data.API.Types.defaultValueForType`.
* Add `Data.API.Changes.Types.compactAPITableChanges`.
* Relax dependency bounds and support building on GHC 9.6 through to 9.14.
0.10.1.1 Adam Gundry <adam@well-typed.com> August 2024
* Relax dependency bounds and support building on GHC 9.4 through to 9.10
0.10.1.0 Adam Gundry <adam@well-typed.com> March 2023
* Fix a space leak in CBOR encoding
* Add traversalsTool to Data.API.Tools.Traversal
0.10.0.1 Adam Gundry <adam@well-typed.com> March 2023
* Performance fix in CBOR encoding
0.10.0.0 Adam Gundry <adam@well-typed.com> June 2022
* Adjust dependency bounds and support building on GHC 9.2.x
* Add support for aeson-2.0
* Drop dependency on regex-compat-tdfa
* Expose new module Data.API.JSON.Compat (primarily for internal use)
0.9.0.0 Adam Gundry <adam@well-typed.com> March 2021
* Adjust dependency bounds and support building on GHC 8.10.x
* Drop support for GHC verisons older than 8.4.x
* Expose time parsing API in new module Data.API.Time
0.8.0.2 Adam Gundry <adam@well-typed.com> November 2018
* Relax dependency bounds and support building on GHC 8.4.x and 8.6.x
0.8.0.1 Adam Gundry <adam@well-typed.com> October 2017
* Silently truncate floating point numbers to integers
0.8.0.0 Mikolaj Konarski <mikolaj@well-typed.com> August 2017
* Update to match the published cborg 0.1 API
0.7.0.1 Adam Gundry <adam@well-typed.com> April 2017
* Add support for GHC 8.0 and drop 7.6
* Tweak generated Markdown headers
0.7.0.0 Adam Gundry <adam@well-typed.com> January 2016
* Implement more efficient data migrations
* Change FieldName and TypeName to use Text instead of String
* Adapt to changes in binary-serialise-cbor
0.6.0.1 Adam Gundry <adam@well-typed.com> October 2015
* Support building on GHC 7.10.2 and relax dependencies
0.6 Adam Gundry <adam@well-typed.com> August 2015
* Add tool to generate CBOR Serialise instances, and related code
0.5.2 Adam Gundry <adam@well-typed.com> December 2014
* Fix bug in DeepSeq tool: records not reduced to normal form
* Add instance for NFData Binary
0.5.1 Adam Gundry <adam@well-typed.com> November 2014
* Tool to generate NFData instances (added dependency on deepseq)
* Expose internal module with TH utility functions
* Documentation tweaks
0.5 Adam Gundry <adam@well-typed.com> October 2014
* Tool to generate Aeson FromJSON instances, as well as FromJSONWithErrs
* Add more TypeKind alternatives for custom migrations
* Pretty-printing and error message fixes
* Report correct source locations in quasiquote parsers
* Extend JSON parser to optionally treat newtype filter violations as warnings
* Optionally generate smart constructors for filtered newtypes
0.4.0.1 Adam Gundry <adam@well-typed.com> July 2014
* Widen dependency compatibility to support GHC 7.8.3
0.4 Adam Gundry <adam@well-typed.com> May 2014
* Support read-only fields and default values in JSON parser
* Better error messages when parsing unions
* More accurate version bounds in Cabal file
* Support custom migrations on non-record types
* Add instance IsString APIType
0.3 Adam Gundry <adam@well-typed.com> Apr 2014
* Add tool to perform generic traversals
* Move API normal forms and dependency analysis to a new module
0.2 Chris Dornan <chrisd@irisconnect.co.uk> Feb 2014
* First public release