Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR removes the obsolete JsonValidator Alpha API from the tree package and replaces it with FormatValidator. The migration eliminates deprecated interfaces and consolidates validation to use the newer format validator pattern.
Key Changes
- Removed
JsonValidator,SchemaValidationFunction,noopValidator, andtypeboxValidatorAlpha APIs - Updated all code references to use
FormatValidatorBasicinstead oftypeboxValidator - Replaced
noopValidatorwithFormatValidatorNoOpthroughout the codebase
Reviewed Changes
Copilot reviewed 40 out of 40 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| packages/framework/fluid-framework/api-report/fluid-framework.alpha.api.md | Removes deprecated JsonValidator types from public API |
| packages/dds/tree/api-report/tree.alpha.api.md | Removes deprecated JsonValidator types from tree API |
| packages/dds/tree/src/codec/codec.ts | Updates ICodecOptions to only accept FormatValidator, inlines noopValidator |
| packages/dds/tree/src/codec/noopValidator.ts | Removes entire file containing deprecated validator |
| packages/dds/tree/src/external-utilities/typeboxValidator.ts | Makes typeboxValidator private, keeps FormatValidatorBasic export |
| Multiple test files | Updates all test code to use FormatValidatorBasic instead of typeboxValidator |
| Multiple source files | Updates production code to use FormatValidatorNoOp instead of noopValidator |
Josmithr
reviewed
Sep 24, 2025
…to RemoveJsonValidatorExport
Josmithr
approved these changes
Sep 25, 2025
Contributor
Author
|
Attempting to re-trigger license/cla check |
Contributor
|
🔗 No broken links found! ✅ Your attention to detail is admirable. linkcheck output |
anthony-murphy-agent
pushed a commit
to anthony-murphy-agent/FluidFramework
that referenced
this pull request
Jan 14, 2026
## Description Remove obsolete JsonValidator Alpha API in tree. ## Breaking Changes Users must migrate as described in changeset.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Remove obsolete JsonValidator Alpha API in tree.
Breaking Changes
Users must migrate as described in changeset.
Reviewer Guidance
The review process is outlined on this wiki page.