From 6137146705763485e035bbf4a3b474f9c79078e0 Mon Sep 17 00:00:00 2001 From: Andy Date: Tue, 9 Sep 2025 03:53:42 +0000 Subject: [PATCH] chore: bump version to 1.4.5 and update changelog - Update version from 1.4.4 to 1.4.5 in core/__init__.py - Add comprehensive changelog entry for v1.4.5 with all changes since 1.4.4 - Include enhanced CDM support, caching improvements, and bug fixes --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ unshackle/core/__init__.py | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c6886af..24789c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,37 @@ 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.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.4.5] - 2025-09-09 + +### Added + +- **Enhanced CDM Key Caching**: Improved key caching and session management for L1/L2 devices + - Optimized `get_cached_keys_if_exists` functionality for better performance with L1/L2 devices + - Enhanced cached key retrieval logic with improved session handling +- **Widevine Common Certificate Fallback**: Added fallback to Widevine common certificate for L1 devices + - Improved compatibility for L1 devices when service certificates are unavailable +- **Enhanced Vault Loading**: Improved vault loading and key copying logic + - Better error handling and key management in vault operations +- **PSSH Display Optimization**: Truncated PSSH string display in non-debug mode for cleaner output +- **CDM Error Messaging**: Added error messages for missing service certificates in CDM sessions + +### Changed + +- **Dynamic Version Headers**: Updated User-Agent headers to use dynamic version strings + - DecryptLabsRemoteCDM now uses dynamic version import instead of hardcoded version +- **Intelligent CDM Caching**: Implemented intelligent caching system for CDM license requests + - Enhanced caching logic reduces redundant license requests and improves performance +- **Enhanced Tag Handling**: Improved tag handling for TV shows and movies from Simkl data + - Better metadata processing and formatting for improved media tagging + +### Fixed + +- **CDM Session Management**: Clean up session data when retrieving cached keys + - Remove decrypt_labs_session_id and challenge from session when cached keys exist but there are missing kids + - Ensures clean state for subsequent requests and prevents session conflicts +- **Tag Formatting**: Fixed formatting issues in tag processing +- **Import Order**: Fixed import order issues in tags module + ## [1.4.4] - 2025-09-02 ### Added diff --git a/unshackle/core/__init__.py b/unshackle/core/__init__.py index c0f285b..56dadec 100644 --- a/unshackle/core/__init__.py +++ b/unshackle/core/__init__.py @@ -1 +1 @@ -__version__ = "1.4.4" +__version__ = "1.4.5"