@fluidframework/aqueduct 2.1.0-276985 → 2.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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # @fluidframework/aqueduct
2
2
 
3
+ ## 2.1.0
4
+
5
+ Dependency updates only.
6
+
3
7
  ## 2.0.0-rc.5.0.0
4
8
 
5
9
  ### Minor Changes
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @fluidframework/aqueduct
2
2
 
3
- <!-- AUTO-GENERATED-CONTENT:START (README_DEPENDENCY_GUIDELINES_SECTION:includeHeading=TRUE) -->
3
+ <!-- AUTO-GENERATED-CONTENT:START (LIBRARY_PACKAGE_README_HEADER) -->
4
4
 
5
5
  <!-- prettier-ignore-start -->
6
6
  <!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
@@ -13,6 +13,27 @@ library consumers should always prefer `^`.
13
13
 
14
14
  If using any of Fluid Framework's unstable APIs (for example, its `beta` APIs), we recommend using a more constrained version range, such as `~`.
15
15
 
16
+ ## Installation
17
+
18
+ To get started, install the package by running the following command:
19
+
20
+ ```bash
21
+ npm i @fluidframework/aqueduct
22
+ ```
23
+
24
+ ## Importing from this package
25
+
26
+ This package leverages [package.json exports](https://nodejs.org/api/packages.html#exports) to separate its APIs by support level.
27
+ For more information on the related support guarantees, see [API Support Levels](https://fluidframework.com/docs/build/releases-and-apitags/#api-support-levels).
28
+
29
+ To access the `public` ([SemVer](https://semver.org/)) APIs, import via `@fluidframework/aqueduct` like normal.
30
+
31
+ To access the `legacy` APIs, import via `@fluidframework/aqueduct/legacy`.
32
+
33
+ ## API Documentation
34
+
35
+ API documentation for **@fluidframework/aqueduct** is available at <https://fluidframework.com/docs/apis/aqueduct>.
36
+
16
37
  <!-- prettier-ignore-end -->
17
38
 
18
39
  <!-- AUTO-GENERATED-CONTENT:END -->
@@ -213,11 +234,81 @@ makes a request to the Container for `{url:"color"}` will intercept and return a
213
234
 
214
235
  We use custom handlers to build the Container Services pattern.
215
236
 
216
- <!-- AUTO-GENERATED-CONTENT:START (README_TRADEMARK_SECTION:includeHeading=TRUE) -->
237
+ <!-- AUTO-GENERATED-CONTENT:START (LIBRARY_PACKAGE_README_FOOTER) -->
217
238
 
218
239
  <!-- prettier-ignore-start -->
219
240
  <!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
220
241
 
242
+ ## Minimum Client Requirements
243
+
244
+ These are the platform requirements for the current version of Fluid Framework Client Packages.
245
+ These requirements err on the side of being too strict since within a major version they can be relaxed over time, but not made stricter.
246
+ For Long Term Support (LTS) versions this can require supporting these platforms for several years.
247
+
248
+ It is likely that other configurations will work, but they are not supported: if they stop working, we do not consider that a bug.
249
+ If you would benefit from support for something not listed here, file an issue and the product team will evaluate your request.
250
+ When making such a request please include if the configuration already works (and thus the request is just that it becomes officially supported), or if changes are required to get it working.
251
+
252
+ ### Supported Runtimes
253
+
254
+ - NodeJs ^20.10.0 except that we will drop support for it [when NodeJs 20 loses its upstream support on 2026-04-30](https://github.com/nodejs/release#release-schedule), and will support a newer LTS version of NodeJS (22) at least 1 year before 20 is end-of-life. This same policy applies to NodeJS 22 when it is end of life (2027-04-30).
255
+ - Modern browsers supporting the es2022 standard library: in response to asks we can add explicit support for using babel to polyfill to target specific standards or runtimes (meaning we can avoid/remove use of things that don't polyfill robustly, but otherwise target modern standards).
256
+
257
+ ### Supported Tools
258
+
259
+ - TypeScript 5.4:
260
+ - All [`strict`](https://www.typescriptlang.org/tsconfig) options are supported.
261
+ - [`strictNullChecks`](https://www.typescriptlang.org/tsconfig) is required.
262
+ - [Configuration options deprecated in 5.0](https://github.com/microsoft/TypeScript/issues/51909) are not supported.
263
+ - `exactOptionalPropertyTypes` is currently not fully supported.
264
+ If used, narrowing members of Fluid Framework types types using `in`, `Reflect.has`, `Object.hasOwn` or `Object.prototype.hasOwnProperty` should be avoided as they may incorrectly exclude `undefined` from the possible values in some cases.
265
+ - [webpack](https://webpack.js.org/) 5
266
+ - We are not intending to be prescriptive about what bundler to use.
267
+ Other bundlers which can handle ES Modules should work, but webpack is the only one we actively test.
268
+
269
+ ### Module Resolution
270
+
271
+ [`Node16`, `NodeNext`, or `Bundler`](https://www.typescriptlang.org/tsconfig#moduleResolution) resolution should be used with TypeScript compilerOptions to follow the [Node.js v12+ ESM Resolution and Loading algorithm](https://nodejs.github.io/nodejs.dev/en/api/v20/esm/#resolution-and-loading-algorithm).
272
+ Node10 resolution is not supported as it does not support Fluid Framework's API structuring pattern that is used to distinguish stable APIs from those that are in development.
273
+
274
+ ### Module Formats
275
+
276
+ - ES Modules:
277
+ ES Modules are the preferred way to consume our client packages (including in NodeJs) and consuming our client packages from ES Modules is fully supported.
278
+ - CommonJs:
279
+ Consuming our client packages as CommonJs is supported only in NodeJS and only for the cases listed below.
280
+ This is done to accommodate some workflows without good ES Module support.
281
+ If you have a workflow you would like included in this list, file an issue.
282
+ Once this list of workflows motivating CommonJS support is empty, we may drop support for CommonJS one year after notice of the change is posted here.
283
+
284
+ - Testing with Jest (which lacks [stable ESM support](https://jestjs.io/docs/ecmascript-modules) due to [unstable APIs in NodeJs](https://github.com/nodejs/node/issues/37648))
285
+
286
+ ## Contribution Guidelines
287
+
288
+ There are many ways to [contribute](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md) to Fluid.
289
+
290
+ - Participate in Q&A in our [GitHub Discussions](https://github.com/microsoft/FluidFramework/discussions).
291
+ - [Submit bugs](https://github.com/microsoft/FluidFramework/issues) and help us verify fixes as they are checked in.
292
+ - Review the [source code changes](https://github.com/microsoft/FluidFramework/pulls).
293
+ - [Contribute bug fixes](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md).
294
+
295
+ Detailed instructions for working in the repo can be found in the [Wiki](https://github.com/microsoft/FluidFramework/wiki).
296
+
297
+ This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
298
+ For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
299
+
300
+ This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
301
+ Use of these trademarks or logos must follow Microsoft’s [Trademark & Brand Guidelines](https://www.microsoft.com/trademarks).
302
+ Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
303
+
304
+ ## Help
305
+
306
+ Not finding what you're looking for in this README? Check out [fluidframework.com](https://fluidframework.com/docs/).
307
+
308
+ Still not finding what you're looking for? Please [file an issue](https://github.com/microsoft/FluidFramework/wiki/Submitting-Bugs-and-Feature-Requests).
309
+
310
+ Thank you!
311
+
221
312
  ## Trademark
222
313
 
223
314
  This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
@@ -0,0 +1,5 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+ "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-report.esm.current.json",
4
+ "mainEntryPointFilePath": "<projectFolder>/lib/public.d.ts"
5
+ }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
- "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-base.esm.legacy.json"
3
+ "extends": "<projectFolder>/../../../common/build/build-common/api-extractor-report.esm.legacy.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
- "extends": "../../../common/build/build-common/api-extractor-base.esm.current.json"
3
+ "extends": "../../../common/build/build-common/api-extractor-model.esm.json"
4
4
  }
@@ -130,6 +130,4 @@ export class PureDataObjectFactory<TObj extends PureDataObject<I>, I extends Dat
130
130
  readonly type: string;
131
131
  }
132
132
 
133
- // (No @packageDocumentation comment for this package)
134
-
135
133
  ```
@@ -0,0 +1,7 @@
1
+ ## Public API Report File for "@fluidframework/aqueduct"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ ```
package/dist/legacy.d.ts CHANGED
@@ -5,7 +5,22 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
+ */
10
+
11
+ /**
12
+ * The `aqueduct` package is a library for building Fluid objects and Fluid
13
+ * containers within the Fluid Framework. Its goal is to provide a thin base
14
+ * layer over the existing Fluid Framework interfaces that allows developers to
15
+ * get started quickly.
16
+ *
17
+ * @remarks
18
+ * About the library name: An "aqueduct" is a way to transport water from a source
19
+ * to another location. The library name was chosen because its purpose is to
20
+ * facilitate using lower level constructs and therefore handle 'fluid' items
21
+ * same as an aqueduct.
22
+ *
23
+ * @packageDocumentation
9
24
  */
10
25
 
11
26
  export {
package/dist/public.d.ts CHANGED
@@ -5,8 +5,21 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
- export {}
11
+ /**
12
+ * The `aqueduct` package is a library for building Fluid objects and Fluid
13
+ * containers within the Fluid Framework. Its goal is to provide a thin base
14
+ * layer over the existing Fluid Framework interfaces that allows developers to
15
+ * get started quickly.
16
+ *
17
+ * @remarks
18
+ * About the library name: An "aqueduct" is a way to transport water from a source
19
+ * to another location. The library name was chosen because its purpose is to
20
+ * facilitate using lower level constructs and therefore handle 'fluid' items
21
+ * same as an aqueduct.
22
+ *
23
+ * @packageDocumentation
24
+ */export {}
12
25
 
package/internal.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
11
  export * from "./lib/index.js";
package/legacy.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
11
  export * from "./lib/legacy.js";
package/lib/legacy.d.ts CHANGED
@@ -5,7 +5,22 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
+ */
10
+
11
+ /**
12
+ * The `aqueduct` package is a library for building Fluid objects and Fluid
13
+ * containers within the Fluid Framework. Its goal is to provide a thin base
14
+ * layer over the existing Fluid Framework interfaces that allows developers to
15
+ * get started quickly.
16
+ *
17
+ * @remarks
18
+ * About the library name: An "aqueduct" is a way to transport water from a source
19
+ * to another location. The library name was chosen because its purpose is to
20
+ * facilitate using lower level constructs and therefore handle 'fluid' items
21
+ * same as an aqueduct.
22
+ *
23
+ * @packageDocumentation
9
24
  */
10
25
 
11
26
  export {
package/lib/public.d.ts CHANGED
@@ -5,8 +5,21 @@
5
5
 
6
6
  /*
7
7
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
8
- * Generated by "flub generate entrypoints" in @fluidframework/build-tools.
8
+ * Generated by "flub generate entrypoints" in @fluid-tools/build-cli.
9
9
  */
10
10
 
11
- export {}
11
+ /**
12
+ * The `aqueduct` package is a library for building Fluid objects and Fluid
13
+ * containers within the Fluid Framework. Its goal is to provide a thin base
14
+ * layer over the existing Fluid Framework interfaces that allows developers to
15
+ * get started quickly.
16
+ *
17
+ * @remarks
18
+ * About the library name: An "aqueduct" is a way to transport water from a source
19
+ * to another location. The library name was chosen because its purpose is to
20
+ * facilitate using lower level constructs and therefore handle 'fluid' items
21
+ * same as an aqueduct.
22
+ *
23
+ * @packageDocumentation
24
+ */export {}
12
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/aqueduct",
3
- "version": "2.1.0-276985",
3
+ "version": "2.1.0",
4
4
  "description": "A set of implementations for Fluid Framework interfaces.",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -67,29 +67,29 @@
67
67
  "temp-directory": "nyc/.nyc_output"
68
68
  },
69
69
  "dependencies": {
70
- "@fluid-internal/client-utils": "2.1.0-276985",
71
- "@fluidframework/container-definitions": "2.1.0-276985",
72
- "@fluidframework/container-runtime": "2.1.0-276985",
73
- "@fluidframework/container-runtime-definitions": "2.1.0-276985",
74
- "@fluidframework/core-interfaces": "2.1.0-276985",
75
- "@fluidframework/core-utils": "2.1.0-276985",
76
- "@fluidframework/datastore": "2.1.0-276985",
77
- "@fluidframework/datastore-definitions": "2.1.0-276985",
78
- "@fluidframework/map": "2.1.0-276985",
79
- "@fluidframework/request-handler": "2.1.0-276985",
80
- "@fluidframework/runtime-definitions": "2.1.0-276985",
81
- "@fluidframework/runtime-utils": "2.1.0-276985",
82
- "@fluidframework/shared-object-base": "2.1.0-276985",
83
- "@fluidframework/synthesize": "2.1.0-276985"
70
+ "@fluid-internal/client-utils": "~2.1.0",
71
+ "@fluidframework/container-definitions": "~2.1.0",
72
+ "@fluidframework/container-runtime": "~2.1.0",
73
+ "@fluidframework/container-runtime-definitions": "~2.1.0",
74
+ "@fluidframework/core-interfaces": "~2.1.0",
75
+ "@fluidframework/core-utils": "~2.1.0",
76
+ "@fluidframework/datastore": "~2.1.0",
77
+ "@fluidframework/datastore-definitions": "~2.1.0",
78
+ "@fluidframework/map": "~2.1.0",
79
+ "@fluidframework/request-handler": "~2.1.0",
80
+ "@fluidframework/runtime-definitions": "~2.1.0",
81
+ "@fluidframework/runtime-utils": "~2.1.0",
82
+ "@fluidframework/shared-object-base": "~2.1.0",
83
+ "@fluidframework/synthesize": "~2.1.0"
84
84
  },
85
85
  "devDependencies": {
86
86
  "@arethetypeswrong/cli": "^0.15.2",
87
- "@biomejs/biome": "^1.7.3",
88
- "@fluid-internal/mocha-test-setup": "2.1.0-276985",
89
- "@fluid-tools/build-cli": "^0.39.0",
90
- "@fluidframework/aqueduct-previous": "npm:@fluidframework/aqueduct@2.0.0-rc.5.0.0",
87
+ "@biomejs/biome": "~1.8.3",
88
+ "@fluid-internal/mocha-test-setup": "~2.1.0",
89
+ "@fluid-tools/build-cli": "^0.41.0",
90
+ "@fluidframework/aqueduct-previous": "npm:@fluidframework/aqueduct@2.0.0",
91
91
  "@fluidframework/build-common": "^2.0.3",
92
- "@fluidframework/build-tools": "^0.39.0",
92
+ "@fluidframework/build-tools": "^0.41.0",
93
93
  "@fluidframework/eslint-config-fluid": "^5.3.0",
94
94
  "@microsoft/api-extractor": "^7.45.1",
95
95
  "@types/mocha": "^9.1.1",
@@ -115,17 +115,18 @@
115
115
  "api-extractor:commonjs": "flub generate entrypoints --outDir ./dist",
116
116
  "api-extractor:esnext": "flub generate entrypoints --outDir ./lib --node10TypeCompat",
117
117
  "build": "fluid-build . --task build",
118
+ "build:api-reports": "concurrently \"npm:build:api-reports:*\"",
119
+ "build:api-reports:current": "api-extractor run --local --config api-extractor/api-extractor.current.json",
120
+ "build:api-reports:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
118
121
  "build:commonjs": "fluid-build . --task commonjs",
119
122
  "build:compile": "fluid-build . --task compile",
120
- "build:docs": "concurrently \"npm:build:docs:*\"",
121
- "build:docs:current": "api-extractor run --local",
122
- "build:docs:legacy": "api-extractor run --local --config api-extractor/api-extractor.legacy.json",
123
+ "build:docs": "api-extractor run --local",
123
124
  "build:esnext": "tsc --project ./tsconfig.json",
124
125
  "build:test": "npm run build:test:esm && npm run build:test:cjs",
125
126
  "build:test:cjs": "fluid-tsc commonjs --project ./src/test/tsconfig.cjs.json",
126
127
  "build:test:esm": "tsc --project ./src/test/tsconfig.json",
127
128
  "check:are-the-types-wrong": "attw --pack .",
128
- "check:biome": "biome check . --formatter-enabled=true",
129
+ "check:biome": "biome check .",
129
130
  "check:exports": "concurrently \"npm:check:exports:*\"",
130
131
  "check:exports:bundle-release-tags": "api-extractor run --config api-extractor/api-extractor-lint-bundle.json",
131
132
  "check:exports:cjs:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.cjs.json",
@@ -134,14 +135,15 @@
134
135
  "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
135
136
  "check:format": "npm run check:biome",
136
137
  "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
137
- "ci:build:docs": "concurrently \"npm:ci:build:docs:*\"",
138
- "ci:build:docs:current": "api-extractor run",
139
- "ci:build:docs:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
138
+ "ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
139
+ "ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
140
+ "ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
141
+ "ci:build:docs": "api-extractor run",
140
142
  "clean": "rimraf --glob dist lib \"*.d.ts\" \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
141
143
  "eslint": "eslint --format stylish src",
142
144
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
143
145
  "format": "npm run format:biome",
144
- "format:biome": "biome check . --formatter-enabled=true --apply",
146
+ "format:biome": "biome check . --write",
145
147
  "format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
146
148
  "lint": "fluid-build . --task lint",
147
149
  "lint:fix": "fluid-build . --task eslint:fix --task format",