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

Releases: aputinski/butane

v3.0.0

27 May 22:47

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

Choose a tag to compare

  • throw error if an undefined function is used

v2.2.5

21 May 00:01

Choose a tag to compare

  • correctly overwrite nested functions with the same name

v2.2.4

20 May 22:02

Choose a tag to compare

  • correctly coerce .val() inside computed properties

v2.2.3

20 May 21:27

Choose a tag to compare

  • correctly coerce .val() inside CallExpression arguments

v2.2.2

20 May 03:02

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

Choose a tag to compare

  • replace functions inside the return value of registered functions

v2.2.0

18 May 14:44

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

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

Choose a tag to compare

  • Fixed issue where functions passed in as function arguments were not being parsed hasUser(getUser(auth.uid))