Skip to content

Roadmap to v2 #12

@emirror-de

Description

@emirror-de

This is a living document. If you want to suggest changes or get involved head over to the discussion.

If you are happy to implement a feature on the following list, leave a comment in the issue that is specific for the todo. If no issue exists yet, you are welcome to create one.

To further improve the developer experience, API and features of this crate the following things should be done to release v2.0.0 of axum-gate.

API changes

  • The CookieTemplate builder pattern should be updated by adding with_ prefix to all builder functions. This should clearly separate the builder functions from getters of an instance.
  • The Gate::bearer builder pattern for a static token is currently not straight forward. A static token does not require an issuer or codec.
  • The Gate constructors should not contain the issuer and codec. Instead, these functions should be added as builder functions like with_issuer and with_codec for better readability and API clarity.

Feature changes/updates

  • Drop aws_lc_rs feature
  • Use SeaORM v2, drop support for v1
  • Automatic JWT renewal algorithm
  • Capability of remote invalidation of JWT
  • JWT secret rotation algorithm (in combination with renewal)
  • RateLimitGate implementation
  • IpFilterGate implementation
  • CorsGate implementation
  • SecurityHeadersGate implementation
  • UserAgentGate implementation
  • IpBanGate implementation
  • PenetrationDetectionGate implementation
  • Add AccountRepository::query_all_accounts
  • Add GroupRepository trait for dynamic group usage
  • AccountId is used as internal primary identifier

Integrations

  • Add support for easy Leptos integration, see this discussion for inspiration

Community & Management

  • Redesign issue templates

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions