Skip to content

v0.18.0

Compare
Choose a tag to compare
@kurtmckee kurtmckee released this 27 Jun 21:40
· 86 commits to production since this release
58a74c5

Features

  • Added a new configuration class ActionProviderConfig with the initial option to scrub_validation_errors (default: True).
    • If disabled, user-provided data may be included in library raised validation errors.

Changes

  • Use UUIDs as action IDs.

  • Scrubbed and non-scrubbed jsonschema errors have been enhanced. They now follow
    the format

    Field '<jsonpath>' (category: '<error_category>'): Input failed schema validation
    

    Sample:

    Field 'data.attributes.name' (category: 'required'): Input failed schema validation
    
  • Pydantic errors will similarly include a category in their error messages.

Dependencies

  • Remove pybase62 as a project dependency.