v0.10.2
Release 0.10.2 - March 24, 2025
We are excited to announce the release of version 0.10.2. This release brings new functionality for media processing, significant refactorings for improved maintainability, and streamlined import paths across the codebase.
New Features
- Image and PDF Processing Utilities:
- Introduced
read_image_to_base64
for converting images to Base64 format. - Added
pdf_to_images
to convert PDF files into images, one per page.
- Introduced
- Enhanced Dependency Management:
- Implemented the
check_import
utility that attempts to install missing packages automatically, improving the developer experience.
- Implemented the
Refactorings and Improvements
- Fields Module Restructuring:
- Moved and consolidated field definitions (e.g.,
Source
,File
,Reason
) into a dedicatedlionagi/fields
package. - Updated all import paths to remove the deprecated
libs
prefix, ensuring a more organized project structure.
- Moved and consolidated field definitions (e.g.,
- Utilities Module Consolidation:
- Centralized common utility functions (e.g.,
check_import
,import_module
,install_import
) intolionagi/utils.py
.
- Centralized common utility functions (e.g.,
- Code Cleanup:
- Removed deprecated parameters and unused imports in several modules.
- Streamlined type definitions in
_types.py
for enhanced clarity and consistency.
Version Bump
- The version number has been updated from 0.10.1 to 0.10.2 in
version.py
,pyproject.toml
, anduv.lock
.
What's Changed
- Move import utils by @ohdearquant in #586
- Move fields from libs into a dedicated folder by @ohdearquant in #587
- refactor: remove deprecated parameters and clean up imports in Branch… by @ohdearquant in #588
- refactor: add import for fields module in _types.py by @ohdearquant in #589
- refactor: streamline import for fields module in _types.py by @ohdearquant in #590
Full Changelog: v0.10.1...v0.10.2