@fluidframework/azure-service-utils 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/CHANGELOG.md +4 -0
- package/README.md +30 -34
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -6,8 +6,7 @@ A set of helper utilities for building backend APIs for use with Azure Fluid Rel
|
|
|
6
6
|
|
|
7
7
|
This function will generate a JWT token that can be sent to an `ITokenProvider` instance that is being passed into the constructor of `AzureClient`. The `tenantId` and `key` map to the values provided to you as part of the onboarding process for the Azure Fluid Relay service. The `user` objects allows you to define the properties for the current user that this token will be used to authenticate for. The values passed in here represent the values that will be supplied as part of the `audience` in the `FluidContainer` that will be provided by the `AzureClient`.
|
|
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
|
|
|
@@ -41,11 +40,9 @@ Import the `legacy` APIs from `@fluidframework/azure-service-utils/legacy`.
|
|
|
41
40
|
Read the **@fluidframework/azure-service-utils** API documentation at <https://fluidframework.com/docs/apis/azure-service-utils>.
|
|
42
41
|
|
|
43
42
|
<!-- prettier-ignore-end -->
|
|
43
|
+
<!-- markdown-magic:end -->
|
|
44
44
|
|
|
45
|
-
<!--
|
|
46
|
-
|
|
47
|
-
<!-- AUTO-GENERATED-CONTENT:START (README_FOOTER) -->
|
|
48
|
-
|
|
45
|
+
<!-- markdown-magic:begin {"transform":"readme-footer","headingLevel":2} -->
|
|
49
46
|
<!-- prettier-ignore-start -->
|
|
50
47
|
<!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
|
|
51
48
|
|
|
@@ -62,29 +59,29 @@ To request support for a configuration that is not listed, file an issue.
|
|
|
62
59
|
The product team will evaluate your request.
|
|
63
60
|
In the issue, specify the current status of the configuration:
|
|
64
61
|
|
|
65
|
-
-
|
|
66
|
-
-
|
|
62
|
+
- The configuration works but needs official support.
|
|
63
|
+
- The configuration does not work and requires changes.
|
|
67
64
|
|
|
68
65
|
### Supported Runtimes
|
|
69
66
|
|
|
70
|
-
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
-
|
|
67
|
+
- Fluid Framework supports Node.js versions 22 and 24 while they receive [upstream support](https://nodejs.org/en/about/previous-releases).
|
|
68
|
+
- Fluid Framework will stop support for version 22 [when upstream support ends on 2027-04-30](https://github.com/nodejs/release#release-schedule).
|
|
69
|
+
- Fluid Framework does not support Node.js with the `--no-experimental-fetch` flag.
|
|
70
|
+
- Fluid Framework supports modern browsers that support the ES2022 standard library.
|
|
74
71
|
|
|
75
72
|
### Supported Tools
|
|
76
73
|
|
|
77
|
-
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
-
|
|
86
|
-
|
|
87
|
-
|
|
74
|
+
- [TypeScript 6.0](https://typescriptdocs.com/release-notes/TypeScript%206.0):
|
|
75
|
+
- Fluid Framework supports all [`strict`](https://www.typescriptlang.org/tsconfig) options.
|
|
76
|
+
- Set the build targets (`lib`, `target`) to `ES2022` or later.
|
|
77
|
+
- Enable [`strictNullChecks`](https://www.typescriptlang.org/tsconfig).
|
|
78
|
+
- 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).
|
|
79
|
+
- Fluid Framework does not fully support `exactOptionalPropertyTypes`.
|
|
80
|
+
If you enable this option, do not use `in`, `Reflect.has`, `Object.hasOwn`, or `Object.prototype.hasOwnProperty` to narrow members of Fluid Framework types.
|
|
81
|
+
These methods can incorrectly exclude `undefined` from the possible values.
|
|
82
|
+
- [webpack](https://webpack.js.org/) 5
|
|
83
|
+
- We do not require a specific bundler.
|
|
84
|
+
Other bundlers that handle ES Modules can work, but we actively test only webpack.
|
|
88
85
|
|
|
89
86
|
### Module Resolution
|
|
90
87
|
|
|
@@ -95,25 +92,25 @@ Do not use `Node10` module resolution.
|
|
|
95
92
|
|
|
96
93
|
### Module Formats
|
|
97
94
|
|
|
98
|
-
-
|
|
99
|
-
|
|
100
|
-
-
|
|
101
|
-
|
|
95
|
+
- ES Modules:
|
|
96
|
+
Use ES Modules to consume Fluid Framework client packages, including in Node.js.
|
|
97
|
+
- CommonJS:
|
|
98
|
+
Fluid Framework does not officially support CommonJS in version 3.0 or later.
|
|
102
99
|
|
|
103
100
|
## Contribution Guidelines
|
|
104
101
|
|
|
105
102
|
You can [contribute](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md) to Fluid Framework in these ways:
|
|
106
103
|
|
|
107
|
-
-
|
|
108
|
-
-
|
|
109
|
-
-
|
|
110
|
-
-
|
|
104
|
+
- Answer questions in [GitHub Discussions](https://github.com/microsoft/FluidFramework/discussions).
|
|
105
|
+
- [Submit bug reports](https://github.com/microsoft/FluidFramework/issues) and help verify fixes.
|
|
106
|
+
- Review [source code changes](https://github.com/microsoft/FluidFramework/pulls).
|
|
107
|
+
- [Contribute bug fixes](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md).
|
|
111
108
|
|
|
112
109
|
For detailed instructions, read the [repo documentation](https://github.com/microsoft/FluidFramework/blob/main/docs/content/Home.md).
|
|
113
110
|
|
|
114
111
|
This project follows the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
|
115
112
|
For more information, read the [Code of Conduct frequently asked questions](https://opensource.microsoft.com/codeofconduct/faq/).
|
|
116
|
-
For questions or comments, contact
|
|
113
|
+
For questions or comments, contact <opencode@microsoft.com>.
|
|
117
114
|
|
|
118
115
|
This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
|
|
119
116
|
Use of these trademarks or logos must follow Microsoft’s [Trademark & Brand Guidelines](https://www.microsoft.com/trademarks).
|
|
@@ -134,5 +131,4 @@ Use of these trademarks or logos must follow Microsoft's [Trademark & Brand Guid
|
|
|
134
131
|
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
|
|
135
132
|
|
|
136
133
|
<!-- prettier-ignore-end -->
|
|
137
|
-
|
|
138
|
-
<!-- AUTO-GENERATED-CONTENT:END -->
|
|
134
|
+
<!-- markdown-magic:end -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/azure-service-utils",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "Helper service-side utilities for connecting to Azure Fluid Relay service",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@fluidframework/driver-definitions": "~3.0
|
|
36
|
+
"@fluidframework/driver-definitions": "~3.1.0",
|
|
37
37
|
"jsrsasign": "^11.1.1",
|
|
38
38
|
"uuid": "^11.1.0"
|
|
39
39
|
},
|