Skip to content

Commit 7dba8db

Browse files
committed
bump: version 0.10.0 → 0.11.0
1 parent be8886a commit 7dba8db

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
## 0.11.0 (2025-12-01)
2+
3+
### BREAKING CHANGE
4+
5+
- key_hash property now raises ValueError when unset
6+
instead of returning None. Use try/except or check _key_hash directly.
7+
- 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.
8+
- Please delete all domain_cls parameter use with service
9+
10+
### Refactor
11+
12+
- delete claude code comments and remove str | None who aren't compatible with python 3.9
13+
- **domain**: add key_hash validation, public init aliases, and secure repr
14+
- **tests**: mock crypto backends in hasher tests and improve typing in SqlAlchemyApiKeyRepository
15+
- **tests**: restructure unit tests with 100% coverage on core modules
16+
- remove extensibility patterns (generics, entity factory, custom mapping)
17+
- **svc**: remove optional domain cls to service init
18+
- **cli**: modify bad message for updating .env
19+
120
## 0.10.0 (2025-11-26)
221

322
### Feat

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "fastapi-api-key"
3-
version = "0.10.0"
3+
version = "0.11.0"
44
description = "fastapi-api-key provides secure, production-ready API key management for FastAPI. It offers pluggable hashing strategies (Argon2 or bcrypt), backend-agnostic persistence (currently SQLAlchemy), and an optional cache layer (aiocache). Includes a Typer CLI and a FastAPI router for CRUD management of keys."
55
readme = "README.md"
66
authors = [

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)