Releases: Burhan-Q/proompt
Releases · Burhan-Q/proompt
0.2.1
0.2.0
0.1.1
Changes Since Last Release (v0.1.0 → v0.1.1)
Documentation Improvements
- Enhanced docstrings across all base classes (
Context,PromptSection,BasePrompt,BaseProvider) - Added comprehensive documentation for attributes, properties, and methods
- Improved code documentation for better API understanding
Core Functionality Updates
-
Improved argument rendering in
ToolContext:- Better handling of functions with no arguments (displays "Doesn't accept arguments")
- Enhanced formatting for default values and type hints
- Fixed edge cases for parameters without type annotations
-
Enhanced return type handling:
- Improved display of
Nonereturn types in tool contexts - Better handling of empty return type signatures
- Improved display of
Type Hinting Improvements
- Added Generic type parameters to data providers:
FileDataProvider[str]CsvDataProvider[str]SqliteProvider[str]
- Better type safety and IDE support
Code Quality
- Consistent import sorting across modules
- Formatting improvements
- Enhanced test coverage with reorganized and expanded unit tests
Full Changelog: 0.1.0...0.1.1