Releases: feteu/asgi-request-duration
Releases · feteu/asgi-request-duration
v1.0.5
✨ Features
- 🆙 Version bump to 1.0.5.
- 📈 Added download badge to
README
for better visibility of package popularity. - 📖 Updated
README.md
to enhance structure and add usage examples for Starlette. - 🛠 Added new Starlette example with
RequestDurationMiddleware
and removed outdated examples.
🔄 Refactor
- 🔧 Refactored decorators to use
Callable
type hints for improved precision and readability. - 🔧 Refactored test fixtures to improve middleware configuration and add new test cases.
- 🔧 Refactored tests to use
TestClass
for header name and precision validation.
🛠 Fixes
- ✏️ Updated pytest configuration to enable verbose output and set asyncio mode for better test behavior.
- ✏️ Improved formatting and example configuration in
README
.
📋 Notes
- 🔄 Updated Starlette dependency for compatibility.
v1.0.4
✨ Features
- 🆙 Version bump to 1.0.4.
🔄 Refactor
- 🔧 Refactored imports to use relative paths for consistency.
📋 Notes
- 🔄 Updated dependencies for compatibility.
v1.0.3
✨ Features
- 🆙 Version bump to 1.0.3.
🔄 Refactor
- 🔧 Refactored
RequestDurationMiddleware
to improve early return logic.
📋 Notes
- ✅ Fully compatible with Python 3.11+.
v1.0.2
✨ Features
- 🆙 Version bump to 1.0.2.
📚 Enhancements
- ✍️ Added type annotations to decorators and exception descriptions.
- ✍️ Added type annotations to constants in the
asgi_request_duration
module. - 📝 Introduced a module docstring to describe the functionality of the ASGI Request Duration package.
🔄 Refactor
- 🔧 Refactored
__all__
declaration to use tuple syntax for better readability and performance.
📋 Notes
- ✅ Fully compatible with Python 3.11+.
v1.0.1
✨ Features
- 🆙 Version bump to 1.0.1.
🐛 Bug Fixes
- ❌ None this time — everything’s smooth sailing!
📋 Notes
- ✅ Fully compatible with Python 3.11+.
v1.0.0
✨ Features
- 🆙 Version bump to 1.0.0.
- 🌟 Updated Starlette to the latest version for improved compatibility and performance.
🐛 Bug Fixes
- ❌ None this time — everything’s smooth sailing!
📋 Notes
- ✅ Fully compatible with Python 3.11+.