Skip to content

Releases: lucianofedericopereira/rest-api-blueprints

v1.4.5 — FastAPI CI fully green

13 Feb 04:17

Choose a tag to compare

What's fixed

FastAPI — unit tests (all 46 passing)

  • bcrypt>=3.2,<4.0 pinnedpasslib 1.7.4 probes bcrypt.__about__.__version__ removed in bcrypt 4.0; pin restores hash_password / verify_password
  • ErrorBudgetTracker float precisionbudget_exhausted was compared before rounding; floating-point division of 1/1000 ÷ 0.001 yields slightly below 100.0, so >= 100.0 returned False; fix: round first, then compare
  • QualityScore.composite() normalization — weights sum to 0.95 (5% reserved); divided raw sum by 0.95 so a perfect input returns exactly 1.0
  • pydantic[email]EmailStr requires email-validator; was missing from dependencies, causing ModuleNotFoundError at test collection
  • A.14 layer boundaries — moved DomainEvent/EventBus, ConflictError, and SQLAlchemy Base from app.core into app.domain; all 3 import-linter contracts pass

Secret scan

  • gitleaks: "results": [] — zero findings