Skip to content

Commit 30bf84a

Browse files
authored
Merge pull request #39 from contentauth/docs/release-0.5.2
Release notes for v0.5.2
2 parents bff16cb + 4f76569 commit 30bf84a

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

README.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# C2PA Python
22

3-
Python bindings for the C2PA Content Authenticity Initiative (CAI) library.
3+
This repository implements Python bindings for the Content Authenticity Initiative (CAI) library.
44

55
This library enables you to read and validate C2PA data in supported media files and add signed manifests to supported media files.
66

7-
**NOTE**: This is a completely different API from 0.4.0. Check [Release notes](#release-notes) for changes.
7+
**NOTE**: Starting with version 0.5.0, this package has a completely different API from version 0.4.0. See [Release notes](#release-notes) for more information.
88

99
**WARNING**: This is an prerelease version of this library. There may be bugs and unimplemented features, and the API is subject to change.
1010

@@ -18,6 +18,16 @@ pip install -U c2pa-python
1818

1919
This is a platform wheel built with Rust that works on Windows, macOS, and most Linux distributions (using [manylinux](https://github.com/pypa/manylinux)). If you need to run on another platform, see [Development](#development) for information on how to build from source.
2020

21+
### Updating
22+
23+
Determine what version you've got by entering this command:
24+
25+
```
26+
pip list | grep c2pa-python
27+
```
28+
29+
If the version shown is lower than the most recent version, then update by [reinstalling](#installation).
30+
2131
### Reinstalling
2232

2333
If you tried unsuccessfully to install this package before the [0.40 release](https://github.com/contentauth/c2pa-python/releases/tag/v0.4), then use this command to reinstall:
@@ -292,10 +302,22 @@ deactivate
292302

293303
## Release notes
294304

305+
### Version 0.5.2
306+
307+
New features:
308+
309+
- Allow EC signatures in DER format from signers and verify signature format during validation.
310+
- Fix bug in signing audio and video files in ISO Base Media File Format (BMFF).
311+
- Add the ability to verify PDF files (but not to sign them).
312+
- Increase speed of `sign_file` by 2x or more, when using file paths (uses native Rust file I/O).
313+
- Fixes for RIFF and GIF formats.
314+
295315
### Version 0.5.0
296316

297-
- This release rewrites the API to be stream based using a Builder and Reader model.
298-
- The functions now support throwing c2pa.Error values, caught with try/except.
317+
New features in this release:
318+
319+
- Rewrites the API to be stream-based using a Builder / Reader model.
320+
- The functions now support throwing `c2pa.Error` values, caught with `try`/`except`.
299321
- Instead of `c2pa.read_file` you now call `c2pa_api.Reader.from_file` and `reader.json`.
300322
- Read thumbnails and other resources use `reader.resource_to_stream` or `reader.resource.to_file`.
301323
- Instead of `c2pa.sign_file` use `c2pa_api.Builder.from_json` and `builder.sign` or `builder.sign_file`.

0 commit comments

Comments
 (0)