@fluidframework/fluid-runner 2.30.0 → 2.31.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 +57 -53
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +12 -15
- package/prettier.config.cjs +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# @fluidframework/fluid-runner
|
|
2
2
|
|
|
3
|
+
## 2.31.0
|
|
4
|
+
|
|
5
|
+
Dependency updates only.
|
|
6
|
+
|
|
3
7
|
## 2.30.0
|
|
4
8
|
|
|
5
9
|
Dependency updates only.
|
|
@@ -60,9 +64,9 @@ Dependency updates only.
|
|
|
60
64
|
|
|
61
65
|
### Minor Changes
|
|
62
66
|
|
|
63
|
-
-
|
|
67
|
+
- Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
|
|
64
68
|
|
|
65
|
-
|
|
69
|
+
Update package implementations to use TypeScript 5.4.5.
|
|
66
70
|
|
|
67
71
|
## 2.0.0-rc.4.0.0
|
|
68
72
|
|
|
@@ -72,24 +76,24 @@ Dependency updates only.
|
|
|
72
76
|
|
|
73
77
|
### Major Changes
|
|
74
78
|
|
|
75
|
-
-
|
|
79
|
+
- Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
|
|
76
80
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
81
|
+
Fluid Framework packages have been updated to use the [package.json "exports"
|
|
82
|
+
field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
|
|
83
|
+
TypeScript types and implementation code.
|
|
80
84
|
|
|
81
|
-
|
|
85
|
+
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
82
86
|
|
|
83
|
-
|
|
84
|
-
|
|
87
|
+
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
88
|
+
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
85
89
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
+
We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
|
|
91
|
+
for use with modern versions of Node.js _and_ Bundlers.
|
|
92
|
+
[See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
|
|
93
|
+
regarding the module and moduleResolution options.
|
|
90
94
|
|
|
91
|
-
|
|
92
|
-
|
|
95
|
+
**Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
|
|
96
|
+
to distinguish stable APIs from those that are in development.**
|
|
93
97
|
|
|
94
98
|
## 2.0.0-rc.2.0.0
|
|
95
99
|
|
|
@@ -123,25 +127,25 @@ Dependency updates only.
|
|
|
123
127
|
|
|
124
128
|
### Major Changes
|
|
125
129
|
|
|
126
|
-
-
|
|
130
|
+
- test-utils: provideEntryPoint is required [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
127
131
|
|
|
128
|
-
|
|
132
|
+
The optional `provideEntryPoint` method has become required on a number of constructors. A value will need to be provided to the following classes:
|
|
129
133
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
+
- `BaseContainerRuntimeFactory`
|
|
135
|
+
- `RuntimeFactory`
|
|
136
|
+
- `ContainerRuntime` (constructor and `loadRuntime`)
|
|
137
|
+
- `FluidDataStoreRuntime`
|
|
134
138
|
|
|
135
|
-
|
|
136
|
-
|
|
139
|
+
See [testContainerRuntimeFactoryWithDefaultDataStore.ts](https://github.com/microsoft/FluidFramework/tree/main/packages/test/test-utils/src/testContainerRuntimeFactoryWithDefaultDataStore.ts) for an example implemtation of `provideEntryPoint` for ContainerRuntime.
|
|
140
|
+
See [pureDataObjectFactory.ts](https://github.com/microsoft/FluidFramework/tree/main/packages/framework/aqueduct/src/data-object-factories/pureDataObjectFactory.ts#L83) for an example implementation of `provideEntryPoint` for DataStoreRuntime.
|
|
137
141
|
|
|
138
|
-
|
|
142
|
+
Subsequently, various `entryPoint` and `getEntryPoint()` endpoints have become required. Please see [containerRuntime.ts](https://github.com/microsoft/FluidFramework/tree/main/packages/runtime/container-runtime/src/containerRuntime.ts) for example implementations of these APIs.
|
|
139
143
|
|
|
140
|
-
|
|
144
|
+
For more details, see [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md)
|
|
141
145
|
|
|
142
|
-
-
|
|
146
|
+
- Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
143
147
|
|
|
144
|
-
|
|
148
|
+
The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
|
|
145
149
|
|
|
146
150
|
## 2.0.0-internal.6.4.0
|
|
147
151
|
|
|
@@ -155,32 +159,32 @@ Dependency updates only.
|
|
|
155
159
|
|
|
156
160
|
### Minor Changes
|
|
157
161
|
|
|
158
|
-
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
162
|
+
- Remove use of @fluidframework/common-definitions ([#16638](https://github.com/microsoft/FluidFramework/issues/16638)) [a8c81509c9](https://github.com/microsoft/FluidFramework/commits/a8c81509c9bf09cfb2092ebcf7265205f9eb6dbf)
|
|
163
|
+
|
|
164
|
+
The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
|
|
165
|
+
imported from the **@fluidframework/core-interfaces** package:
|
|
166
|
+
|
|
167
|
+
- interface IDisposable
|
|
168
|
+
- interface IErrorEvent
|
|
169
|
+
- interface IErrorEvent
|
|
170
|
+
- interface IEvent
|
|
171
|
+
- interface IEventProvider
|
|
172
|
+
- interface ILoggingError
|
|
173
|
+
- interface ITaggedTelemetryPropertyType
|
|
174
|
+
- interface ITelemetryBaseEvent
|
|
175
|
+
- interface ITelemetryBaseLogger
|
|
176
|
+
- interface ITelemetryErrorEvent
|
|
177
|
+
- interface ITelemetryGenericEvent
|
|
178
|
+
- interface ITelemetryLogger
|
|
179
|
+
- interface ITelemetryPerformanceEvent
|
|
180
|
+
- interface ITelemetryProperties
|
|
181
|
+
- type ExtendEventProvider
|
|
182
|
+
- type IEventThisPlaceHolder
|
|
183
|
+
- type IEventTransformer
|
|
184
|
+
- type ReplaceIEventThisPlaceHolder
|
|
185
|
+
- type ReplaceIEventThisPlaceHolder
|
|
186
|
+
- type TelemetryEventCategory
|
|
187
|
+
- type TelemetryEventPropertyType
|
|
184
188
|
|
|
185
189
|
## 2.0.0-internal.6.1.0
|
|
186
190
|
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/fluid-runner",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.0",
|
|
4
4
|
"description": "Utility for running various functionality inside a Fluid Framework environment",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -71,27 +71,27 @@
|
|
|
71
71
|
"temp-directory": "nyc/.nyc_output"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@fluidframework/aqueduct": "~2.
|
|
75
|
-
"@fluidframework/container-definitions": "~2.
|
|
76
|
-
"@fluidframework/container-loader": "~2.
|
|
77
|
-
"@fluidframework/core-interfaces": "~2.
|
|
78
|
-
"@fluidframework/driver-definitions": "~2.
|
|
79
|
-
"@fluidframework/odsp-driver": "~2.
|
|
80
|
-
"@fluidframework/odsp-driver-definitions": "~2.
|
|
81
|
-
"@fluidframework/telemetry-utils": "~2.
|
|
74
|
+
"@fluidframework/aqueduct": "~2.31.0",
|
|
75
|
+
"@fluidframework/container-definitions": "~2.31.0",
|
|
76
|
+
"@fluidframework/container-loader": "~2.31.0",
|
|
77
|
+
"@fluidframework/core-interfaces": "~2.31.0",
|
|
78
|
+
"@fluidframework/driver-definitions": "~2.31.0",
|
|
79
|
+
"@fluidframework/odsp-driver": "~2.31.0",
|
|
80
|
+
"@fluidframework/odsp-driver-definitions": "~2.31.0",
|
|
81
|
+
"@fluidframework/telemetry-utils": "~2.31.0",
|
|
82
82
|
"@json2csv/plainjs": "^7.0.6",
|
|
83
83
|
"yargs": "17.7.2"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
86
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
87
87
|
"@biomejs/biome": "~1.9.3",
|
|
88
|
-
"@fluid-internal/mocha-test-setup": "~2.
|
|
88
|
+
"@fluid-internal/mocha-test-setup": "~2.31.0",
|
|
89
89
|
"@fluid-tools/build-cli": "^0.54.0",
|
|
90
90
|
"@fluidframework/build-common": "^2.0.3",
|
|
91
91
|
"@fluidframework/build-tools": "^0.54.0",
|
|
92
92
|
"@fluidframework/eslint-config-fluid": "^5.7.3",
|
|
93
|
-
"@fluidframework/fluid-runner-previous": "npm:@fluidframework/fluid-runner@2.
|
|
94
|
-
"@microsoft/api-extractor": "7.
|
|
93
|
+
"@fluidframework/fluid-runner-previous": "npm:@fluidframework/fluid-runner@2.30.0",
|
|
94
|
+
"@microsoft/api-extractor": "7.50.1",
|
|
95
95
|
"@types/mocha": "^10.0.10",
|
|
96
96
|
"@types/node": "^18.19.0",
|
|
97
97
|
"@types/yargs": "^17.0.32",
|
|
@@ -103,7 +103,6 @@
|
|
|
103
103
|
"mocha": "^10.8.2",
|
|
104
104
|
"mocha-multi-reporters": "^1.5.1",
|
|
105
105
|
"moment": "^2.21.0",
|
|
106
|
-
"prettier": "~3.0.3",
|
|
107
106
|
"rimraf": "^4.4.0",
|
|
108
107
|
"typescript": "~5.4.5"
|
|
109
108
|
},
|
|
@@ -135,7 +134,6 @@
|
|
|
135
134
|
"check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
|
|
136
135
|
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
137
136
|
"check:format": "npm run check:biome",
|
|
138
|
-
"check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
|
|
139
137
|
"ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
|
|
140
138
|
"ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
|
|
141
139
|
"ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
|
|
@@ -145,7 +143,6 @@
|
|
|
145
143
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|
|
146
144
|
"format": "npm run format:biome",
|
|
147
145
|
"format:biome": "biome check . --write",
|
|
148
|
-
"format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
|
|
149
146
|
"lint": "fluid-build . --task lint",
|
|
150
147
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
151
148
|
"test": "npm run test:mocha",
|