Skip to content

v 1.2.0

Choose a tag to compare

@Craxti Craxti released this 27 Nov 08:22

QakeAPI 1.2.0 Release

πŸŽ‰ What's New

✨ Major Features

Authentication & Authorization System

  • JWT Token Support - Full JWT token creation and verification using standard library only
  • Session Management - Built-in session management with automatic expiration
  • @require_auth Decorator - Easy authentication verification for protected routes
  • @require_role Decorator - Role-based access control (RBAC) support
  • Token Location Flexibility - Support for tokens in headers or cookies
  • Complete Auth Example - Full working example in examples/auth_example.py

πŸ”§ Improvements

  • CI/CD Pipeline - Added GitHub Actions workflows for automated testing and PyPI publishing
  • Version Consistency - All files now use version 1.2.0 consistently
  • Code Cleanup - Removed emojis from code examples (kept in documentation)
  • Build Verification - Automated package build verification in CI

πŸ“¦ New Functions & Classes

Authentication:

  • init_auth() - Initialize authentication system
  • create_token() - Create JWT tokens
  • decode_token() - Verify and decode JWT tokens
  • create_session() / get_session() / delete_session() - Session management
  • JWTManager - JWT token manager class
  • SessionManager - Session manager class

Decorators:

  • @require_auth() - Authentication decorator
  • @require_role() - Role-based authorization decorator

πŸ“š Documentation

  • Complete authentication example with login, protected routes, and role-based access
  • Updated all examples to version 1.2.0
  • Comprehensive API documentation

πŸ› Bug Fixes & Maintenance

  • Fixed version inconsistencies across the project
  • Improved code organization
  • Enhanced test coverage

πŸ“₯ Installation

pip install qakeapi==1.2.0## πŸ”— Links

πŸ™ Thanks

Thank you for using QakeAPI! This release brings enterprise-ready authentication and authorization capabilities to the framework.