Repository navigation
chore(release): v2.9.0 - #294
Conversation
CHANGELOG entry for permission_groups, side_effect, and the ActionSchema/ registry work from the last two merged PRs; version bump across pyproject.toml, xcore/__version__.py (also fixes __version_info__, which had drifted to (2, 7, 1) since the 2.8.1 bump), and CLAUDE.md. Updated CLAUDE.md's HTTP call-flow diagram and doc/advanced/middleware.md's Action Permissions section to mention permission_groups, not just permissions.
Reviewer's GuideThis release PR prepares xcore 2.9.0 by documenting the permission_groups, side_effect, and ActionSchema/registry features, updating middleware and advanced usage guidance, and synchronizing the release version across packaging, runtime, and project documentation while fixing the stale version_info tuple. Sequence diagram for action authorization with permission groupssequenceDiagram
participant Caller
participant AuthResolverMiddleware
participant ActionPermissionMiddleware
participant Handler
participant Plugin
Caller->>AuthResolverMiddleware: get_current_principal()
AuthResolverMiddleware-->>ActionPermissionMiddleware: principal
ActionPermissionMiddleware->>Handler: get_action_permissions(action)
ActionPermissionMiddleware->>Handler: get_action_permission_groups(action)
alt requirements satisfied
ActionPermissionMiddleware->>Plugin: handler.call()
Plugin-->>Caller: action result
else requirement unmet or no principal
ActionPermissionMiddleware-->>Caller: action_permission_denied
end
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="doc/changelog.md" line_range="8" />
<code_context>
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [2.9.0] - 2026-10-12
+
+### Added
</code_context>
<issue_to_address>
**Root changelog misses release notes**
When readers consult the repository-root `CHANGELOG.md` for release history, `doc/changelog.md` contains the 2.9.0 entry while the root `CHANGELOG.md` still starts at 2.8.1, so readers of the root changelog miss the release notes.
Add the 2.9.0 entry to the repository-root `CHANGELOG.md`.
</issue_to_address>Sourcery assessment
Approval pending. 1 finding to address first.
Blocking findings: doc/changelog.md:8
| The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), | ||
| and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
|
||
| ## [2.9.0] - 2026-10-12 |
There was a problem hiding this comment.
🟡 Medium · Root changelog misses release notes
When readers consult the repository-root CHANGELOG.md for release history, doc/changelog.md contains the 2.9.0 entry while the root CHANGELOG.md still starts at 2.8.1, so readers of the root changelog miss the release notes.
Add the 2.9.0 entry to the repository-root CHANGELOG.md.
Prompt for AI agents
In `doc/changelog.md` at line 8:
**Root changelog misses release notes**
When readers consult the repository-root `CHANGELOG.md` for release history, `doc/changelog.md` contains the 2.9.0 entry while the root `CHANGELOG.md` still starts at 2.8.1, so readers of the root changelog miss the release notes.
Add the 2.9.0 entry to the repository-root `CHANGELOG.md`.
Summary
permission_groups,side_effect, and theActionSchema/registry work from feat(auth): add permission_groups alternative (OR-of-AND) to @action #292 and feat(schema): unify pydantic model, mirror permissions in ActionSchema, add side_effect #293.pyproject.toml,xcore/__version__.py(also fixes__version_info__, which had drifted to(2, 7, 1)since the 2.8.1 bump — left stale by that release),CLAUDE.md.CLAUDE.md's HTTP call-flow diagram anddoc/advanced/middleware.md's Action Permissions section now mentionpermission_groups, not justpermissions.Test plan
poetry run pytest tests/unit tests/integration -q— 1415 passed, 1 pre-existing unrelated skippoetry run mkdocs build --strict— clean (pre-existing unrelated warnings only)Summary by Sourcery
Release version 2.9.0 with updated version metadata, changelog coverage, and documentation for the new action authorization and schema capabilities.
Bug Fixes:
__version_info__value so it matches the released version.Enhancements:
Build:
Documentation: