Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Releases: pheekus/svarog

v1.0.0

27 Aug 19:20
187be23
Compare
Choose a tag to compare

1.0.0 (2019-08-27)

Bug Fixes

  • cli: fix version output (d020771)
  • compiler: use the correct float type (regression) (cf94eb8)

Features

  • compiler: add basic type checking for Firestore-specific types (a780672), closes #5
  • global: add universal public interface (5212e53), closes #3

BREAKING CHANGES

  • global: Old-style validators like isSchemaValid(data, strict) are no longer available by
    default.

v0.5.0

26 Aug 09:48
a2862a0
Compare
Choose a tag to compare
v0.5.0 Pre-release
Pre-release

0.5.0 (2019-08-26)

Bug Fixes

  • compiler: fix empty schema output (b102160)
  • compiler: fix incorrect function call descriptor (2cbf72b)
  • compiler: fix loose type checking in generic compiler (7a8d48f)
  • compiler: fix output for object properties described with boolean value (afe870a)
  • compiler: fix required/optional properties checks (f59f203)
  • compiler: make sure type check is always added for lists (cd5fe21)
  • compiler: use the correct equality operator for null (51b4832)

Features

  • compiler: throw when no $id found in schema (6014149)

v0.4.0

14 Aug 12:05
b83ae5c
Compare
Choose a tag to compare
v0.4.0 Pre-release
Pre-release

Breaking changes:

  • helper functions now accept 2 arguments instead of 1
  • cli flag --force will allow overwrite of the Svarog code only from this point on
  • cli will now overwrite the existing Svarog code if it was created with the same pre-release or major version of the package

Fixes:

  • helpers will now use the correct float type (float instead of double)
  • ternary conditional operators were replaced with regular conditions since Firestore didn't seem to support this CEL feature very well

Features and improvements:

  • output is minified by default in this release
  • vendor comments containing version are now added to the output
  • svarog will now check for any additional fields in the resource before proceeding with validation
  • there's now an option to perform "strict" and "loose" checks for "create" and "update" operations respectively

v0.3.0

13 Aug 18:43
43bb25d
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release
chore(global): add license