All Versions
13
Latest Version
Avg Release Cycle
47 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v1.3.5 Changes
- ๐ Support
aeson-2.0.0.0
- ๐ Support
-
v1.3.5.1 Changes
- ๐ Fix benchmarks for
aeson-2
- ๐ Fix benchmarks for
-
v1.3.4 Changes
- ๐ Support
template-haskell-2.17.0.0
for GHC 9
- ๐ Support
-
v1.3.3 Changes
- ๐ Fix test failure in newer Stack snapshots
-
v1.3.2 Changes
September 29, 2020๐ Performance:
- โก๏ธ Optimized including other schemas in a schema, which previously caused a huge slowdown, and possibly even out-of-memory errors.
-
v1.3.1 Changes
September 25, 2020๐ Bug fixes:
- โก๏ธ Update extra-source-files with files needed for testing
-
v1.3.0 Changes
September 25, 2020๐ฅ Breaking changes:
- ๐จ Refactored types to be correct by construction. Namely, the
schema
parameter inObject schema
now has kindSchema
instead ofSchemaType
, which prevents the possibility of a non-object schema stored in anObject
. This means that any schemas previously annotated with theSchemaType
kind should now be annotated asSchema
. - ๐ Instead of using
IsSchemaObject
is obviated because of this change, so it's been removed. You may use the newIsSchema
instead, if you need it. - ๐
SchemaResult
has been removed from the export list ofData.Aeson.Schema
. You probably won't need this in typical usage of this library, but if you need it, you can always get it fromData.Aeson.Schema.Internal
.
๐ New features:
- โ Add support for unwrapping into included schemas
- โ Add
toMap
- Re-export
showSchema
inData.Aeson.Schema
๐ Bug fixes:
- Avoid requiring
TypeApplications
when usingget
quasiquoter (#16) - ๐ Allow optional quotes around keys, both in getter-expressions and in schema definitions
- ๐ Allow
//
at the beginning of phantom keys (were previously parsed as comments)
๐ Performance:
- ๐ We've added benchmarks! To view performance metrics, you can clone the repo and run
stack bench
. You may also view the benchmark statistics in CI, but due to Circle CI's memory limitations, we're forced to run them with--fast
, so it'll be a factor slower than it would actually be at runtime. - ๐ Fixed the
Show
instance from beingO(n^2)
toO(n)
, wheren
is the depth of the object. ๐ In order to fix some bugs and implement new features, the
schema
quasiquoter took a performance hit. The biggest slowdown occurs if you're including other schemas like:{ user: #UserSchema }
If this causes your build to be noticeably slower, please open an issue. Thanks!
Miscellaneous changes:
- The
Show
instance for objects added some whitespace, from{"foo": 0}
to{ "foo": 0 }
- ๐จ Refactored types to be correct by construction. Namely, the
-
v1.2.0 Changes
June 03, 2020๐ New features:
- โ Add support for phantom keys
- โ Add support for
Try
schemas
-
v1.1.0 Changes
March 28, 2020๐ New features: * Added support for unions * Added
ToJSON
instance for enums generated withmkEnum
-
v1.0.3 Changes
September 27, 2019๐ Support GHC 8.8