Skip to content

docs: comprehensive accuracy pass + session guide (v26.06.04)#30

Merged
ancongui merged 1 commit into
mainfrom
docs/v26.06.04-polish
Jun 5, 2026
Merged

docs: comprehensive accuracy pass + session guide (v26.06.04)#30
ancongui merged 1 commit into
mainfrom
docs/v26.06.04-polish

Conversation

@ancongui
Copy link
Copy Markdown
Contributor

@ancongui ancongui commented Jun 5, 2026

Summary

A documentation-only release: a comprehensive sweep of every module/adapter/top-level guide against the current codebase (7 parallel source-verified auditors), plus filling gaps.

  • New guidedocs/modules/session.md (HTTP session store, SessionFilter, in-memory/Redis stores, pyfly.session.*), previously only mentioned in the security guide.
  • README now advertises the new logging capabilities — unified structured logging (intercepts/uniformly formats all loggers), Spring-style pyfly.logging.* config, and on-by-default PII redaction (optional pyfly[pii]/Presidio). The pii extra is added to the installation guide.
  • Indexes refresheddocs/index.md, docs/README.md, docs/modules/README.md, docs/adapters/README.md now link every guide (Config Server, Starters, WebFilters, Server, Session, Integration tier, FastAPI/Granian adapters, …); fixed the Logging link (was pointing at the observability guide). No dangling links.
  • ~37 guides corrected for factual drift to match the code — e.g. the five always-active web filters + ordering, SecurityException → 403, relational pool.* keys, @message_listener group=, actuator beans contexts envelope + threaddump/prometheus, health statuses, @timed/@counted/@span sync+async, AOP sync/async semantics, DI error types + Registration.factory, Query.get_cache_key SHA-256, the IDP provider/route surface, notification adapters, and more.

Verification

Docs-only (no src/ changes). All code fences balanced; session.md APIs verified against src/pyfly/session/; no broken internal links. Released as v26.06.04.

Note (follow-up, not in this PR): an auditor flagged that RateLimiter's sync wrapper accesses token state outside its asyncio.Lock — a possible concurrency issue under threaded sync use, worth a separate code fix + test.

… guide

Audited all module/adapter/top-level docs against the current code (7 parallel
auditors, source-verified). New docs/modules/session.md; README now advertises
unified logging + Spring-style config + PII redaction; pii extra in installation;
all indexes refreshed (every guide linked, Logging link fixed). ~37 guides
corrected for factual drift (web filter ordering, SecurityException 403, pool
keys, @message_listener group=, actuator beans/threaddump/prometheus, health
statuses, @timed/@counted/@span sync+async, AOP semantics, DI error types +
Registration.factory, Query SHA-256 cache key, IDP/notifications surface, …).
No functional changes.
@ancongui ancongui merged commit 0edd687 into main Jun 5, 2026
5 checks passed
@ancongui ancongui deleted the docs/v26.06.04-polish branch June 5, 2026 10:09
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.

1 participant