Releases: lion-agi/lionagi
v0.10.1
What's Changed
- feat: add Source model and sources field to Documentation; update ver… by @ohdearquant in #584
Full Changelog: v0.10.0...v0.10.1
v0.10.0
Release Notes (v0.10.0)
What's New:
- Codebase Reorganization: Modules previously under
lionagi/operatives
have been restructured into three clear domains:lionagi/libs/fields
(Pydantic fields & validators)lionagi/models
(fundamental Pydantic models, hashing, parameters)lionagi/protocols
(adapters, messaging, mail, and action protocols)
Breaking Changes:
- Import paths for key classes and functions have changed. If you were importing from
lionagi.operatives.*
, please update references to the new modules (e.g.,lionagi.libs.fields.*
,lionagi.models.*
,lionagi.protocols.*
).
Enhancements:
- Consolidated repeated logic (e.g.,
HashableModel
) into dedicated modules for easier maintenance. - Streamlined test structure to align with the new organization.
Version Bump:
- Bumped version from
0.9.19
to0.10.0
to reflect these significant structural improvements.
Recommended Actions:
- Migration: Update all import statements referencing
operatives
or older modules to point to the new packages. - Review Documentation: Ensure any references in docs or examples match the new file paths.
This release is focused on structural consistency and clarity rather than new features, so the overall functionality remains stable.
What's Changed
- Reorganize structure by @ohdearquant in #583
Full Changelog: v0.9.19...v0.10.0
v0.9.19
Modified
- python_math symbolic mapping, updated to version 1.2
Fixed:
- certain edge cases in
concat_files
What's Changed
- Update python mapping by @ohdearquant in #582
Full Changelog: v0.9.18...v0.9.19
v0.9.18
Added:
python-math mapping
What's Changed
- Add python math mapping for symbolic compression by @ohdearquant in #581
Full Changelog: v0.9.17...v0.9.18
v0.9.17
Added
- brainstormStream
What's Changed
- Update brainstorm by @ohdearquant in #580
Full Changelog: v0.9.16...v0.9.17
v0.9.16
Release Notes (v0.9.16)
Features:
-
Lion Emoji Mapping Resource
- Introduces
lion_emoji_mapping.toml
to expand symbolic compression with lion-themed emoji placeholders. - Helps represent token transformations in a more playful and structured way.
- Introduces
-
Improved Async Task Resilience
symbolic_compress_context
now retries tasks up to three times (num_retries=3
), enhancing stability for longer transformations or concurrency-heavy operations.
Fixes / Maintenance:
- No direct bug fixes, but the retry configuration reduces transient errors in concurrency tasks.
- Bumped version to
0.9.16
to reflect new resource additions.
Upgrade Steps:
- No special steps required. Standard
pip install
or repository pull is sufficient. - For users who already leverage symbolic compression, the new
.toml
resource can be used immediately without code modifications.
What's Changed
- Add lion emoji mapping by @ohdearquant in #579
Full Changelog: v0.9.15...v0.9.16
v0.9.15
Release Notes (v0.9.15)
Release Date: 2025-03-02
New in This Release
-
Advanced Symbolic Compression
- Facilitates up to 90% reduction in Rust codebase size via repeated chunking and mapping.
- Tested with the
gemini-flash2
model on a 50k-line Rust project.
-
Modular Improvements
- File Concatenation: Introduced
concat_files
for flexible multi-file text merges. - Refined Chunking:
process.py
andsymbolic_compress_context.py
unify chunking logic, concurrency, and token-based slicing. - SynthLang Enhancements: Additional repeated encoding passes for even smaller text footprints, while preserving enough detail for LLM comprehension.
- File Concatenation: Introduced
How to Upgrade
- Update to lionagi==0.9.15 using your preferred Python package manager:
pip install --upgrade lionagi
What's Changed
- updated symbolic compress context by @ohdearquant in #578
Full Changelog: v0.9.14...v0.9.15
v0.9.14
Release Notes (v0.9.14)
Highlights
-
Refined Compression API
- Renamed parameters:
system_msg
→system
,target_ratio
→compression_ratio
. - Introduced a new helper function
compress_text()
for perplexity-based compression, consolidating the logic across multiple classes.
- Renamed parameters:
-
Symbolic Compression
- New
symbolic_compress_context()
function for concurrency-based chunk transformations, optionally chaining perplexity compression with SynthLang symbolic conversion. - Added
synthlang_/
resource frameworks (abstract algebra, category theory, etc.) for advanced symbolic representation.
- New
-
TOML Support
TomlAdapter
andTomlFileAdapter
enable reading/writing TOML as first-class citizens in the adapter system..toml
resources are now used to store frameworks, token mappings, and prompts.
-
Resources & Prompts
Resource
andPrompt
classes unify Node-based storage for content, with categories such as “framework” or “prompt”.- Allows advanced reflection on code-based or text-based frameworks.
-
Version
- Bumped to
0.9.14
.
- Bumped to
Breaking Changes
- Code referencing
system_msg
ortarget_ratio
must be updated tosystem
andcompression_ratio
. - Some docstrings have been changed; review parameters in your integrator code.
Upgrade Steps
- Search and Replace
- Change
system_msg
→system
andtarget_ratio
→compression_ratio
in all compression calls.
- Change
- Review Chunking Logic
- If you used
metadata={}
, you may now setmetadata=None
or pass in your own dict at call time.
- If you used
- Check TOML Dependencies
- Confirm
toml
library is installed and pinned to a compatible version. - If you rely on Python 3.11 or later, consider using built-in
tomllib
for performance.
- Confirm
Recommended Next Actions
- Run or extend your unit tests to cover large inputs in
symbolic_compress_context
. - Check concurrency usage and memory footprints for big data sets.
- Explore new
SynthlangTemplate
frameworks for more advanced symbolic transformations.
Added:
example onsymbolic_compress_context
at here
What's Changed
- update text processing and symbolic compression by @ohdearquant in #577
Full Changelog: v0.9.13...v0.9.14
v0.9.13
Added:
created_datetime
property for all element
based classes
What's Changed
- feat: add created_datetime property and bump version to 0.9.13 by @ohdearquant in #575
Full Changelog: v0.9.12...v0.9.13
v0.9.12
added:
- added
name
attribute toSession
object.
What's Changed
- Update session by @ohdearquant in #572
Full Changelog: v0.9.11...v0.9.12