Skip to content
This repository has been archived by the owner on Sep 26, 2018. It is now read-only.

Releases: aputinski/butane

v3.0.0

27 May 22:47
Compare
Choose a tag to compare
  • Renamed convert() to convertFile()
  • convert() now takes a YAML string and returns a JSON string

v2.2.6

22 May 13:02
Compare
Choose a tag to compare
  • throw error if an undefined function is used

v2.2.5

21 May 00:01
Compare
Choose a tag to compare
  • correctly overwrite nested functions with the same name

v2.2.4

20 May 22:02
Compare
Choose a tag to compare
  • correctly coerce .val() inside computed properties

v2.2.3

20 May 21:27
Compare
Choose a tag to compare
  • correctly coerce .val() inside CallExpression arguments

v2.2.2

20 May 03:02
Compare
Choose a tag to compare
  • correctly coerce .val() inside computed properties
  • correctly replace property syntax inside computed properties

v2.2.1

20 May 02:58
Compare
Choose a tag to compare
  • replace functions inside the return value of registered functions

v2.2.0

18 May 14:44
Compare
Choose a tag to compare
  • convert() now returns the converted rules as an object
  • the output argument of convert() is now optional
  • CLI now prints the converted rules if no output is specified

v2.1.0

11 May 22:20
Compare
Choose a tag to compare
  • Added support for custom functions via the registerFunction() API
  • Added predefined function oneOf()

v2.0.6

11 May 13:14
Compare
Choose a tag to compare
  • Fixed issue where functions passed in as function arguments were not being parsed hasUser(getUser(auth.uid))