Releases: ryasmi/rulr
Releases · ryasmi/rulr
v4.0.2
v4.0.1
v4.0.0
v3.0.0
Major Changes
Minor Changes
v2.0.0
Major Changes
- Changes warnings from strings to objects. This stops the need for passing in custom functions for i18n support, you can instead loop over the warnings returned and parse them to strings.
- Adds classes: Warning, ExceptionWarning, TypeWarning, RequiredWarning, and RestrictedKeysWarning.
- Adds functions: createWarning, createExceptionWarning, createTypeWarning, createRequiredWarning, createRestrictedKeysWarning.
- Removes functions: pathString, warn, checkBoolWarning, checkThrowWarning, checkTypeWarning, checkRegexWarning, requiredWarning, and restrictToKeysWarning.
- Removes type: PathWarning.