Skip to content

chore: update to core v0.5.0 and remove now-redundant workarounds#25

Merged
cuibonobo merged 2 commits into
mainfrom
claude/core-v0.5.0-followup
Jun 21, 2026
Merged

chore: update to core v0.5.0 and remove now-redundant workarounds#25
cuibonobo merged 2 commits into
mainfrom
claude/core-v0.5.0-followup

Conversation

@cuibonobo

Copy link
Copy Markdown
Member

Summary

  • Bump @haverstack/core and @haverstack/adapter-sqlite to ^0.5.0
  • Remove dead null guards in auth.ts: Stack.create() now throws if entity_id is absent, so ownerEntityId is always a string by the time the server starts. requireOwner() parameter type tightened to string accordingly.
  • Relax PUT /records/:id/permissions from requireOwner to requireAuth: core v0.5.0 enforces creator-or-owner access inside ScopedStack.setPermissions(), making the previous server-side owner-only restriction more restrictive than intended. Record creators can now manage their own record's permissions as core intended.

🤖 Generated with Claude Code

https://claude.ai/code/session_01E2tdGyLhqTN2baMpaWDet3


Generated by Claude Code

claude added 2 commits June 21, 2026 03:11
Bump @haverstack/core and @haverstack/adapter-sqlite to ^0.5.0.

Remove dead null guards in auth middleware: Stack.create() now throws
if entity_id is absent, so ownerEntityId is always a string by the time
the server starts. requireOwner() parameter type tightened to string.

Relax PUT /records/:id/permissions from requireOwner to requireAuth:
core v0.5.0 enforces creator-or-owner access in ScopedStack.setPermissions(),
making the server-side owner-only restriction more restrictive than intended.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E2tdGyLhqTN2baMpaWDet3
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E2tdGyLhqTN2baMpaWDet3
@cuibonobo cuibonobo merged commit add0604 into main Jun 21, 2026
4 checks passed
@cuibonobo cuibonobo deleted the claude/core-v0.5.0-followup branch June 21, 2026 03: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.

2 participants