Release notes
Refer to the CHANGELOG for detailed changes derived from Git commit history.
Embeddable API
Release 0.77.0 adds a new embeddable manifest API with Context/Settings, CAWG, and BMFF.v3 support. For details, see Embeddable signing API.
API Changes for C2PA 2.2
Reader has some new methods:
validation_state()returnsValidationState, which can beInvalid,ValidorTrusted. Use this method instead of checking forvalidation_status() = None.validation_results()returnsValidationResults, which is a more complete form ofValidationStatusand returnssuccess,informational, andfailurecodes for the active manifest and ingredients.ValidationStatusis deprecated in favor ofValidationResults.
Ingredient now supports a validation_results() method and a validation_results field.
An AssetType assertion is now supported.
C2PA v2 claims
note
The library now supports C2PA v2 claims by default. V2 claims have many new checks and status codes. Additionally:
- The
title()andformat()methods of bothManifestandIngredientobjects now return anOption<String>because in v2 claims,titleis optional andformatdoes not exist. - The first
actionmust bec2pa.createdorc2pa.opened(which requires an ingredient).
warning
Implementations should not generate deprecated v1 claims. If needed, though, you can generate v1 claims by setting the Builder manifest definition claim_version field to 1.