@@ -5,6 +5,35 @@ 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.1] - 2022-10-23
9+
10+ ### Added
11+
12+ - Added import path shortcuts in the ` __init__.py ` package constructor to all the user classes. Now you can do e.g.,
13+ ` from pywidevine import PSSH ` instead of ` from pywidevine.pssh import PSSH ` . You can still do it both ways.
14+ - Improved error handling and sanitization checks when parsing some Service Certificates in ` set_service_certificate() ` .
15+
16+ ### Changed
17+
18+ - Maximum concurrent Cdm sessions are now set to 16 as it seems tto be a more common limit on more up-to-date CDMs,
19+ including Android's OEMCrypto Library. This also helps encourage people to close their sessions when they are no
20+ longer required.
21+ - Service Certificates are now stored in the session as a ` SignedDrmCertificate ` . This is to keep the signature with
22+ the stored Certificate for use by the user if necessary. It also reduces code repetition relating to the usage of the
23+ signature.
24+
25+ ### Fixed
26+
27+ - Improved reliability of computing License Signatures. Some license messages when parsed would be slightly different
28+ when re-serialized with ` SerializeToString() ` , therefore the computed signature would have always mismatched.
29+ - Added support for Key IDs that are integer values. Effectively all values are now considered to be a UUID as 16 bytes
30+ (in hex or bytes) or an integer value with support for up to 16 bytes. All integer values are converted to a UUID and
31+ are loaded big-endian.
32+ - Fixed acquisition of the Certificate's provider_id within ` set_service_certificate() ` in some edge cases, but also
33+ when you try to remove the certificate by setting it to ` None ` .
34+ - PSSH now dumps in the same version the PSSH was loaded or created in. Previously it would always dump as a v1 PSSH
35+ box due to a cascading check in pymp4. It now also honors the currently set version in the case it gets overridden.
36+
837## [ 1.5.0] - 2022-09-24
938
1039With just one change this brings along a reduced dependency tree, smoother experience across different platforms, and
@@ -296,6 +325,7 @@ This release is primarily a maintenance release for `serve` functionality but so
296325
297326Initial Release.
298327
328+ [ 1.5.1 ] : https://github.com/rlaphoenix/pywidevine/releases/tag/v1.5.1
299329[ 1.5.0 ] : https://github.com/rlaphoenix/pywidevine/releases/tag/v1.5.0
300330[ 1.4.4 ] : https://github.com/rlaphoenix/pywidevine/releases/tag/v1.4.4
301331[ 1.4.3 ] : https://github.com/rlaphoenix/pywidevine/releases/tag/v1.4.3
0 commit comments