Skip to content

Release 2.10

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 13 May 01:07

Changes

  • Remove simplejson as a fallback. Is no longer required with Python 3.8 plus and
    has worse performance that the builtin json module.

  • Simplify the internals of the Resource metaclass to make it easier to understand
    and maintain. Greater sharing of code between Resource and AnnotatedResource

    This change has no effect on the public API.

    Removes some compatibility code with versions prior to Python 3.8.

  • Support shadowing of fields on a resource. To enabled this feature set the
    allow_field_shadowing meta option to True. This allows for fields to be
    overridden on a resource.

    ResourceObjects now includes a shadow_fields listing all fields shadowed by this
    resource.

Bugfix

  • ResourceOptions.abstract flag was not being set for abstract AnnotatedResrouces.