All Versions
21
Latest Version
Avg Release Cycle
23 days
Latest Release
2489 days ago
Changelog History
Page 2
Changelog History
Page 2
-
v0.7.3.0 Changes
- โ Add
JSONSchema
instances for all standard Num types and Scientific.
- โ Add
-
v0.7.2.0 Changes
- โ Add
JSONSchema
instances for Double, Float, Fixed
- โ Add
-
v0.7.1.1 Changes
- ๐ Allow
generic-deriving 1.7.*
- ๐ Allow
-
v0.7.1.0 Changes
- Export
GJSONSchema
type to allow clients to write type signatures forgSchema
andgSchemaWithSettings
.
- Export
-
v0.7.0.2 Changes
- ๐ Allow time 1.5.*
-
v0.7.0.1 Changes
- โฌ๏ธ Drop support for old tasty versions
-
v0.7.0.0 Changes
โ Removed the
Null
constructor fromSchema
, useData.JSON.Schema.Combinators.nullable
instead.โ Added the
Validation
module that can be used to validate a json object against a schema and to get descriptive error messages.โก๏ธ Updates for
Maybe
fixes ingeneric-aeson 0.2.0.0
including more thorough test cases.
-
v0.6.1 Changes
- โ Add JSONSchema instances for tuples up to length 15 (matching aeson 0.8 instances)
- Specify uniqueness for JSONSchema instances for Set.
-
v0.6.1.1 Changes
- ๐ Bugfix: Remove underscores from fields and constructors in generated schemas to match generic-aeson.
-
v0.6 Changes
๐ฅ Breaking changes:
- โ Add
Constant Aeson.Value
type toSchema
- ๐ Change Number to take a
Bound
for the boundary. Before this the upper bound could not be-1
. - ๐ Change
Value
andArray
to take aLengthBound
. The difference from Number is that these values should always be>= 0
if present.
Minor:
- โ Add
Bound { lower :: Maybe Int, upper :: Maybe Int }
- โ Add
unbounded
as a shorthand for aBound
without restrictions - โ Add
LengthBound { lowerLength :: Maybe Int, upperLength :: Maybe Int }
- โ Add
unboundedLength
as a shorthand for aLengthBound
without restrictions - โ Add remaining
JSONSchema
instances based on existing Aeson instances.UTCTime
,Set
, LazyText
, and tuples up to length 7. - โ Add
enum
combinator as a shorthand for creating aChoice
ofConstant
s
- โ Add