Skip to content

Conversation

@bokelley
Copy link
Contributor

@bokelley bokelley commented Jan 6, 2026

Summary

Enables forward compatibility by allowing unknown fields in responses. Clients on older versions can now accept responses from upgraded servers without breaking validation.

  • Changes all schemas from additionalProperties: false to additionalProperties: true
  • Updates test to verify forward compatibility behavior
  • All tests pass

Test Plan

  • Schema validation tests pass
  • Extension field tests pass (including forward compatibility test)
  • Example validation tests pass
  • All other tests pass

🤖 Generated with Claude Code

…lity

Changes all schemas from additionalProperties: false to additionalProperties: true. This enables clients running older versions to accept responses from servers with newer schemas without breaking validation - a standard practice for protocol evolution in distributed systems.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@bokelley bokelley merged commit 309a880 into main Jan 6, 2026
6 checks passed
@bokelley bokelley deleted the bokelley/allow-extra-fields branch January 6, 2026 19:43
BaiyuScope3 added a commit that referenced this pull request Jan 7, 2026
Merged 32 commits from main including:
- Schema: Allow additional properties for forward compatibility (#646)
- Schema versioning: Replace symlinks with HTTP middleware (#644)
- Workflow: Add schema sync to versioned docs (#639)
- Addie: Home button fix, sidebar, thread flow improvements
- Admin: PostHog integration, activity feed, engagement scoring
- Slack: User mentions, leader names, channel fixes
- Members: Search, intro emails, founding badge
- Server: Company type validation, HTML entity parsing

Conflicts resolved:
- .github/workflows/sync-versioned-docs.yml: kept main version with schema sync
- package-lock.json: accepted main version
BaiyuScope3 added a commit that referenced this pull request Jan 7, 2026
Rebuilds 2.6.0 schemas to include the relaxed validation from #646.
All schema objects now allow unknown fields for forward compatibility.
@github-actions github-actions bot mentioned this pull request Jan 8, 2026
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.

3 participants