Skip to content

Releases: pesu-dev/auth

v2.1

29 Jul 23:53
22e3d4b

Choose a tag to compare

Welcome to PESUAuth v2.1.0 🚀

We're thrilled to announce PESUAuth v2.1.0, an update building on the modernization introduced in v2.0. This release focuses on asynchronous resilience, developer tooling, and smarter automation, making PESUAuth lighter, faster, and more production-ready than ever.

⚡ Async, Lightweight, Automated.

FastAPI was just the beginning — now we go further.

🔁 Improvement Details
Async Enhancements Refactored for fully async-safe execution across the stack
Docker Optimization Reduced image size for faster CI/CD deployments
Parsing Reliability Deterministic profile parsing for consistent output
Background Resilience Automatic CSRF token refresh job to maintain sessions
Tooling New PR templates, issue templates, and stricter CI checks
Documentation & DX Improved contributor workflows in CONTRIBUTING.md

⚙️ Key Improvements

  • Asynchronous refactor for improved concurrency
  • Deterministic parsing of profile fields (no more random order)
  • Background CSRF token refresh loop to keep sessions warm (#89)
  • Smaller Docker image footprint for faster builds
  • 100% test coverage (95% minimum enforced)
  • New GitHub automation — PR source checks and updated staging deployment flows

🧭 Migration Notes

  • No breaking API changes — /authenticate and /readme endpoints behave the same.
  • Default CSRF token is now auto-refreshed in the background; no manual calls required.
  • The deprecated branch-short-code mapping is now fully removed.
  • Docker users benefit from reduced image size automatically.

🧪 Testing and Compatibility

  • Near 100% test coverage achieved, with stricter CI enforcement.
  • New custom exceptions improve error handling consistency.
  • All staging and deployment workflows have been revalidated end-to-end.

📚 Docs

  • Contributor documentation now details dev vs prod workflows.
  • Updated README with live images and contributor badges.

Huge thanks to our contributors for making this possible!

Contributors

Full Changelog: v2.0.0...v2.1

Full Release Notes

New Contributors

PESUAuth v2.0

11 Jul 23:51
8568fb6

Choose a tag to compare

Welcome to PESUAuth v2.0.0 🚀

We're excited to announce the release of PESUAuth v2.0.0, a major refactor that brings the codebase up to date with modern Python tooling and frameworks! 🎉

This version focuses on performance, developer experience, and future-proofing the project by replacing legacy dependencies with modern, async-ready alternatives.

🆕 Modern Ecosystem.

Flask is so 2020. Welcome to FastAPI.

🔁 Migration From → To
Web Framework Flask + Flasgger → FastAPI
HTTP Client requests → httpx
HTML Parser BeautifulSoup (lxml) → selectolax
Validation Manual validation → Pydantic
Dependency Management requirements.txt → uv (w/ lockfile)

⚙️ Key Improvements

  • Asynchronous support for faster HTTP and IO operations
  • Built-in OpenAPI docs at / thanks to FastAPI
  • Faster HTML parsing via selectolax
  • Robust request validation using Pydantic models
  • Cleaner codebase with type hints and declarative logic
  • Modern dependency management using uv

🧭 Migration Notes

  • The /authenticate and /readme endpoints remain unchanged in behavior but are now backed by FastAPI.
  • Legacy requirements.txt is still available for Docker-based workflows, but uv is now the preferred method for local development.
  • All functionality is preserved, with improved error handling and validation.

🧪 Testing and Compatibility

  • All existing tests were updated to reflect the FastAPI and Pydantic interfaces.
  • Functional and integration test coverage expanded across endpoints and input validation paths.

📚 Docs

  • Interactive API docs now available at:

    • / (Swagger UI)
    • /redoc (ReDoc)

This release is the culmination of a focused effort to modernize PESUAuth’s backend infrastructure. Many thanks to everyone involved in this refactor!

Contributors:

  • Refactor: Migrate core authentication from requests and BeautifulSoup to httpx and selectolax by @aditeyabaral in #47
  • Added validation using Pydantic by @ndigvijay in #48
  • Add CONTRIBUTING.md, refactor and clean up directories by @achyu-dev in #51
  • Update app to use FastAPI instead of Flask and Flasgger by @silicoflare in #53

Full Changelog: https://github.com/pesu-dev/auth/commits/v2.0.0