Skip to content

0.53.4#705

Merged
Amourspirit merged 2 commits into
developfrom
0.53.4
May 23, 2025
Merged

0.53.4#705
Amourspirit merged 2 commits into
developfrom
0.53.4

Conversation

@Amourspirit
Copy link
Copy Markdown
Owner

This pull request introduces several updates to the ooodev library, including improvements to type annotations, a new utility method for version parsing, and corresponding tests. It also includes a version bump for the library. Below is a summary of the most important changes:

Enhancements to Utilities and Type Annotations

  • Replaced @overload annotations with explicit method definitions for get_reg_item_prop and is_type_enum_multi functions, improving clarity and maintainability of type annotations in ooodev/utils/info.py. [1] [2]

New Features

  • Added a classproperty version_info to Info in ooodev/utils/info.py, which provides the running LibreOffice version as a tuple. This is accompanied by a new static method parse_version_string_to_int_tuple for parsing version strings into tuples.

Testing Enhancements

  • Introduced a new test, test_parse_version_string_to_int_tuple, in tests/test_info/test_info.py to validate the behavior of the parse_version_string_to_int_tuple method, covering various edge cases and input types.

Version Update

  • Updated the library version in pyproject.toml from 0.53.3 to 0.53.4 to reflect the new features and changes.

@Amourspirit Amourspirit merged commit bc50337 into develop May 23, 2025
1 check passed
@Amourspirit Amourspirit deleted the 0.53.4 branch May 23, 2025 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant