Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Commit 95b8be8

Browse files
committed
v0.0.20
1 parent 7ceb9a0 commit 95b8be8

9 files changed

+761
-395
lines changed

.gitignore

+8-1
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,11 @@ cython_debug/
178178

179179
# Artur
180180
__*.md
181-
/example*
181+
example*
182+
venv
183+
tests_manual
184+
__*/
185+
*.old
186+
*.log
187+
*.backup
188+
*.tmp

CHANGELOG.md

+16-1
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,27 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/),
66
and this project adheres to [SimpleTool](https://github.com/nchekwa/simpletool-python/tree/master).
77

8+
## [0.0.20] - 2025-01-21 Milestone Alpha1
9+
10+
### Added:
11+
- Added AsyncExitStack import from contextlib
12+
- Completely rewrote the aexit method to use AsyncExitStack for better resource management
13+
- Key improvements:
14+
- Uses AsyncExitStack to properly manage both async and sync resources
15+
- Handles context managers directly through enter_async_context and enter_context
16+
- Uses push_async_callback and push_callback for explicit resource cleanup
17+
- Better error handling with more descriptive logging
18+
- Cleaner code structure with proper async/await patterns
19+
- added `_auto_track_large_object` method to track large objects and prevent memory leaks
20+
- add `factory` create method to create SimpleTool instances
21+
- tool.info now return `Dict` and not `str`
822

923
## [0.0.19] - 2025-01-19 Milestone Alpha2
1024

1125
### Added
12-
- Make SimpleTool picklable by only serializing essential attributes
26+
- Make SimpleTool picklable - only serializing essential attributes
1327
- add output_schema in info property
28+
- add AsyncExitStack for tracking async resources
1429

1530
## [0.0.18] - 2025-01-13 Milestone Alpha2
1631

0 commit comments

Comments
 (0)