-
Notifications
You must be signed in to change notification settings - Fork 549
(compat) Added supported features and generation across Loader / Driver boundary - Part 2 #24855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
agarwal-navin
merged 5 commits into
microsoft:main
from
agarwal-navin:layerCompatDriverLoader
Jun 17, 2025
Merged
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
8af09da
(compat) Added supported features and generation across Loader / Driv…
agarwal-navin 7d72d5f
Fix type test
agarwal-navin 6b9c1e5
Update end to end test for all drivers
agarwal-navin d5a5947
Fix file names
agarwal-navin c950d05
Add comment to generation increment
agarwal-navin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
File renamed without changes.
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
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
27 changes: 27 additions & 0 deletions
27
packages/drivers/odsp-driver/src/localOdspDriver/localOdspLayerCompatState.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/*! | ||
* Copyright (c) Microsoft Corporation and contributors. All rights reserved. | ||
* Licensed under the MIT License. | ||
*/ | ||
|
||
import { type ILayerCompatDetails } from "@fluid-internal/client-utils"; | ||
|
||
import { pkgVersion } from "../packageVersion.js"; | ||
|
||
/** | ||
* Local ODSP Driver's compatibility details that is exposed to the Loader layer. | ||
* @internal | ||
*/ | ||
export const localOdspDriverCompatDetailsForLoader: ILayerCompatDetails = { | ||
/** | ||
* The package version of the Local ODSP Driver layer. | ||
*/ | ||
pkgVersion, | ||
/** | ||
* The current generation of the Local ODSP Driver layer. | ||
*/ | ||
generation: 1, | ||
scottn12 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
/** | ||
* The features supported by the Local ODSP Driver layer across the Driver / Loader boundary. | ||
*/ | ||
supportedFeatures: new Set<string>(), | ||
}; |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/*! | ||
* Copyright (c) Microsoft Corporation and contributors. All rights reserved. | ||
* Licensed under the MIT License. | ||
*/ | ||
|
||
import { type ILayerCompatDetails } from "@fluid-internal/client-utils"; | ||
|
||
import { pkgVersion } from "./packageVersion.js"; | ||
|
||
/** | ||
* ODSP Driver's compatibility details that is exposed to the Loader layer. | ||
* @internal | ||
*/ | ||
export const odspDriverCompatDetailsForLoader: ILayerCompatDetails = { | ||
/** | ||
* The package version of the ODSP Driver layer. | ||
*/ | ||
pkgVersion, | ||
/** | ||
* The current generation of the ODSP Driver layer. | ||
*/ | ||
generation: 1, | ||
/** | ||
* The features supported by the ODSP Driver layer across the Driver / Loader boundary. | ||
*/ | ||
supportedFeatures: new Set<string>(), | ||
}; |
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
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
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
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
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
27 changes: 27 additions & 0 deletions
27
packages/drivers/routerlicious-driver/src/routerliciousLayerCompatState.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/*! | ||
* Copyright (c) Microsoft Corporation and contributors. All rights reserved. | ||
* Licensed under the MIT License. | ||
*/ | ||
|
||
import { type ILayerCompatDetails } from "@fluid-internal/client-utils"; | ||
|
||
import { pkgVersion } from "./packageVersion.js"; | ||
|
||
/** | ||
* Routerlicious Driver's compatibility details that is exposed to the Loader layer. | ||
* @internal | ||
*/ | ||
export const r11sDriverCompatDetailsForLoader: ILayerCompatDetails = { | ||
/** | ||
* The package version of the Routerlicious Driver layer. | ||
*/ | ||
pkgVersion, | ||
/** | ||
* The current generation of the Routerlicious Driver layer. | ||
*/ | ||
generation: 1, | ||
/** | ||
* The features supported by the Routerlicious Driver layer across the Driver / Loader boundary. | ||
*/ | ||
supportedFeatures: new Set<string>(), | ||
}; |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.