@fluidframework/presence 3.0.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -34
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -6,8 +6,7 @@ A session is a period of time when one or more clients are connected to a Fluid
|
|
|
6
6
|
|
|
7
7
|
For more details and examples of how to use the library, please refer to the documentation on the Fluid Framework [website](https://fluidframework.com/docs/build/presence).
|
|
8
8
|
|
|
9
|
-
<!--
|
|
10
|
-
|
|
9
|
+
<!-- markdown-magic:begin {"transform":"library-readme-header","headingLevel":2} -->
|
|
11
10
|
<!-- prettier-ignore-start -->
|
|
12
11
|
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
13
12
|
|
|
@@ -43,11 +42,9 @@ Import the `alpha` APIs from `@fluidframework/presence/alpha`.
|
|
|
43
42
|
Read the **@fluidframework/presence** API documentation at <https://fluidframework.com/docs/apis/presence>.
|
|
44
43
|
|
|
45
44
|
<!-- prettier-ignore-end -->
|
|
45
|
+
<!-- markdown-magic:end -->
|
|
46
46
|
|
|
47
|
-
<!--
|
|
48
|
-
|
|
49
|
-
<!-- AUTO-GENERATED-CONTENT:START (README_FOOTER) -->
|
|
50
|
-
|
|
47
|
+
<!-- markdown-magic:begin {"transform":"readme-footer","headingLevel":2} -->
|
|
51
48
|
<!-- prettier-ignore-start -->
|
|
52
49
|
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
53
50
|
|
|
@@ -64,29 +61,29 @@ To request support for a configuration that is not listed, file an issue.
|
|
|
64
61
|
The product team will evaluate your request.
|
|
65
62
|
In the issue, specify the current status of the configuration:
|
|
66
63
|
|
|
67
|
-
-
|
|
68
|
-
-
|
|
64
|
+
- The configuration works but needs official support.
|
|
65
|
+
- The configuration does not work and requires changes.
|
|
69
66
|
|
|
70
67
|
### Supported Runtimes
|
|
71
68
|
|
|
72
|
-
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
-
|
|
69
|
+
- Fluid Framework supports Node.js versions 22 and 24 while they receive [upstream support](https://nodejs.org/en/about/previous-releases).
|
|
70
|
+
- Fluid Framework will stop support for version 22 [when upstream support ends on 2027-04-30](https://github.com/nodejs/release#release-schedule).
|
|
71
|
+
- Fluid Framework does not support Node.js with the `--no-experimental-fetch` flag.
|
|
72
|
+
- Fluid Framework supports modern browsers that support the ES2022 standard library.
|
|
76
73
|
|
|
77
74
|
### Supported Tools
|
|
78
75
|
|
|
79
|
-
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
-
|
|
88
|
-
|
|
89
|
-
|
|
76
|
+
- [TypeScript 6.0](https://typescriptdocs.com/release-notes/TypeScript%206.0):
|
|
77
|
+
- Fluid Framework supports all [`strict`](https://www.typescriptlang.org/tsconfig) options.
|
|
78
|
+
- Set the build targets (`lib`, `target`) to `ES2022` or later.
|
|
79
|
+
- Enable [`strictNullChecks`](https://www.typescriptlang.org/tsconfig).
|
|
80
|
+
- Fluid Framework does not support [configuration options deprecated in TypeScript 6.0](https://typescriptdocs.com/release-notes/TypeScript%206.0#breaking-changes-and-deprecations-in-typescript-6-0).
|
|
81
|
+
- Fluid Framework does not fully support `exactOptionalPropertyTypes`.
|
|
82
|
+
If you enable this option, do not use `in`, `Reflect.has`, `Object.hasOwn`, or `Object.prototype.hasOwnProperty` to narrow members of Fluid Framework types.
|
|
83
|
+
These methods can incorrectly exclude `undefined` from the possible values.
|
|
84
|
+
- [webpack](https://webpack.js.org/) 5
|
|
85
|
+
- We do not require a specific bundler.
|
|
86
|
+
Other bundlers that handle ES Modules can work, but we actively test only webpack.
|
|
90
87
|
|
|
91
88
|
### Module Resolution
|
|
92
89
|
|
|
@@ -97,25 +94,25 @@ Do not use `Node10` module resolution.
|
|
|
97
94
|
|
|
98
95
|
### Module Formats
|
|
99
96
|
|
|
100
|
-
-
|
|
101
|
-
|
|
102
|
-
-
|
|
103
|
-
|
|
97
|
+
- ES Modules:
|
|
98
|
+
Use ES Modules to consume Fluid Framework client packages, including in Node.js.
|
|
99
|
+
- CommonJS:
|
|
100
|
+
Fluid Framework does not officially support CommonJS in version 3.0 or later.
|
|
104
101
|
|
|
105
102
|
## Contribution Guidelines
|
|
106
103
|
|
|
107
104
|
You can [contribute](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md) to Fluid Framework in these ways:
|
|
108
105
|
|
|
109
|
-
-
|
|
110
|
-
-
|
|
111
|
-
-
|
|
112
|
-
-
|
|
106
|
+
- Answer questions in [GitHub Discussions](https://github.com/microsoft/FluidFramework/discussions).
|
|
107
|
+
- [Submit bug reports](https://github.com/microsoft/FluidFramework/issues) and help verify fixes.
|
|
108
|
+
- Review [source code changes](https://github.com/microsoft/FluidFramework/pulls).
|
|
109
|
+
- [Contribute bug fixes](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md).
|
|
113
110
|
|
|
114
111
|
For detailed instructions, read the [repo documentation](https://github.com/microsoft/FluidFramework/blob/main/docs/content/Home.md).
|
|
115
112
|
|
|
116
113
|
This project follows the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
|
117
114
|
For more information, read the [Code of Conduct frequently asked questions](https://opensource.microsoft.com/codeofconduct/faq/).
|
|
118
|
-
For questions or comments, contact
|
|
115
|
+
For questions or comments, contact <opencode@microsoft.com>.
|
|
119
116
|
|
|
120
117
|
This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
|
|
121
118
|
Use of these trademarks or logos must follow Microsoft’s [Trademark & Brand Guidelines](https://www.microsoft.com/trademarks).
|
|
@@ -136,5 +133,4 @@ Use of these trademarks or logos must follow Microsoft's [Trademark & Brand Guid
|
|
|
136
133
|
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
|
|
137
134
|
|
|
138
135
|
<!-- prettier-ignore-end -->
|
|
139
|
-
|
|
140
|
-
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
136
|
+
<!-- markdown-magic:end -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/presence",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "A component for lightweight data sharing within a single session",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
"!**/test/**"
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@fluid-internal/presence-definitions": "~3.0
|
|
53
|
-
"@fluid-internal/presence-runtime": "~3.0
|
|
54
|
-
"@fluidframework/core-utils": "~3.0
|
|
55
|
-
"@fluidframework/runtime-definitions": "~3.0
|
|
52
|
+
"@fluid-internal/presence-definitions": "~3.1.0",
|
|
53
|
+
"@fluid-internal/presence-runtime": "~3.1.0",
|
|
54
|
+
"@fluidframework/core-utils": "~3.1.0",
|
|
55
|
+
"@fluidframework/runtime-definitions": "~3.1.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
59
59
|
"@biomejs/biome": "~2.4.5",
|
|
60
|
-
"@fluid-internal/mocha-test-setup": "~3.0
|
|
60
|
+
"@fluid-internal/mocha-test-setup": "~3.1.0",
|
|
61
61
|
"@fluid-tools/build-cli": "^0.67.0",
|
|
62
62
|
"@fluidframework/build-common": "^2.0.3",
|
|
63
63
|
"@fluidframework/build-tools": "^0.67.0",
|