Skip to content

v0.4.0

Latest
Compare
Choose a tag to compare
@L4B0MB4 L4B0MB4 released this 27 Nov 20:59
· 7 commits to master since this release

Copied release notes from https://github.com/[L4B0MB4/PRYVT](https://github.com/L4B0MB4/PRYVT)

Release Summary for v0.4.0

New Features

  • Token-Based Authentication: Introduced token management for user authentication.
    • Added TokenManager for handling JWT tokens.
    • Created new endpoints for issuing and verifying tokens.
    • Implemented middleware to authenticate requests using JWT tokens.

Enhancements

  • Kubernetes Deployment:

    • Added SIGNING_SECRET environment variable to deployment configurations.
    • Updated ingress paths to include versioning (e.g., /api/v1).
  • Codebase Refactor:

    • Moved password hashing to a dedicated helper function.
    • Refactored user creation logic to use hashed passwords.
    • Enhanced user model to include PasswordHash field.
    • Added token request and response models.

Bug Fixes

  • Event Polling: Improved event polling logic to ensure consistent database state.
  • Database Schema: Updated user table schema to include password_hash field.

Dependencies

  • Added github.com/golang-jwt/jwt/v5 for JWT token management.

You can view the detailed changes here.