activerecord_json_validator icon indicating copy to clipboard operation
activerecord_json_validator copied to clipboard

Use json_schemer 2.0

Open davishmcclurg opened this issue 1 year ago • 0 comments

This upgrades to json_schemer 2.0, which is the latest major version. It includes support for all current JSON Schema versions and new keywords (eg, unevaluatedProperties). There are also new features that users of this library may find helpful:

  • Symbol key support for schemas and data
  • Custom error messages with i18n or x-error keyword (it would be great to get feedback on this from your users)
  • Global configuration options

Using 2.0 will likely require a major version bump because it comes with breaking changes. See the changelog for more details.

Closes:

  • https://github.com/mirego/activerecord_json_validator/issues/72
  • https://github.com/mirego/activerecord_json_validator/issues/73

davishmcclurg avatar Mar 02 '24 23:03 davishmcclurg