Releases: GetShopTV/swagger2
Releases · GetShopTV/swagger2
v2.8.5
- Includes dependency bumps for
aeson
, vector
, lens
, etc.
v2.5
Highlights:
- Add instance for
TimeOfDay
(see #196);
- Add support for
optics
(see #200);
- Slightly better validation errors (see #195);
Fixes and minor changes:
- Minor cleanup (see #194);
- Allow base-4.13 and other GHC-8.8 related stuff (see #198);
- Fix
stack.yaml
(see #201);
v2.2
- Treat unknown properties as validation errors in
validateToJSON
(see #126);
- Add
validateJSON
and validateJSONWithPatternChecker
to validate JSON Value
against Schema
without classes (see #126);
- Add more
Schema
helpers (see #126):
genericNameSchema
— to give a custom schema Generic
-based name;
genericDeclareNamedSchemaNewtype
— to derive NamedSchema
for newtype
s;
declareSchemaBoundedEnumKeyMapping
— to derive more specific Schema
for maps with Bounded
Enum
keys;
- Add a few tests with invalid
Schema
.
v2.1.6
- Add
ToParamSchema
and ToSchema
instances for Fixed
(see #121) and Natural
(see #123);
- Fix instance for
NominalDiffTime
(see #121);
- Fix build for
aeson-1.2.2.0
(see #125).
v2.1.5
- Type error by default when deriving Generic-based instances for mixed sum types (see #118);
- Adjust
allOf
to accept referenced schemas (see #119);
- Add instances for
Identity
(see #116);
- Add Gitter chat badge (see #114).
v2.1.4.1
- GHC-8.2 support (see #95, #106 and #108);
- Documentation corrections (see #105);
- Allow
generics-sop-0.3
(see #102);
- Fix
ToSchema
example in docs (see #104).
v2.1.4
- Add
liftDeclare
(see #100);
- Add
MonadDeclare
instances for all monad transformers (see #100).
v2.1.3
- Add
UUID
instances (see #81).
- Add
TypeError
ToSchema
and ToParamSchema ByteString
instances (see #78)
- Improve documentation for generic sum type instance derivation (see #75)
- Compile warning free (see #82)
v2.1.2
- Minor changes:
- Support
aeson-1.0.0.0
(see #70).