Release: embedded users as CompactUserDto (spec 003) #33

Merged
araemer merged 6 commits from stage into main 2026-10-11 06:36:17 +00:00
Owner

Merges the current state of stage into main.

Included

  • Embedded users as CompactUserDto (spec 003) (#32): comments, ratings, tags and meal plan shares now expose their users as CompactUserDto (id, user name, first and last name, avatar) instead of the full UserDto, so email and role of other users no longer leave the backend in these responses. Mapper tests assert that embedded users carry no email or role. Includes the implementation plan and the architecture doc update.

Contract

Both repos pin recipe-platform 0f2e400 in contract.ref (spec 003's contract, on platform main). scripts/release.sh needs the pins to be equal, so release both repos together.

Deployment

The stage build for 757ad89 is green. No migration. Merging does not deploy: production deploys start from a v* tag on main. v2.2.1 was tagged on the previous main (same commit as v2.2.0) by mistake and does not contain this release.

🤖 Generated with Claude Code

Merges the current state of `stage` into `main`. ## Included - **Embedded users as `CompactUserDto` (spec 003)** (#32): comments, ratings, tags and meal plan shares now expose their users as `CompactUserDto` (id, user name, first and last name, avatar) instead of the full `UserDto`, so email and role of other users no longer leave the backend in these responses. Mapper tests assert that embedded users carry no email or role. Includes the implementation plan and the architecture doc update. ## Contract Both repos pin recipe-platform `0f2e400` in `contract.ref` (spec 003's contract, on platform `main`). `scripts/release.sh` needs the pins to be equal, so release both repos together. ## Deployment The `stage` build for 757ad89 is green. No migration. Merging does not deploy: production deploys start from a `v*` tag on `main`. `v2.2.1` was tagged on the previous `main` (same commit as `v2.2.0`) by mistake and does not contain this release. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
docs(plan) Add the implementation plan for spec 003
All checks were successful
/ test (pull_request) Successful in 1m9s
/ contract_pin (pull_request) Successful in 2s
183fb7fd52
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
feat(mappers) Expose embedded users of comments, ratings, tags and meal plan shares as CompactUserDto
Some checks failed
/ contract_pin (pull_request) Has been cancelled
/ test (pull_request) Has been cancelled
c9af37749c
Moves the contract pin to 0f2e400 and switches the four mappers and their
six factories from UserDtoEntityMapper to CompactUserMapper, so email and
role of another user no longer leave the API in these responses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
test(mappers) Assert that embedded users carry no email or role
Some checks failed
/ test (pull_request) Has been cancelled
/ contract_pin (pull_request) Has been cancelled
dc3c4d1fe6
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs(mappers) Describe embedded users as CompactUserDto in comments and architecture.md
Some checks failed
/ test (pull_request) Successful in 1m10s
/ contract_pin (pull_request) Failing after 3s
cbd3502a7d
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
test(mappers) Realign the mapper declarations in MealPlanDtoEntityMapper.test
All checks were successful
/ test (pull_request) Successful in 1m9s
/ contract_pin (pull_request) Successful in 2s
9d63219c62
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merge pull request 'feat(user) Expose embedded users as CompactUserDto in comments, ratings, tags and meal plan shares (spec 003)' (#32) from 003-compact-user-in-embedded-dtos into stage
All checks were successful
/ build (push) Successful in 1m49s
/ test (pull_request) Successful in 1m10s
/ contract_pin (pull_request) Successful in 2s
757ad895e1
Reviewed-on: #32
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
araemer/recipe-backend!33
No description provided.