Releases: project-lux/luxy
Releases · project-lux/luxy
v. 0.0.6
Luxy 0.0.6 Release Notes
New Features
- Added caching for Lux configuration to improve performance
- Added
_cached_lux_configto store configuration - Added
clear_lux_config_cache()function to manually refresh config
- Added
- Added support for
default_fieldparameter in configuration - Enhanced filter validation with nested relationships
- Added support for filter class validation in
FilterBuilder
Improvements
- Enhanced logical operator handling
- Improved support for
ANDandNOToperators alongside existingORoperator - Better handling of condition lists in logical operations
- Improved support for
- Added support for dictionary-based values in filters
- Added
.name()method for explicit name filtering - More flexible value handling in
FilterBuilder.__call__- Now supports
Nonevalues for method chaining - Better handling of dictionary vs simple value inputs
- Now supports
Technical Changes
- Modified
FilterBuilder.__init__to acceptfilter_classparameter - Updated query building logic to handle complex logical operations
- Added validation for nested filter relationships using Lux configuration
v.0.0.2
Enhanced Entity Support and API Improvements
Overview
This PR introduces significant improvements to entity handling, filtering capabilities, and overall API functionality. It includes new features, bug fixes, and enhanced error handling to provide a more robust and user-friendly experience.
Key Changes
New Features
- Added support for additional entity types and Lux configuration access
- Implemented broader filtering support for objects beyond dictionaries
- Added Collections support with expanded nested structure handling
- Introduced
partOffunctionality with depth control - Added
.view_urlattribute to simplify URL access - Implemented
get_options()method to expose available filters - Added support for numerical inputs with operators
- Extended filter functionality to accept date inputs
Performance & Reliability
- Made
get()method idempotent through caching implementation - Added logging system to notify users when cached data is being used
- Created formal test suite for reliability validation
Bug Fixes
- Fixed end pages pagination issue
- Resolved filter submission issues that were causing 400 errors #2 Thanks @azaroth42 !
- Removed gender specification URI constraint for broader class compatibility #3 Thanks @azaroth42 !
Developer Experience
- Changed base Lux URL to
base_urlattribute for clarity - Added input validation with clear error messages for unaccepted filters #1 Thanks @azaroth42 !
- Updated documentation to reflect new features and changes
Documentation
- README has been updated to include all new features and changes
- Added comprehensive examples for new filtering capabilities
- Updated usage guidelines for new entity types and collections
Breaking Changes
- Base URL attribute renamed from
lux urltobase_url - Modified filter behavior now requires valid filter types
Testing
- New test suite covers core functionality
- Added regression tests for bug fixes
- Validated caching behavior and filter operations
v.0.0.1
Added basic functionality.