diff --git a/README.md b/README.md index 9968cabf7..ecce6763f 100644 --- a/README.md +++ b/README.md @@ -14,12 +14,12 @@ The Live Share SDK contains dependencies for [@microsoft/teams-js](https://www.n **It is critical that your app use the package dependencies listed in the table below.** Lookup the version of the `@microsoft/live-share` you're using and set any other dependencies in your package.json file to match: -| @microsoft/live-share | @microsoft/teams-js | fluid-framework | @microsoft/live-share-(media or canvas) | @fluidframework/azure-client | @microsoft/TeamsFx | @microsoft/TeamsFx-react | -| --------------------- | -------------------- | --------------- | --------------------------------------- | ---------------------------- | ------------------------------- | ------------------------------- | -| 1.0.0-preview.4 | ^2.5.0 | ~1.2.3 | 1.0.0-preview.4 (optional) | ~1.0.2 (optional) | ^2.5.0 (optional) | ^2.5.0 (optional) | -| 1.0.0-preview.3 | 2.0.0-experimental.1 | ~1.2.3 | 1.0.0-preview.3 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | -| ~0.5.1 | 2.0.0-experimental.1 | ~1.2.3 | ~0.5.1 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | -| ~0.3.1 | 2.0.0-experimental.0 | ~0.59.0 | ~0.3.1 (optional) | ~0.59.0 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | +| @microsoft/live-share | @microsoft/teams-js | fluid-framework | @microsoft/live-share-\* | @fluidframework/azure-client | @microsoft/TeamsFx | @microsoft/TeamsFx-react | +| --------------------- | -------------------- | --------------- | -------------------------- | ---------------------------- | ------------------------------- | ------------------------------- | +| 1.0.0-preview.7 | ^2.5.0 | ~1.2.3 | 1.0.0-preview.7 (optional) | ~1.0.2 (optional) | ^2.5.0 (optional) | ^2.5.0 (optional) | +| 1.0.0-preview.3 | 2.0.0-experimental.1 | ~1.2.3 | 1.0.0-preview.3 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | +| ~0.5.1 | 2.0.0-experimental.1 | ~1.2.3 | ~0.5.1 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | +| ~0.3.1 | 2.0.0-experimental.0 | ~0.59.0 | ~0.3.1 (optional) | ~0.59.0 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | ### Dev Dependencies diff --git a/packages/live-share-canvas/README.md b/packages/live-share-canvas/README.md index 392d84c7c..91780000a 100644 --- a/packages/live-share-canvas/README.md +++ b/packages/live-share-canvas/README.md @@ -101,11 +101,12 @@ The Live Share SDK contains dependencies for [@microsoft/teams-js](https://www.n **It is critical that your app uses the package dependencies listed in the table below.** Lookup the version of the `@microsoft/live-share` you're using and set any other dependencies in your `package.json` file to match: -| @microsoft/live-share | @microsoft/teams-js | fluid-framework | @microsoft/live-share-(media or canvas) | @fluidframework/azure-client | @microsoft/TeamsFx | @microsoft/TeamsFx-react | -| --------------------- | -------------------- | --------------- | --------------------------- | ---------------------------- | ------------------------------- | ------------------------------- | -| 1.0.0-preview.4 | ^2.5.0 | ~1.2.3 | 1.0.0-preview.4 (optional) | ~1.0.2 (optional) | ^2.5.0 (optional) | ^2.5.0 (optional) | -| 1.0.0-preview.3 | 2.0.0-experimental.1 | ~1.2.3 | 1.0.0-preview.3 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | -| ~0.5.1 | 2.0.0-experimental.1 | ~1.2.3 | ~0.5.1 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | +| @microsoft/live-share | @microsoft/teams-js | fluid-framework | @microsoft/live-share-\* | @fluidframework/azure-client | @microsoft/TeamsFx | @microsoft/TeamsFx-react | +| --------------------- | -------------------- | --------------- | -------------------------- | ---------------------------- | ------------------------------- | ------------------------------- | +| 1.0.0-preview.7 | ^2.5.0 | ~1.2.3 | 1.0.0-preview.7 (optional) | ~1.0.2 (optional) | ^2.5.0 (optional) | ^2.5.0 (optional) | +| 1.0.0-preview.3 | 2.0.0-experimental.1 | ~1.2.3 | 1.0.0-preview.3 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | +| ~0.5.1 | 2.0.0-experimental.1 | ~1.2.3 | ~0.5.1 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | +| ~0.3.1 | 2.0.0-experimental.0 | ~0.59.0 | ~0.3.1 (optional) | ~0.59.0 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | ## Contributing diff --git a/packages/live-share-canvas/package-lock.json b/packages/live-share-canvas/package-lock.json index 56c6ad794..6b67ac457 100644 --- a/packages/live-share-canvas/package-lock.json +++ b/packages/live-share-canvas/package-lock.json @@ -1,15 +1,15 @@ { "name": "@microsoft/live-share-canvas", - "version": "1.0.0-preview.4", + "version": "1.0.0-preview.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@microsoft/live-share-canvas", - "version": "1.0.0-preview.4", + "version": "1.0.0-preview.7", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@microsoft/live-share": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", "fluid-framework": "~1.2.3" }, "devDependencies": { @@ -1078,7 +1078,7 @@ } }, "node_modules/@microsoft/live-share": { - "version": "1.0.0-preview.4", + "version": "1.0.0-preview.7", "resolved": "https://registry.npmjs.org/@microsoft/live-share/-/live-share-1.0.0-preview.4.tgz", "integrity": "sha512-nrItok95gvGSHUDnLrxBCtUt0MY47JI5h4LW/nwOTLz7/3SXy7WSqm6SpJr3VUPVriGtSXl8RaaYLU1PSbjRgg==", "dependencies": { @@ -4573,7 +4573,7 @@ } }, "@microsoft/live-share": { - "version": "1.0.0-preview.4", + "version": "1.0.0-preview.7", "resolved": "https://registry.npmjs.org/@microsoft/live-share/-/live-share-1.0.0-preview.4.tgz", "integrity": "sha512-nrItok95gvGSHUDnLrxBCtUt0MY47JI5h4LW/nwOTLz7/3SXy7WSqm6SpJr3VUPVriGtSXl8RaaYLU1PSbjRgg==", "requires": { diff --git a/packages/live-share-canvas/package.json b/packages/live-share-canvas/package.json index cbb326524..239aa9626 100644 --- a/packages/live-share-canvas/package.json +++ b/packages/live-share-canvas/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/live-share-canvas", - "version": "1.0.0-preview.4", + "version": "1.0.0-preview.7", "description": "Live Share extension library for collaborative inking.", "author": "Microsoft", "license": "SEE LICENSE IN LICENSE", @@ -14,7 +14,7 @@ "test:coverage": "nyc --reporter=html --reporter=text --reporter=text-summary npm test" }, "dependencies": { - "@microsoft/live-share": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", "fluid-framework": "~1.2.3" }, "devDependencies": { diff --git a/packages/live-share-media/README.md b/packages/live-share-media/README.md index 4bdae7dd7..2cae14430 100644 --- a/packages/live-share-media/README.md +++ b/packages/live-share-media/README.md @@ -112,12 +112,12 @@ The Live Share SDK contains dependencies for [@microsoft/teams-js](https://www.n **It is critical that your app use the package dependencies listed in the table below.** Lookup the version of the `@microsoft/live-share` you're using and set any other dependencies in your package.json file to match: -| @microsoft/live-share | @microsoft/teams-js | fluid-framework | @microsoft/live-share-(media or canvas) | @fluidframework/azure-client | @microsoft/TeamsFx | @microsoft/TeamsFx-react | -| --------------------- | -------------------- | --------------- | --------------------------- | ---------------------------- | ------------------------------- | ------------------------------- | -| 1.0.0-preview.4 | ^2.5.0 | ~1.2.3 | 1.0.0-preview.4 (optional) | ~1.0.2 (optional) | ^2.5.0 (optional) | ^2.5.0 (optional) | -| 1.0.0-preview.3 | 2.0.0-experimental.1 | ~1.2.3 | 1.0.0-preview.3 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | -| ~0.5.1 | 2.0.0-experimental.1 | ~1.2.3 | ~0.5.1 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | -| ~0.3.1 | 2.0.0-experimental.0 | ~0.59.0 | ~0.3.1 (optional) | ~0.59.0 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | +| @microsoft/live-share | @microsoft/teams-js | fluid-framework | @microsoft/live-share-\* | @fluidframework/azure-client | @microsoft/TeamsFx | @microsoft/TeamsFx-react | +| --------------------- | -------------------- | --------------- | -------------------------- | ---------------------------- | ------------------------------- | ------------------------------- | +| 1.0.0-preview.7 | ^2.5.0 | ~1.2.3 | 1.0.0-preview.7 (optional) | ~1.0.2 (optional) | ^2.5.0 (optional) | ^2.5.0 (optional) | +| 1.0.0-preview.3 | 2.0.0-experimental.1 | ~1.2.3 | 1.0.0-preview.3 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | +| ~0.5.1 | 2.0.0-experimental.1 | ~1.2.3 | ~0.5.1 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | +| ~0.3.1 | 2.0.0-experimental.0 | ~0.59.0 | ~0.3.1 (optional) | ~0.59.0 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | ## Contributing diff --git a/packages/live-share-media/package-lock.json b/packages/live-share-media/package-lock.json index 79315d2da..be5680925 100644 --- a/packages/live-share-media/package-lock.json +++ b/packages/live-share-media/package-lock.json @@ -1,15 +1,15 @@ { "name": "@microsoft/live-share-media", - "version": "1.0.0-preview.4", + "version": "1.0.0-preview.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@microsoft/live-share-media", - "version": "1.0.0-preview.4", + "version": "1.0.0-preview.7", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@microsoft/live-share": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", "fluid-framework": "~1.2.3" }, "devDependencies": { @@ -1077,7 +1077,7 @@ } }, "node_modules/@microsoft/live-share": { - "version": "1.0.0-preview.4", + "version": "1.0.0-preview.7", "resolved": "https://registry.npmjs.org/@microsoft/live-share/-/live-share-1.0.0-preview.4.tgz", "integrity": "sha512-nrItok95gvGSHUDnLrxBCtUt0MY47JI5h4LW/nwOTLz7/3SXy7WSqm6SpJr3VUPVriGtSXl8RaaYLU1PSbjRgg==", "dependencies": { @@ -4529,7 +4529,7 @@ } }, "@microsoft/live-share": { - "version": "1.0.0-preview.4", + "version": "1.0.0-preview.7", "resolved": "https://registry.npmjs.org/@microsoft/live-share/-/live-share-1.0.0-preview.4.tgz", "integrity": "sha512-nrItok95gvGSHUDnLrxBCtUt0MY47JI5h4LW/nwOTLz7/3SXy7WSqm6SpJr3VUPVriGtSXl8RaaYLU1PSbjRgg==", "requires": { diff --git a/packages/live-share-media/package.json b/packages/live-share-media/package.json index 1acf7e688..3f48a7dfd 100644 --- a/packages/live-share-media/package.json +++ b/packages/live-share-media/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/live-share-media", - "version": "1.0.0-preview.4", + "version": "1.0.0-preview.7", "description": "Live Share classes that synchronize media playback across clients.", "author": "Microsoft", "license": "SEE LICENSE IN LICENSE", @@ -14,7 +14,7 @@ "test:coverage": "nyc --reporter=html --reporter=text --reporter=text-summary npm test" }, "dependencies": { - "@microsoft/live-share": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", "fluid-framework": "~1.2.3" }, "devDependencies": { diff --git a/packages/live-share-react/README.md b/packages/live-share-react/README.md index 3b04d2951..f5dd63cdf 100644 --- a/packages/live-share-react/README.md +++ b/packages/live-share-react/README.md @@ -512,7 +512,16 @@ This package is compatible with React versions `^16.8.0` and greater, including ## Package Compatibility -TODO +The Live Share SDK contains dependencies for [@microsoft/teams-js](https://www.npmjs.com/package/@microsoft/teams-js) and [fluid-framework](https://www.npmjs.com/package/fluid-framework) packages among others. Both of these packages are sensitive to the package version your app any libraries use. You will likely run into issues if the package version your app uses doesn't match the version other libraries you depend on use. + +**It is critical that your app use the package dependencies listed in the table below.** Lookup the version of the `@microsoft/live-share` you're using and set any other dependencies in your package.json file to match: + +| @microsoft/live-share | @microsoft/teams-js | fluid-framework | @microsoft/live-share-\* | @fluidframework/azure-client | @microsoft/TeamsFx | @microsoft/TeamsFx-react | +| --------------------- | -------------------- | --------------- | -------------------------- | ---------------------------- | ------------------------------- | ------------------------------- | +| 1.0.0-preview.7 | ^2.5.0 | ~1.2.3 | 1.0.0-preview.7 (optional) | ~1.0.2 (optional) | ^2.5.0 (optional) | ^2.5.0 (optional) | +| 1.0.0-preview.3 | 2.0.0-experimental.1 | ~1.2.3 | 1.0.0-preview.3 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | +| ~0.5.1 | 2.0.0-experimental.1 | ~1.2.3 | ~0.5.1 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | +| ~0.3.1 | 2.0.0-experimental.0 | ~0.59.0 | ~0.3.1 (optional) | ~0.59.0 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | ## Contributing diff --git a/packages/live-share-react/package.json b/packages/live-share-react/package.json index 035755fbc..b229400c3 100644 --- a/packages/live-share-react/package.json +++ b/packages/live-share-react/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/live-share-react", - "version": "1.0.0-preview.4", + "version": "1.0.0-preview.7", "description": "Build collaborative React apps using Microsoft's Fluid & Live Share frameworks with ease.", "author": "Microsoft", "license": "SEE LICENSE IN LICENSE", @@ -14,10 +14,10 @@ "dependencies": { "@fluidframework/azure-client": "~1.0.2", "@fluid-experimental/task-manager": "~1.2.3", - "@microsoft/live-share": "1.0.0-preview.4", - "@microsoft/live-share-canvas": "1.0.0-preview.4", - "@microsoft/live-share-media": "1.0.0-preview.4", - "@microsoft/live-share-turbo": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", + "@microsoft/live-share-canvas": "1.0.0-preview.7", + "@microsoft/live-share-media": "1.0.0-preview.7", + "@microsoft/live-share-turbo": "1.0.0-preview.7", "fluid-framework": "~1.2.3", "url": "^0.11.0", "uuid": "^8.3.2" diff --git a/packages/live-share-turbo/README.md b/packages/live-share-turbo/README.md index d331e603e..0f9a59ec6 100644 --- a/packages/live-share-turbo/README.md +++ b/packages/live-share-turbo/README.md @@ -263,7 +263,16 @@ if (client.results) { ## Package Compatibility -TODO +The Live Share SDK contains dependencies for [@microsoft/teams-js](https://www.npmjs.com/package/@microsoft/teams-js) and [fluid-framework](https://www.npmjs.com/package/fluid-framework) packages among others. Both of these packages are sensitive to the package version your app any libraries use. You will likely run into issues if the package version your app uses doesn't match the version other libraries you depend on use. + +**It is critical that your app use the package dependencies listed in the table below.** Lookup the version of the `@microsoft/live-share` you're using and set any other dependencies in your package.json file to match: + +| @microsoft/live-share | @microsoft/teams-js | fluid-framework | @microsoft/live-share-\* | @fluidframework/azure-client | @microsoft/TeamsFx | @microsoft/TeamsFx-react | +| --------------------- | -------------------- | --------------- | -------------------------- | ---------------------------- | ------------------------------- | ------------------------------- | +| 1.0.0-preview.7 | ^2.5.0 | ~1.2.3 | 1.0.0-preview.7 (optional) | ~1.0.2 (optional) | ^2.5.0 (optional) | ^2.5.0 (optional) | +| 1.0.0-preview.3 | 2.0.0-experimental.1 | ~1.2.3 | 1.0.0-preview.3 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | +| ~0.5.1 | 2.0.0-experimental.1 | ~1.2.3 | ~0.5.1 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | +| ~0.3.1 | 2.0.0-experimental.0 | ~0.59.0 | ~0.3.1 (optional) | ~0.59.0 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | ## Contributing diff --git a/packages/live-share-turbo/package.json b/packages/live-share-turbo/package.json index dc95d02e5..96708ce93 100644 --- a/packages/live-share-turbo/package.json +++ b/packages/live-share-turbo/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/live-share-turbo", - "version": "1.0.0-preview.4", + "version": "1.0.0-preview.7", "description": "Alternative & lightweight way to build collaborative apps using Microsoft's Fluid Framework & Live Share.", "author": "Microsoft", "license": "SEE LICENSE IN LICENSE", @@ -18,7 +18,8 @@ }, "dependencies": { "@fluidframework/azure-client": "~1.0.2", - "@microsoft/live-share": "1.0.0-preview.4", + "@fluidframework/register-collection": "~1.2.3", + "@microsoft/live-share": "1.0.0-preview.7", "fluid-framework": "~1.2.3" }, "devDependencies": { diff --git a/packages/live-share-turbo/src/dds-objects/DynamicObjectManager.ts b/packages/live-share-turbo/src/dds-objects/DynamicObjectManager.ts index 7b1fc36e8..364b81a64 100644 --- a/packages/live-share-turbo/src/dds-objects/DynamicObjectManager.ts +++ b/packages/live-share-turbo/src/dds-objects/DynamicObjectManager.ts @@ -15,6 +15,10 @@ import { } from "@fluidframework/core-interfaces"; import { assert } from "@fluidframework/common-utils"; import { ConsensusRegisterCollection } from "@fluidframework/register-collection"; +import { DynamicObjectRegistry } from "@microsoft/live-share"; + +// Register ConsensusRegisterCollection +DynamicObjectRegistry.registerObjectClass(ConsensusRegisterCollection, ConsensusRegisterCollection.getFactory().type); type DynamicObjectsCollection = ConsensusRegisterCollection>; const dynamicObjectsCollectionKey = "<>"; diff --git a/packages/live-share/README.md b/packages/live-share/README.md index 04ba3f2d0..9e6752d45 100644 --- a/packages/live-share/README.md +++ b/packages/live-share/README.md @@ -31,7 +31,7 @@ This will use lerna to hoist and build all dependencies. ## How to use this extension -- This package depends on [Teams JS SDK](https://docs.microsoft.com/en-us/javascript/api/overview/msteams-client?view=msteams-client-js-latest). The version of `@microsoft/teams-js` you use in your app must match the one used in this project. +- This package depends on [Teams JS SDK](https://docs.microsoft.com/en-us/javascript/api/overview/msteams-client?view=msteams-client-js-latest). The version of `@microsoft/teams-js` you use in your app must match the one used in this project. ```javascript @@ -72,21 +72,21 @@ The Live Share SDK contains dependencies for [@microsoft/teams-js](https://www.n **It is critical that your app use the package dependencies listed in the table below.** Lookup the version of the `@microsoft/live-share` you're using and set any other dependencies in your package.json file to match: -| @microsoft/live-share | @microsoft/teams-js | fluid-framework | @microsoft/live-share-(media or canvas) | @fluidframework/azure-client | @microsoft/TeamsFx | @microsoft/TeamsFx-react | -| --------------------- | -------------------- | --------------- | --------------------------- | ---------------------------- | ------------------------------- | ------------------------------- | -| 1.0.0-preview.4 | ^2.5.0 | ~1.2.3 | 1.0.0-preview.4 (optional) | ~1.0.2 (optional) | ^2.5.0 (optional) | ^2.5.0 (optional) | -| 1.0.0-preview.3 | 2.0.0-experimental.1 | ~1.2.3 | 1.0.0-preview.3 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | -| ~0.5.1 | 2.0.0-experimental.1 | ~1.2.3 | ~0.5.1 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | -| ~0.3.1 | 2.0.0-experimental.0 | ~0.59.0 | ~0.3.1 (optional) | ~0.59.0 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | +| @microsoft/live-share | @microsoft/teams-js | fluid-framework | @microsoft/live-share-\* | @fluidframework/azure-client | @microsoft/TeamsFx | @microsoft/TeamsFx-react | +| --------------------- | -------------------- | --------------- | -------------------------- | ---------------------------- | ------------------------------- | ------------------------------- | +| 1.0.0-preview.7 | ^2.5.0 | ~1.2.3 | 1.0.0-preview.7 (optional) | ~1.0.2 (optional) | ^2.5.0 (optional) | ^2.5.0 (optional) | +| 1.0.0-preview.3 | 2.0.0-experimental.1 | ~1.2.3 | 1.0.0-preview.3 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | +| ~0.5.1 | 2.0.0-experimental.1 | ~1.2.3 | ~0.5.1 (optional) | ~1.0.2 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | +| ~0.3.1 | 2.0.0-experimental.0 | ~0.59.0 | ~0.3.1 (optional) | ~0.59.0 (optional) | 2.0.0-experimental.0 (optional) | 2.0.0-experimental.0 (optional) | ## Contributing There are several ways you can [contribute](../../CONTRIBUTING.md) to this project: -- [Submit bugs](https://github.com/microsoft/live-share-sdk/issues) and help us verify fixes as they are checked in. -- Review the source code changes. -- Engage with other Live Share developers on [StackOverflow](https://stackoverflow.com/questions/tagged/live-share). -- [Contribute bug fixes](../../CONTRIBUTING.md). +- [Submit bugs](https://github.com/microsoft/live-share-sdk/issues) and help us verify fixes as they are checked in. +- Review the source code changes. +- Engage with other Live Share developers on [StackOverflow](https://stackoverflow.com/questions/tagged/live-share). +- [Contribute bug fixes](../../CONTRIBUTING.md). This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact opencode@microsoft.com with any additional questions or comments. diff --git a/packages/live-share/package-lock.json b/packages/live-share/package-lock.json index 14c3773b9..5d38b5b04 100644 --- a/packages/live-share/package-lock.json +++ b/packages/live-share/package-lock.json @@ -1,12 +1,12 @@ { "name": "@microsoft/live-share", - "version": "1.0.0-preview.4", + "version": "1.0.0-preview.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@microsoft/live-share", - "version": "1.0.0-preview.4", + "version": "1.0.0-preview.7", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@fluidframework/azure-client": "~1.0.2", diff --git a/packages/live-share/package.json b/packages/live-share/package.json index 98da8288d..50606cc2e 100644 --- a/packages/live-share/package.json +++ b/packages/live-share/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/live-share", - "version": "1.0.0-preview.4", + "version": "1.0.0-preview.7", "description": "Building collaborative experiences for Microsoft Teams and M365 using Fluid.", "author": "Microsoft", "license": "SEE LICENSE IN LICENSE", diff --git a/packages/live-share/src/DynamicObjectRegistry.ts b/packages/live-share/src/DynamicObjectRegistry.ts index 8b0155ab6..3cd03840a 100644 --- a/packages/live-share/src/DynamicObjectRegistry.ts +++ b/packages/live-share/src/DynamicObjectRegistry.ts @@ -9,7 +9,6 @@ import { SharedString, SharedDirectory, } from "fluid-framework"; -import { ConsensusRegisterCollection } from "@fluidframework/register-collection"; /** * Key for window global reference to loadable objects. @@ -68,4 +67,3 @@ export class DynamicObjectRegistry { DynamicObjectRegistry.registerObjectClass(SharedMap, SharedMap.getFactory().type); DynamicObjectRegistry.registerObjectClass(SharedString, SharedString.getFactory().type); DynamicObjectRegistry.registerObjectClass(SharedDirectory, SharedDirectory.getFactory().type); -DynamicObjectRegistry.registerObjectClass(ConsensusRegisterCollection, ConsensusRegisterCollection.getFactory().type); diff --git a/samples/javascript/01.dice-roller/package.json b/samples/javascript/01.dice-roller/package.json index 5ad22ff3b..f78ba60d7 100644 --- a/samples/javascript/01.dice-roller/package.json +++ b/samples/javascript/01.dice-roller/package.json @@ -15,7 +15,7 @@ "doctor": "eslint src/**/*.{j,t}s{,x} --fix --no-error-on-unmatched-pattern" }, "dependencies": { - "@microsoft/live-share": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", "@microsoft/teams-js": "^2.5.0", "@typescript-eslint/eslint-plugin": "^5.48.1", "@typescript-eslint/parser": "^5.48.1", diff --git a/samples/javascript/02.react-video/package.json b/samples/javascript/02.react-video/package.json index 8fc60b51f..ae05ddce7 100644 --- a/samples/javascript/02.react-video/package.json +++ b/samples/javascript/02.react-video/package.json @@ -10,8 +10,8 @@ "@fluentui/react-icons": "^2.0.194", "@fluentui/react-theme": "^9.1.5", "@fluidframework/azure-client": "~1.0.2", - "@microsoft/live-share": "1.0.0-preview.4", - "@microsoft/live-share-media": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", + "@microsoft/live-share-media": "1.0.0-preview.7", "@microsoft/teams-js": "^2.5.0", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", diff --git a/samples/javascript/03.live-canvas-demo/package.json b/samples/javascript/03.live-canvas-demo/package.json index 60e9a0555..f8d055d5f 100644 --- a/samples/javascript/03.live-canvas-demo/package.json +++ b/samples/javascript/03.live-canvas-demo/package.json @@ -15,8 +15,8 @@ }, "dependencies": { "@fluidframework/test-client-utils": "~1.2.3", - "@microsoft/live-share": "1.0.0-preview.4", - "@microsoft/live-share-canvas": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", + "@microsoft/live-share-canvas": "1.0.0-preview.7", "@microsoft/teams-js": "^2.5.0", "fluid-framework": "~1.2.3" }, diff --git a/samples/javascript/04.live-share-react/package.json b/samples/javascript/04.live-share-react/package.json index 76ec2941d..d0d7f67ec 100644 --- a/samples/javascript/04.live-share-react/package.json +++ b/samples/javascript/04.live-share-react/package.json @@ -9,10 +9,10 @@ "@fluentui/react-icons": "^2.0.194", "@fluentui/react-theme": "^9.1.5", "@fluidframework/azure-client": "~1.0.2", - "@microsoft/live-share": "1.0.0-preview.4", - "@microsoft/live-share-media": "1.0.0-preview.4", - "@microsoft/live-share-canvas": "1.0.0-preview.4", - "@microsoft/live-share-react": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", + "@microsoft/live-share-media": "1.0.0-preview.7", + "@microsoft/live-share-canvas": "1.0.0-preview.7", + "@microsoft/live-share-react": "1.0.0-preview.7", "@microsoft/teams-js": "^2.5.0", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", diff --git a/samples/javascript/05.dice-roller-turbo/package.json b/samples/javascript/05.dice-roller-turbo/package.json index 2e141c138..6becd6238 100644 --- a/samples/javascript/05.dice-roller-turbo/package.json +++ b/samples/javascript/05.dice-roller-turbo/package.json @@ -15,8 +15,8 @@ "doctor": "eslint src/**/*.{j,t}s{,x} --fix --no-error-on-unmatched-pattern" }, "dependencies": { - "@microsoft/live-share": "1.0.0-preview.4", - "@microsoft/live-share-turbo": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", + "@microsoft/live-share-turbo": "1.0.0-preview.7", "@microsoft/teams-js": "^2.5.0", "@typescript-eslint/eslint-plugin": "^5.48.1", "@typescript-eslint/parser": "^5.48.1", diff --git a/samples/javascript/21.react-media-template/package.json b/samples/javascript/21.react-media-template/package.json index f7d337bca..bd81b5394 100644 --- a/samples/javascript/21.react-media-template/package.json +++ b/samples/javascript/21.react-media-template/package.json @@ -9,9 +9,9 @@ "@fluentui/react-icons": "^2.0.194", "@fluentui/react-theme": "^9.1.5", "@fluidframework/azure-client": "~1.0.2", - "@microsoft/live-share": "1.0.0-preview.4", - "@microsoft/live-share-canvas": "1.0.0-preview.4", - "@microsoft/live-share-media": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", + "@microsoft/live-share-canvas": "1.0.0-preview.7", + "@microsoft/live-share-media": "1.0.0-preview.7", "@microsoft/teams-js": "^2.5.0", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", diff --git a/samples/javascript/22.react-agile-poker/package.json b/samples/javascript/22.react-agile-poker/package.json index 47dcf14c7..e5c0ae984 100644 --- a/samples/javascript/22.react-agile-poker/package.json +++ b/samples/javascript/22.react-agile-poker/package.json @@ -9,7 +9,7 @@ "@fluentui/react-icons": "^2.0.194", "@fluentui/react-theme": "^9.1.5", "@fluidframework/azure-client": "~1.0.2", - "@microsoft/live-share": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", "@microsoft/teams-js": "^2.5.0", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", diff --git a/samples/javascript/23.react-live-canvas/package.json b/samples/javascript/23.react-live-canvas/package.json index e95f58201..8d33e801b 100644 --- a/samples/javascript/23.react-live-canvas/package.json +++ b/samples/javascript/23.react-live-canvas/package.json @@ -5,8 +5,8 @@ "author": "Microsoft", "license": "MIT", "dependencies": { - "@microsoft/live-share": "1.0.0-preview.4", - "@microsoft/live-share-canvas": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", + "@microsoft/live-share-canvas": "1.0.0-preview.7", "@microsoft/teams-js": "^2.5.0", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0", diff --git a/samples/javascript/31.live-canvas-tests/package-lock.json b/samples/javascript/31.live-canvas-tests/package-lock.json index 27990b2cb..281178bde 100644 --- a/samples/javascript/31.live-canvas-tests/package-lock.json +++ b/samples/javascript/31.live-canvas-tests/package-lock.json @@ -10,8 +10,8 @@ "license": "SEE LICENSE IN LICENSE", "dependencies": { "@fluidframework/test-client-utils": "~1.2.3", - "@microsoft/live-share": "1.0.0-preview.4", - "@microsoft/live-share-canvas": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", + "@microsoft/live-share-canvas": "1.0.0-preview.7", "fluid-framework": "~1.2.3" }, "devDependencies": { @@ -23,7 +23,7 @@ }, "../../../packages/live-share": { "name": "@microsoft/live-share", - "version": "1.0.0-preview.4", + "version": "1.0.0-preview.7", "license": "SEE LICENSE IN LICENSE", "dependencies": { "@fluidframework/azure-client": "~1.0.2", @@ -47,10 +47,10 @@ }, "../../../packages/live-share-canvas": { "name": "@microsoft/live-share-canvas", - "version": "1.0.0-preview.4", + "version": "1.0.0-preview.7", "license": "SEE LICENSE IN LICENSE", "dependencies": { - "@microsoft/live-share": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", "fluid-framework": "~1.2.3" }, "devDependencies": { @@ -3197,7 +3197,7 @@ "@microsoft/live-share-canvas": { "version": "file:../../../packages/live-share-canvas", "requires": { - "@microsoft/live-share": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", "@types/assert": "^1.5.6", "@types/mocha": "^10.0.1", "@types/node": "^18.11.18", diff --git a/samples/javascript/31.live-canvas-tests/package.json b/samples/javascript/31.live-canvas-tests/package.json index a4e0f85ae..0f107520a 100644 --- a/samples/javascript/31.live-canvas-tests/package.json +++ b/samples/javascript/31.live-canvas-tests/package.json @@ -15,8 +15,8 @@ }, "dependencies": { "@fluidframework/test-client-utils": "~1.2.3", - "@microsoft/live-share": "1.0.0-preview.4", - "@microsoft/live-share-canvas": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", + "@microsoft/live-share-canvas": "1.0.0-preview.7", "fluid-framework": "~1.2.3" }, "devDependencies": { diff --git a/samples/typescript/21.react-media-template/package.json b/samples/typescript/21.react-media-template/package.json index d3389cdca..583181f43 100644 --- a/samples/typescript/21.react-media-template/package.json +++ b/samples/typescript/21.react-media-template/package.json @@ -9,9 +9,9 @@ "@fluentui/react-icons": "^2.0.194", "@fluentui/react-theme": "^9.1.5", "@fluidframework/azure-client": "~1.0.2", - "@microsoft/live-share": "1.0.0-preview.4", - "@microsoft/live-share-canvas": "1.0.0-preview.4", - "@microsoft/live-share-media": "1.0.0-preview.4", + "@microsoft/live-share": "1.0.0-preview.7", + "@microsoft/live-share-canvas": "1.0.0-preview.7", + "@microsoft/live-share-media": "1.0.0-preview.7", "@microsoft/teams-js": "^2.5.0", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^13.4.0",