Skip to content

Conversation

@Athroniaeth
Copy link
Owner

No description provided.

BREAKING CHANGE: Please delete all domain_cls parameter use with service
…stom mapping)

BREAKING CHANGE: Remove generic type D, entity_factory parameter, and custom entity/model support. Services and repositories now work directly with ApiKey. Remove extensibility patterns. ApiKeyService no longer accepts entity_factory parameter. SqlAlchemyApiKeyRepository no longer accepts model_cls/domain_cls parameters. Custom entities are no longer supported.
…ecure repr

BREAKING CHANGE: key_hash property now raises ValueError when unset
  instead of returning None. Use try/except or check _key_hash directly.

  - Convert key_hash to property that raises ValueError when unset
  - Add custom __init__ to use public names (key_hash, key_secret) at init
  - Add __repr__ that masks sensitive fields to prevent log leaks
  - Add tests for repr/str security and key_hash validation
@Athroniaeth Athroniaeth merged commit be8886a into main Dec 1, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants