Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/towncrier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ jobs:
)
previous = tomllib.loads(base.decode())["tool"]["poetry"]["version"]
current = tomllib.loads(Path("pyproject.toml").read_text())["tool"]["poetry"]["version"]
assert previous == current, (previous, current)
assert previous == current or previous.startswith(current + ".dev"), (
previous, current
)
parts = current.split(".")
assert len(parts) == 3 and all(p.isdigit() for p in parts), current

Expand Down
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,40 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang

<!-- towncrier release notes start -->

## [0.7.0](https://github.com/agustin18/fastapi-cache/tree/v0.7.0) - 2026-11-23

### Bugfixes

- Make RedisBackend.get_with_ttl return the documented (TTL, bytes-or-None) tuple rather than forwarding redis-py's pipeline list; preserve Redis TTL sentinels and the cache value without changing key formats. [#111](https://github.com/agustin18/fastapi-cache/issues/111)

### Improved Documentation

- Use the published package version as the validation authority for the navigable docs and manual Pages checks, refresh the public roadmap and hosting runbook, and repin the isolated published-before/after migration demonstration to 0.6.0 without deploying a website. [#48](https://github.com/agustin18/fastapi-cache/issues/48)
- Correct the published 0.6.0 documentation archive and add a dedicated 0.7.0 execution and issue-alignment page. [#115](https://github.com/agustin18/fastapi-cache/issues/115)
- Publish the Zensical documentation site from stable through GitHub Pages, with a read-only build, restricted deploy job, link and current-release checks, automatic documentation deployment, improved backend navigation and edit links. [#116](https://github.com/agustin18/fastapi-cache/issues/116)
- Record the live GitHub Pages documentation URL, update the hosting guide and package documentation metadata, and add the PyPI social link. [#117](https://github.com/agustin18/fastapi-cache/issues/117)
- Record the live GitHub Pages deployment in the roadmap and 0.7.0 execution plan, and keep immutable version routes as the remaining documentation follow-up. [#118](https://github.com/agustin18/fastapi-cache/issues/118)
- Render Material and other icon shortcodes in the documentation site, and fail docs CI if raw icon shortcodes leak into built HTML. [#119](https://github.com/agustin18/fastapi-cache/issues/119)
- Put the documentation link at the top of the README and add the Python compatibility badge; the repository home page now points to the live documentation site. [#127](https://github.com/agustin18/fastapi-cache/issues/127)
- Align unreleased 0.7.0 roadmap and public guidance after merging scoped InMemory TTL and cache-HIT conditional 304 fixes, while preserving the published 0.6.0 contract and deferred app/non-HTTP API decisions. [#129](https://github.com/agustin18/fastapi-cache/issues/129)
- Prepare a narrow 0.7.0 scope and pre-audit decision packet, clarify missing evidence versus release authorization, and distinguish pre-tag independent review from post-tag verification. [#134](https://github.com/agustin18/fastapi-cache/issues/134)
- Document proposed proportionate 0.7.0 release gates, risk decisions and honest draft notes without approving tag or registry promotion. [#135](https://github.com/agustin18/fastapi-cache/issues/135)

### Misc

- Add a published 0.6.0 wheel SHA-verified real loopback TCP/Uvicorn HTTP performance profile with InMemory and standalone Redis, correctness checks, raw timings and provenance; independent hardware and regression budgets remain out of scope. [#100](https://github.com/agustin18/fastapi-cache/issues/100)
- Make the immutable Phase B and both publish workflows derive release version and artifact identity from package metadata; preserve fail-closed source, job, attempt, hash and TestPyPI checks, with a no-upload 0.7.0 synthetic dry-run. [#110](https://github.com/agustin18/fastapi-cache/issues/110)
- Introduce a test-only shared InMemory/standalone Redis backend contract smoke suite and an explicit capability RFC for TTL, selective clearing and experimental backend limitations; no backend implementation change. [#111](https://github.com/agustin18/fastapi-cache/issues/111)
- Validate cached data before returning a conditional 304 on a cache HIT, preventing corrupt cache bytes from satisfying an HTTP validator; no general error recovery policy change. [#112](https://github.com/agustin18/fastapi-cache/issues/112)
- Extend the published 0.6.0 performance harness with bounded full-profile repetitions, process and Redis resource evidence, aggregate variance reporting and complete temporary HTTP namespace cleanup; no runtime change. [#121](https://github.com/agustin18/fastapi-cache/issues/121)
- Add isolated SHA-256-verified historical 0.5.0 versus 0.6.0 installed-wheel comparison with balanced AB/BA runs on common InMemory, HTTP and standalone Redis workloads; report descriptive paired ratios only. [#122](https://github.com/agustin18/fastapi-cache/issues/122)
- Expire InMemory entries at their integer-second TTL deadline (inclusive) for both bounded and unbounded storage, with deterministic clock and heap-reclamation regressions; no changes to published 0.6.0 artifacts. [#123](https://github.com/agustin18/fastapi-cache/issues/123)
- Update published 0.6.0 compatibility and proposed 0.7.0 release documentation, including architecture RFCs, independent counteraudit handoff and performance pre-registration protocol. [#125](https://github.com/agustin18/fastapi-cache/issues/125)
- Distinguish the unpublished 0.7.0 development wheel from the immutable 0.6.0 published distribution, while retaining fail-closed final release identity checks and version-correct public documentation. [#130](https://github.com/agustin18/fastapi-cache/issues/130)
- Expand cross-backend conformance and characterize cache error/cancellation paths without adopting a new recovery policy or claiming real Redis outage resilience. [#131](https://github.com/agustin18/fastapi-cache/issues/131)
- Permit SHA-verified local candidate wheel measurements with the existing loopback HTTP socket harness without changing the immutable 0.6.0 published baseline or claiming performance qualification. [#132](https://github.com/agustin18/fastapi-cache/issues/132)
- Add disposable installed-wheel Redis 7.4 real daemon stop/restart, concurrent failure and recovery qualification without changing backend error policy or claiming HA. [#133](https://github.com/agustin18/fastapi-cache/issues/133)

## [0.6.0](https://github.com/agustin18/fastapi-cache/tree/v0.6.0) - 2026-11-21

### Features
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
> [Support](https://github.com/agustin18/fastapi-cache/blob/stable/SUPPORT.md) ·
> [Changelog](https://github.com/agustin18/fastapi-cache/blob/stable/CHANGELOG.md).
> **0.6.0:** published technical release with opt-in bounded InMemory.
> `stable` may carry unreleased `0.7.0.dev0` source; build artifacts from
> `stable` are **not** the published 0.6.0 distribution or an approved 0.7.0 release.
> `stable` carries the unreleased `0.7.0` release candidate; build artifacts
> from `stable` are **not** the published 0.6.0 distribution or an approved
> 0.7.0 release.
> Pre-releases must be independently evaluated before production deployment.
>
> Installation: Python `>=3.8,<3.14`. CPython 3.11–3.13 (server-side) has
Expand Down
1 change: 0 additions & 1 deletion changelog.d/100.misc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/110.misc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/111.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/111.misc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/112.misc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/115.doc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/116.doc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/117.doc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/118.doc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/119.doc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/121.misc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/122.misc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/123.misc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/125.misc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/127.doc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/129.doc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/130.misc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/131.misc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/132.misc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/133.misc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/134.doc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/135.doc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/48.doc.md

This file was deleted.

23 changes: 11 additions & 12 deletions docs/audit/PR_COUNTERAUDIT_0.7.0_PREPROMOTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@
**This is a PREPROMOTION review prompt, not final release approval.**
Read the canonical 0.7 [risk register](../releases/RISK_REGISTER_0.7.0.md),
[scope decision](../releases/SCOPE_0.7.0_DECISION.md),
[draft notes](../releases/RELEASE_NOTES_0.7.0_DRAFT.md),
[release notes](../releases/RELEASE_NOTES_0.7.0.md),
[artifact checklist](../releases/RELEASE_CANDIDATE_0.7.0.md), and
[final-artifact handoff](COUNTERAUDIT_0.7.0_HANDOFF.md).

**Stable anchor before these PRs:** `0c306a67a6adb4ed098e96e70dd0da192c8fbf85`.
**PR under review:** #135 release risk + proportional no-claim performance
deferral.
**Stable anchor before the promotion PR:** `fb989a06b959b1a6c894cb2c56c0e67722faa543`.
**PR under review:** #137 final 0.7.0 promotion (it incorporates the merged #135 release-risk decision).
The auditor must fetch the **current live PR HEAD SHA**, not use a hardcoded
SHAs from a moving branch. No source promotion to `0.7.0`,
tag, TestPyPI, PyPI, or release workflow is authorized by this review.
SHAs from a moving branch. No tag, TestPyPI, PyPI or release workflow
is authorized by this review.

## First phase: adversarial review of merged runtime source

Expand Down Expand Up @@ -44,12 +43,12 @@ Falsify at least:

## Second phase: critique the PR decisions and future strategy

1. Inspect PR #135 for unintended release authorization, metadata
1. Inspect PR #137 for unintended release authorization, metadata
changes, fabricated benchmark limits or hashes, unsubstantiated
PASS claims, misleading 0.7 install snippets, stale `#133` status
or `1d78154` as latest. Published pointer must be exactly
`docs/releases/PUBLISHED_VERSION=0.6.0`. The PR must NOT change
version from `0.7.0.dev0` or produce a tag.
or an old stable SHA as latest. Published pointer must be exactly
`docs/releases/PUBLISHED_VERSION=0.6.0`. The promotion PR must set
the final `0.7.0` version, not a dev identifier, and must not tag.
2. #100 no-claim fixed-host deferral: the maintainer **accepted** this
release-specific deferral on 2026-11-23. The independent reviewer must
still verify the limited runtime delta, no performance feature, honest
Expand All @@ -65,7 +64,7 @@ Falsify at least:
artifact/release-contract tests, supported and legacy Python/Redis
smoke on the **exact PR HEADs**; independently inspect mandatory
workflows and explain any missing credentials or NOT RUN evidence.
5. Re-run the **#135 diff** conceptually on latest `stable`; verify it
5. Re-run the **#137 diff** conceptually on latest `stable`; verify it
does not create contradictory headings/links or claim a release.

## Expected independent report
Expand All @@ -76,7 +75,7 @@ or file/line/CI run URL, severity `P0/P1/P2`, scope
what evidence would convert NOT RUN to PASS.

Return separately:
- **PR merge recommendation** for #135: GO / CONDITIONAL / NO-GO.
- **PR merge recommendation** for #137: GO / CONDITIONAL / NO-GO.
- **Release readiness today**: should remain NO-GO until a *separate*
final `0.7.0` source promotion PR is reviewed and merged, the
source SHA is frozen, first-attempt **20** Phase B jobs succeed,
Expand Down
3 changes: 2 additions & 1 deletion docs/releases/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ The root README points to the current release. Historical notes, provenance
records and the release checklist live here so the repository root stays
focused on current project documentation.

- [0.7.0 candidate readiness checklist](RELEASE_CANDIDATE_0.7.0.md) — future gates only; no release or sign-off recorded
- [0.7.0 release notes](RELEASE_NOTES_0.7.0.md) — prepared for publication; no registry promotion yet
- [0.7.0 candidate readiness checklist](RELEASE_CANDIDATE_0.7.0.md) — release gates; no registry promotion yet
- [0.6.0 historical promotion checklist](RELEASE_CANDIDATE_0.6.0.md) — pre-publication snapshot retained for audit; its pending language is historical
- [0.6.0 published release notes](RELEASE_NOTES_0.6.0.md) — published 2026-11-21
- [0.6.0 published status and provenance](RELEASE_STATUS_0.6.0.md) — final tag, hashes and workflow evidence
Expand Down
7 changes: 3 additions & 4 deletions docs/releases/RELEASE_CANDIDATE_0.7.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,9 @@ Merged #130/#131/#132 do not constitute a frozen final candidate.

## 2. Candidate source and documentation

- [ ] Approved PRs merged; source currently `0.7.0.dev0` (#130 merged).
Prepare a separate final promotion PR setting `0.7.0`, release notes,
Towncrier changelog and candidate compatibility notes, **without
incorrectly changing published `docs/releases/PUBLISHED_VERSION`
- [x] Approved PRs merged; source is now `0.7.0` in the promotion candidate.
Release notes, Towncrier changelog and candidate compatibility notes are
prepared, **without changing published `docs/releases/PUBLISHED_VERSION`
(remains `0.6.0` until registry publication)**. No history overwrite.
- [ ] **Frozen final stable source SHA: TBD.** No unreviewed source edits afterward.
- [ ] Full supported and legacy Python matrix plus real Redis 7.4,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Draft 0.7.0 release notes — UNPUBLISHED / NOT A RELEASE
# fastapi-cache-stable 0.7.0 — release notes

**Published distribution:** `fastapi-cache-stable==0.6.0`.
**Unreleased source:** `0.7.0.dev0` until a separate promotion PR changes
`pyproject.toml` to final `0.7.0`. Do not use this file as proof of PyPI
availability, final hashes, or source freeze.
**Status:** release candidate prepared for publication. The latest published
distribution remains `fastapi-cache-stable==0.6.0` until the annotated tag,
exact Phase B artifacts and registry promotion are separately verified.

## Candidate user-visible behavior versus 0.6.0

Expand Down Expand Up @@ -44,14 +43,7 @@ from the no-retry outage probe.

## Publication state and evidence

- Candidate commit SHA: **TBD (will change on release promotion)**.
- Phase B manual first-attempt 20/20: **NOT RUN for final 0.7**.
- Wheel/sdist SHA-256 and provenance: **TBD**.
- Final security delta and independent artifact review: **NOT DONE**.
- Maintainer GO / annotated `v0.7.0` tag / TestPyPI / PyPI: **NOT GIVEN /
NOT CREATED / NOT PUBLISHED**.

Do not remove these caveats or publish install snippets before the
verified registry promotion. See [candidate checklist](RELEASE_CANDIDATE_0.7.0.md),
[risk register](RISK_REGISTER_0.7.0.md) and
[counteraudit handoff](../audit/COUNTERAUDIT_0.7.0_HANDOFF.md).
Exact artifact hashes, Phase B evidence, security delta and registry
verification are recorded in the release status and GitHub release after a
separate publication GO. See the [candidate checklist](RELEASE_CANDIDATE_0.7.0.md)
and [risk register](RISK_REGISTER_0.7.0.md).
4 changes: 2 additions & 2 deletions docs/releases/RELEASE_PIPELINE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Reusable release pipeline contract

The source distribution identity comes from `pyproject.toml`: while 0.7.0
is being developed it is `0.7.0.dev0`, distinct from the last published
The source distribution identity comes from `pyproject.toml`: while the 0.7.0
promotion candidate is prepared it is `0.7.0`, distinct from the last published
`0.6.0`. The independently verified published-docs pointer lives in
`docs/releases/PUBLISHED_VERSION` and changes **only after** registry promotion.
README, install pins and the public docs describe that published artifact.
Expand Down
2 changes: 1 addition & 1 deletion docs/releases/RISK_REGISTER_0.7.0.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 0.7.0 security, correctness and compatibility risk register — MAINTAINER DECISION RECORDED; INDEPENDENT REVIEW PENDING

**Scope:** source at pre-preparation `0c306a67a6adb4ed098e96e70dd0da192c8fbf85`
**Scope:** source at pre-preparation `fb989a06b959b1a6c894cb2c56c0e67722faa543`
only; will change if release-promotion PRs merge. Published artifact remains
`fastapi-cache-stable==0.6.0`. This record is a **review request**, not
maintainer acceptance or independent approval. Populate evidence with
Expand Down
Loading
Loading