Skip to content

Major version

Choose a tag to compare

@dhoulb dhoulb released this 14 May 20:31

Major version introducing several breaking changes

  • Add VALUES, KEYS, and CLASS symbol constants
  • Remove _any key function and introduce VALUES to provide the same functionality
  • Add KEYS functionality to check type or case of object keys, e.g. camelCase or kebab-case
  • Add CLASS functionality to check the class of an object
  • Add string case checkers for e.g. variable names (kebab-case, camelCase, snake_case etc)
  • upper and lower checkers work differently (all characters must be UPPERCASE/lowercase)
  • Rename num+, num-, int+, int- checkers to +int etc
  • Add '+' modifier to check for non-empty values with any checker
  • Remove hardcoded '+' checkers like lower+, object+
  • Remove uppercase and lowercase checkers for consistency