Skip to content

Releases: GetShopTV/swagger2

v2.8.9

17 Jul 15:48
1ceac96
Compare
Choose a tag to compare

Full Changelog: v.2.8.8...v2.8.9

v2.8.5

18 Oct 17:43
Compare
Choose a tag to compare
  • Includes dependency bumps for aeson, vector, lens, etc.

v2.5

23 Nov 10:51
v2.5
7879efa
Compare
Choose a tag to compare

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

17 Oct 11:12
ddbca29
Compare
Choose a tag to compare
  • 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.

v2.1.6

21 Sep 21:19
047caac
Compare
Choose a tag to compare
  • 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

10 Sep 11:20
057d6b2
Compare
Choose a tag to compare
  • 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

10 Sep 11:20
v2.1.4.1
Compare
Choose a tag to compare
  • 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

25 Apr 19:11
4457238
Compare
Choose a tag to compare
  • Add liftDeclare (see #100);
  • Add MonadDeclare instances for all monad transformers (see #100).

v2.1.3

25 Apr 19:11
v2.1.3
Compare
Choose a tag to compare
  • 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

09 Aug 07:00
af164c1
Compare
Choose a tag to compare
  • Minor changes:
    • Support aeson-1.0.0.0 (see #70).