From 24fdff0ff1aefb5b315c7bb058060913b2720a86 Mon Sep 17 00:00:00 2001 From: masklinn Date: Mon, 30 Mar 2026 21:19:40 +0200 Subject: [PATCH] Bump versions in preparation for new releases ua-parser 1.0.2 --------------- - Fixed bug in yaml and json loaders, mostly (but not exclusively) affecting windows (non-ascii regex files would fail to parse) - Added caching by default to the regex and re2 resolvers. - Dropped Python 3.9 - Added support for Python 3.13, 3.14, 3.14t, graal25 ua-parser-rs 0.1.5 ------------------ Updates to ua-parser (rust) 0.2.2, which brings the following improvements, mostly from regex-filtered 0.2.1: - hashset replaced by a bespoke intset - fix generation of atoms from repetitions and concatenations, should improve filtering quality in some edge cases These eke out a few % improvement on prefiltering, but the impact on `ua-parser` seems unnoticeable. --- pyproject.toml | 2 +- src/ua_parser/__init__.py | 2 +- ua-parser-rs/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 230fef3..42a5a14 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta" [project] name = "ua-parser" description = "Python port of Browserscope's user agent parser" -version = "1.0.1" +version = "1.0.2" readme = "README.rst" requires-python = ">=3.10" dependencies = ["ua-parser-builtins"] diff --git a/src/ua_parser/__init__.py b/src/ua_parser/__init__.py index 844aac9..6f348d6 100644 --- a/src/ua_parser/__init__.py +++ b/src/ua_parser/__init__.py @@ -72,7 +72,7 @@ ) -VERSION = (1, 0, 1) +VERSION = (1, 0, 2) class Parser: diff --git a/ua-parser-rs/Cargo.toml b/ua-parser-rs/Cargo.toml index 1715929..672bab7 100644 --- a/ua-parser-rs/Cargo.toml +++ b/ua-parser-rs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ua-parser-rs" -version = "0.1.4" +version = "0.1.5" edition = "2024" license = "Apache 2.0" description = "A native accelerator for uap-python"