Skip to content

v0.2.3

Choose a tag to compare

@mahesh-solanke mahesh-solanke released this 25 May 19:05
· 67 commits to main since this release

🚀 New Features (v0.2.3)

🧰 CLI Tool

  • A new CLI (available as devtrack) is introduced:
    • devtrack -- version – Displays the current SDK version (using a new version.py file).
    • 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 that exclude_paths are 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 (and version.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 version and stat commands) as completed

Full Changelog: v0.2.2...v0.2.3