Skip to content

Commit

Permalink
Update Changelog for v1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaphoenix committed Oct 23, 2022
1 parent 05b6753 commit 37d466b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,35 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.5.1] - 2022-10-23

### Added

- Added import path shortcuts in the `__init__.py` package constructor to all the user classes. Now you can do e.g.,
`from pywidevine import PSSH` instead of `from pywidevine.pssh import PSSH`. You can still do it both ways.
- Improved error handling and sanitization checks when parsing some Service Certificates in `set_service_certificate()`.

### Changed

- Maximum concurrent Cdm sessions are now set to 16 as it seems tto be a more common limit on more up-to-date CDMs,
including Android's OEMCrypto Library. This also helps encourage people to close their sessions when they are no
longer required.
- Service Certificates are now stored in the session as a `SignedDrmCertificate`. This is to keep the signature with
the stored Certificate for use by the user if necessary. It also reduces code repetition relating to the usage of the
signature.

### Fixed

- Improved reliability of computing License Signatures. Some license messages when parsed would be slightly different
when re-serialized with `SerializeToString()`, therefore the computed signature would have always mismatched.
- Added support for Key IDs that are integer values. Effectively all values are now considered to be a UUID as 16 bytes
(in hex or bytes) or an integer value with support for up to 16 bytes. All integer values are converted to a UUID and
are loaded big-endian.
- Fixed acquisition of the Certificate's provider_id within `set_service_certificate()` in some edge cases, but also
when you try to remove the certificate by setting it to `None`.
- PSSH now dumps in the same version the PSSH was loaded or created in. Previously it would always dump as a v1 PSSH
box due to a cascading check in pymp4. It now also honors the currently set version in the case it gets overridden.

## [1.5.0] - 2022-09-24

With just one change this brings along a reduced dependency tree, smoother experience across different platforms, and
Expand Down Expand Up @@ -296,6 +325,7 @@ This release is primarily a maintenance release for `serve` functionality but so

Initial Release.

[1.5.1]: https://github.com/rlaphoenix/pywidevine/releases/tag/v1.5.1
[1.5.0]: https://github.com/rlaphoenix/pywidevine/releases/tag/v1.5.0
[1.4.4]: https://github.com/rlaphoenix/pywidevine/releases/tag/v1.4.4
[1.4.3]: https://github.com/rlaphoenix/pywidevine/releases/tag/v1.4.3
Expand Down

0 comments on commit 37d466b

Please sign in to comment.