Repository navigation
v0.2.3
🚀 New Features (v0.2.3)
🧰 CLI Tool
- A new CLI (available as
devtrack) is introduced:devtrack -- version– Displays the current SDK version (using a newversion.pyfile).devtrack stat– Detects and displays (e.g., from your local endpoint) the DevTrack stats.--top– Show top N endpoints (optional)--sort-by– Sort by'hits'or'latency'(default:hits)
- A demo screenshot (
static/CLIDemo.png) is added to illustrate CLI usage.
🛠 Improved Middleware & Logging
- Refactored
DevTrackMiddleware(and extractor) so thatexclude_pathsare appended directly (simplified initialization). - Enhanced request body buffering and logging (e.g., asynchronous JSON handling and sensitive data filtering).
- Updated the example FastAPI app to demonstrate improved request handling.
🗂 Project & Documentation Enhancements
- Updated
pyproject.toml:- Refined package discovery
- Updated dependencies (including Typer for CLI support)
- Improved metadata
- Updated
setup.py(andversion.py) to dynamically read the version (instead of importing the package). - Renamed “Usage” (in
README) to “Usage & CLI Tool”:- Added detailed CLI instructions
- Included demo screenshot
- Updated the TODO list:
- Marked “CLI tool” (with
versionandstatcommands) as completed
- Marked “CLI tool” (with
Full Changelog: v0.2.2...v0.2.3