@@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 1.5.3] - 2022-12-27
9+
10+ ### Added
11+
12+ - Added a new utility ` load_xml() ` to parse XML data with lxml ignoring Namespaces.
13+ - PSSH class now has a ` __str__ ` and ` __repr__ ` representation to print the object in more Human-friendly and
14+ useful ways. ` str(pssh) ` is now identical to ` pssh.dumps() ` and ` repr(pssh) ` or just ` pssh ` in some cases will
15+ result in a nice overview of the PSSHs contents.
16+ - Added new ` to_playready() ` method to convert Widevine PSSH Data to PlayReady PSSH Data. Please note that the
17+ Checksums for AES-CTR and COCKTAIL KIDs cannot be calculated as the Content Encryption Key would be needed.
18+
19+ ### Changed
20+
21+ - You must now explicitly specify the System ID to use when creating a new PSSH box.
22+ This allows you to now create PlayReady PSSH boxes.
23+ - The ` playready_to_widevine() ` method has been renamed to just ` to_widevine() ` .
24+
25+ ### Fixed
26+
27+ - Fix the capitalization of the ` key_IDs ` field, and it's value when creating a new PSSH box.
28+ - Fix the ability to create v0 PSSH boxes by only setting the ` key_IDs ` field when the version is set to ` 1 ` .
29+ - Fix parsing of Key IDs within PlayReadyHeaders by using the new ` load_xml() ` utility to ignore namespaces so
30+ that ` xpath ` can correctly locate any and all KID tags.
31+ - Fix loading of PlayReadyHeaders (and PlayReadyObjects) as PSSH boxes. It would previously load it under the
32+ Widevine SystemID breaking all PlayReady-specific code after construction.
33+ - Fix support for loading PlayReadyObjects with more than one PlayReadyHeader (more than one record).
34+
835## [ 1.5.2] - 2022-10-11
936
1037### Fixed
@@ -332,6 +359,7 @@ This release is primarily a maintenance release for `serve` functionality but so
332359
333360Initial Release.
334361
362+ [ 1.5.3 ] : https://github.com/rlaphoenix/pywidevine/releases/tag/v1.5.3
335363[ 1.5.2 ] : https://github.com/rlaphoenix/pywidevine/releases/tag/v1.5.2
336364[ 1.5.1 ] : https://github.com/rlaphoenix/pywidevine/releases/tag/v1.5.1
337365[ 1.5.0 ] : https://github.com/rlaphoenix/pywidevine/releases/tag/v1.5.0
0 commit comments