openapi3 v2.2.1 Release Notes

    • โž• Add Semigroup instances
    • GHC-8.4 compatibility
    • ๐Ÿ‘€ `Schema (NonEmpty a) instance (see #141)
    • ๐Ÿ›  Fix optional property for unary records (see #142)
    • โž• Add fromAesonOptions helper (see #146)
    • ๐Ÿ›  Fix non-termination when using datatypeNameModifier with recursive data types (see #132)

    2.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 newtypes;
      • declareSchemaBoundedEnumKeyMapping โ€” to derive more specific Schema for maps with Bounded Enum keys;
    • โž• Add a few tests with invalid Schema.