@fluidframework/fluid-runner 2.23.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 +61 -53
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +13 -16
- package/prettier.config.cjs +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @fluidframework/fluid-runner
|
|
2
2
|
|
|
3
|
+
## 2.31.0
|
|
4
|
+
|
|
5
|
+
Dependency updates only.
|
|
6
|
+
|
|
7
|
+
## 2.30.0
|
|
8
|
+
|
|
9
|
+
Dependency updates only.
|
|
10
|
+
|
|
3
11
|
## 2.23.0
|
|
4
12
|
|
|
5
13
|
Dependency updates only.
|
|
@@ -56,9 +64,9 @@ Dependency updates only.
|
|
|
56
64
|
|
|
57
65
|
### Minor Changes
|
|
58
66
|
|
|
59
|
-
-
|
|
67
|
+
- Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
|
|
60
68
|
|
|
61
|
-
|
|
69
|
+
Update package implementations to use TypeScript 5.4.5.
|
|
62
70
|
|
|
63
71
|
## 2.0.0-rc.4.0.0
|
|
64
72
|
|
|
@@ -68,24 +76,24 @@ Dependency updates only.
|
|
|
68
76
|
|
|
69
77
|
### Major Changes
|
|
70
78
|
|
|
71
|
-
-
|
|
79
|
+
- Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
|
|
72
80
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
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.
|
|
76
84
|
|
|
77
|
-
|
|
85
|
+
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
78
86
|
|
|
79
|
-
|
|
80
|
-
|
|
87
|
+
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
88
|
+
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
81
89
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
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.
|
|
86
94
|
|
|
87
|
-
|
|
88
|
-
|
|
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.**
|
|
89
97
|
|
|
90
98
|
## 2.0.0-rc.2.0.0
|
|
91
99
|
|
|
@@ -119,25 +127,25 @@ Dependency updates only.
|
|
|
119
127
|
|
|
120
128
|
### Major Changes
|
|
121
129
|
|
|
122
|
-
-
|
|
130
|
+
- test-utils: provideEntryPoint is required [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
123
131
|
|
|
124
|
-
|
|
132
|
+
The optional `provideEntryPoint` method has become required on a number of constructors. A value will need to be provided to the following classes:
|
|
125
133
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
134
|
+
- `BaseContainerRuntimeFactory`
|
|
135
|
+
- `RuntimeFactory`
|
|
136
|
+
- `ContainerRuntime` (constructor and `loadRuntime`)
|
|
137
|
+
- `FluidDataStoreRuntime`
|
|
130
138
|
|
|
131
|
-
|
|
132
|
-
|
|
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.
|
|
133
141
|
|
|
134
|
-
|
|
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.
|
|
135
143
|
|
|
136
|
-
|
|
144
|
+
For more details, see [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md)
|
|
137
145
|
|
|
138
|
-
-
|
|
146
|
+
- Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
139
147
|
|
|
140
|
-
|
|
148
|
+
The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
|
|
141
149
|
|
|
142
150
|
## 2.0.0-internal.6.4.0
|
|
143
151
|
|
|
@@ -151,32 +159,32 @@ Dependency updates only.
|
|
|
151
159
|
|
|
152
160
|
### Minor Changes
|
|
153
161
|
|
|
154
|
-
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
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
|
|
180
188
|
|
|
181
189
|
## 2.0.0-internal.6.1.0
|
|
182
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",
|
|
@@ -100,10 +100,9 @@
|
|
|
100
100
|
"copyfiles": "^2.4.1",
|
|
101
101
|
"cross-env": "^7.0.3",
|
|
102
102
|
"eslint": "~8.55.0",
|
|
103
|
-
"mocha": "^10.2
|
|
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",
|