Skip to content

Commit

Permalink
Published v1.0.0-preview.7 & Turbo + React packages (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbliss committed Apr 8, 2023
1 parent 9c878d3 commit a0cbb6c
Show file tree
Hide file tree
Showing 27 changed files with 106 additions and 84 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
11 changes: 6 additions & 5 deletions packages/live-share-canvas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 5 additions & 5 deletions packages/live-share-canvas/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/live-share-canvas/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand Down
12 changes: 6 additions & 6 deletions packages/live-share-media/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 5 additions & 5 deletions packages/live-share-media/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/live-share-media/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand Down
11 changes: 10 additions & 1 deletion packages/live-share-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions packages/live-share-react/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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"
Expand Down
11 changes: 10 additions & 1 deletion packages/live-share-turbo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 3 additions & 2 deletions packages/live-share-turbo/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<IFluidHandle<any>>;
const dynamicObjectsCollectionKey = "<<consensusRegisterCollectionKey>>";
Expand Down
Loading

0 comments on commit a0cbb6c

Please sign in to comment.