Skip to content

build: prepare the 0.21.0 release - #700

Merged
uniqueg merged 2 commits into
devfrom
build/prepare-0.21.0
Nov 5, 2026
Merged

uniqueg merged 2 commits into
devfrom
build/prepare-0.21.0

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Summary

Release preparation for 0.21.0. After this PR merges, its squash commit is the tag candidate.

  • CITATION.cff: version 0.21.0 and its date
  • docs/releases/0.21.0.md, in the docs nav and the changelog
  • docs/access-control.md: two dead links to the Casbin docs moved to casbin.apache.org, as the docs of a tag can't be changed
  • docs/migration-0.21.md: the guide no longer says that foca-common 0.5.0 isn't out, which the docs of the tag couldn't correct if the chart is released with it

Closes #699

Light lane: docs and metadata only, no code, workflow or chart changes. I reviewed the diff myself. It holds more than CITATION.cff, so the feather lane doesn't apply.

Verification

  • Repo's checks: ruff, mypy, ast-grep, mkdocs build --strict, and coverage run -m pytest with MongoDB 7.0: 100% coverage, 4362 passed, 2 skipped. One test failed on a full /tmp (Disk quota exceeded); it passes alone, three runs of its class.
  • scripts/citation.py check, scripts/release_notes.py check and require, and tests/test_version_mentions.py, tests/test_citation.py, tests/test_release_notes.py: passed.
  • External links of the docs and README (151 URLs) checked: the Casbin links are fixed here. Left: token.actions.githubusercontent.com answers 404 at its root, as it's an issuer, not a page.
  • foca-plugins dev with cap <0.22, proTES dev and cloud-registry dev against FOCA d5df440, with the bounds relaxed locally and nothing pushed: no FOCA bug. foca-plugins passes all (24, 141, 15, 139). proTES has 2 failures in tests/utils/test_db.py, and cloud-registry 16, all adaptations already known. Their chart tests pass.

Declined review findings

None; no reviewer subagents in the light lane.

Open questions

None.

🤖 Generated with Claude Code

Summary by Sourcery

Prepare the repository metadata and documentation for the 0.21.0 release.

Enhancements:

  • Add the 0.21.0 release notes and expose them through the changelog and documentation navigation.
  • Update migration guidance and Casbin documentation links for the 0.21.0 documentation set.

Documentation:

  • Document the 0.21.0 release, including its breaking changes, features, security updates, fixes, and maintenance changes.

Chores:

  • Update citation metadata for the 0.21.0 release.

Citation metadata, curated release notes, their entries in the nav and
the changelog. Links to the Casbin docs moved to casbin.apache.org, and
the guide no longer says whether foca-common 0.5.0 is out at the time
of the release, which the docs of the tag couldn't correct later.

Closes #699

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

This release-preparation PR updates citation metadata and adds the 0.21.0 release notes to the changelog and documentation navigation, while correcting versioned migration guidance and obsolete Casbin links; it contains documentation and metadata changes only, with no code, workflow, or chart modifications.

File-Level Changes

Change Details Files
Add and publish the 0.21.0 release documentation.
  • Create release notes covering breaking changes, features, security updates, fixes, documentation, and maintenance.
  • Add the release to the changelog and MkDocs navigation.
docs/releases/0.21.0.md
docs/changelog.md
mkdocs.yml
Correct documentation for the versioned 0.21.0 documentation set.
  • Replace obsolete Casbin links with the current casbin.apache.org URLs.
  • Remove the outdated statement that foca-common 0.5.0 is unavailable while retaining the compatibility guidance for 0.4.0.
docs/access-control.md
docs/migration-0.21.md
Update release citation metadata for version 0.21.0.
  • Set the citation version and release date to 0.21.0.
CITATION.cff

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@codecov

codecov Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (cd8cc2a) to head (83dba9b).

Additional details and impacted files
@@            Coverage Diff            @@
##               dev      #700   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           66        66           
  Lines         8588      8588           
=========================================
  Hits          8588      8588           
Flag Coverage Δ
test_unit 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@uniqueg
uniqueg marked this pull request as ready for review November 5, 2026 00:00

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!

Linked issues

#699 build: prepare the 0.21.0 release · 5 of 5 met

# Requirement Status Notes
1 Set the citation metadata version and date. ✅ Met CITATION.cff sets version 0.21.0 and a release date.
2 Add curated release notes in the agreed format. ✅ Met docs/releases/0.21.0.md includes the release notes sections and entries.
3 Add the release notes to the mkdocs.yml nav and changelog list. ✅ Met The 0.21.0 notes are linked in both.
4 Reword mentions rejected by the version guard after the citation changes to 0.21.0. ✅ Met The migration guide no longer makes the time-sensitive statement about foca-common 0.5.0 not being out with FOCA 0.21.0; the PR reports the version-mentions test passed.
5 Fix dead links in the docs. ✅ Met Both Casbin documentation links in docs/access-control.md now point to casbin.apache.org; the PR reports checking the external documentation links.

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@uniqueg
uniqueg merged commit 5eb4f70 into dev Nov 5, 2026
66 of 83 checks passed
@uniqueg
uniqueg deleted the build/prepare-0.21.0 branch November 5, 2026 00:13
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.

build: prepare the 0.21.0 release

1 participant