Releases: dhoulb/blork
Releases · dhoulb/blork
Bugfix version
Bugfix version improving how ValueError distinguishes prefixes that already include the function name (to disable auto-prefixing)
Version 8.3.1
Forgot to change the version number in 8.3.0
Minor version
Minor version introducing new features with no breaking changes:
- Add an error string checker, e.g.
check(new TypeError(), "error")
- When ValueError auto-prefixes the name of the calling function, it skips anonymous functions in the stack
- When ValueError auto-prefixes the name of the calling function, it doesn't if the prefix already includes a ': ' colon space.
- Add return string type modifier, e.g.
check(123,
return num)
(changes error message to e.g.Must return X
)
Minor version
Minor version introducing new features with no breaking changes:
- Add string string type, e.g.
"abc"
- Add number string type, e.g.
1234
- Object string type now accepts multiple props (separated by
,
commas) - Add robust nested parenthesis handling in string types (no longer breaks on nested groups, objects, tuples)
- Minor improvements to error messages
Bugfix version
Bugfix version
- Publish release with correct version number in package.json
Minor version
Minor version adding new functionality and making no other breaking changes.
- Add min/max size constraints on types via e.g.
{4,8}
suffix
Bugfix version
Tiny version bump to force republishing to NPM.
Major version
Major version includes two breaking changes:
- Remove
props()
functionality (bloat) - Prepend function name to
ValueError
errors, e.g.MyClass.myFunc(): Must be string...
And also introduces new functionality:
- Add
destack()
method that parsesError.stack
across major browsers
Bugfix version
Fixes a minor issue with default arguments and undefined not showing (received X) correctly in error messages.
Bugfix version
- Minor improvements to error messages