Releases: aputinski/butane
Releases · aputinski/butane
v3.0.0
- Renamed
convert()
to convertFile()
convert()
now takes a YAML string and returns a JSON string
v2.2.6
- throw error if an undefined function is used
v2.2.5
- correctly overwrite nested functions with the same name
v2.2.4
- correctly coerce
.val()
inside computed properties
v2.2.3
- correctly coerce
.val()
inside CallExpression arguments
v2.2.2
- correctly coerce
.val()
inside computed properties
- correctly replace property syntax inside computed properties
v2.2.1
- replace functions inside the return value of registered functions
v2.2.0
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
- Added support for custom functions via the
registerFunction()
API
- Added predefined function
oneOf()
v2.0.6
- Fixed issue where functions passed in as function arguments were not being parsed
hasUser(getUser(auth.uid))