@fluidframework/devtools 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 +69 -65
- package/lib/tsdoc-metadata.json +1 -1
- package/package.json +8 -11
- package/prettier.config.cjs +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# @fluidframework/devtools
|
|
2
2
|
|
|
3
|
+
## 2.31.0
|
|
4
|
+
|
|
5
|
+
Dependency updates only.
|
|
6
|
+
|
|
3
7
|
## 2.30.0
|
|
4
8
|
|
|
5
9
|
Dependency updates only.
|
|
@@ -32,22 +36,22 @@ Dependency updates only.
|
|
|
32
36
|
|
|
33
37
|
### Minor Changes
|
|
34
38
|
|
|
35
|
-
-
|
|
39
|
+
- API clarifications for devtools packages ([#23165](https://github.com/microsoft/FluidFramework/pull/23165)) [cea34d10d0](https://github.com/microsoft/FluidFramework/commit/cea34d10d0f816335ab1b88b190940046ae7b696)
|
|
36
40
|
|
|
37
|
-
|
|
38
|
-
|
|
41
|
+
APIs that were never intended for direct consumer use have been marked as `@system`.
|
|
42
|
+
These are:
|
|
39
43
|
|
|
40
|
-
|
|
44
|
+
- HasContainerKey
|
|
41
45
|
|
|
42
|
-
|
|
43
|
-
|
|
46
|
+
APIs that were not intended to be extended by consumers have been marked as `@sealed`.
|
|
47
|
+
These are:
|
|
44
48
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
+
- ContainerDevtoolsProps
|
|
50
|
+
- DevtoolsProps
|
|
51
|
+
- HasContainerKey
|
|
52
|
+
- IDevtools
|
|
49
53
|
|
|
50
|
-
|
|
54
|
+
Additionally, interface properties have been marked as `readonly`.
|
|
51
55
|
|
|
52
56
|
## 2.10.0
|
|
53
57
|
|
|
@@ -77,9 +81,9 @@ Dependency updates only.
|
|
|
77
81
|
|
|
78
82
|
### Minor Changes
|
|
79
83
|
|
|
80
|
-
-
|
|
84
|
+
- Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
|
|
81
85
|
|
|
82
|
-
|
|
86
|
+
Update package implementations to use TypeScript 5.4.5.
|
|
83
87
|
|
|
84
88
|
## 2.0.0-rc.4.0.0
|
|
85
89
|
|
|
@@ -89,24 +93,24 @@ Dependency updates only.
|
|
|
89
93
|
|
|
90
94
|
### Major Changes
|
|
91
95
|
|
|
92
|
-
-
|
|
96
|
+
- Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
|
|
93
97
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
98
|
+
Fluid Framework packages have been updated to use the [package.json "exports"
|
|
99
|
+
field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
|
|
100
|
+
TypeScript types and implementation code.
|
|
97
101
|
|
|
98
|
-
|
|
102
|
+
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
|
|
99
103
|
|
|
100
|
-
|
|
101
|
-
|
|
104
|
+
- `"moduleResolution": "Node16"` with `"module": "Node16"`
|
|
105
|
+
- `"moduleResolution": "Bundler"` with `"module": "ESNext"`
|
|
102
106
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
+
We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
|
|
108
|
+
for use with modern versions of Node.js _and_ Bundlers.
|
|
109
|
+
[See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
|
|
110
|
+
regarding the module and moduleResolution options.
|
|
107
111
|
|
|
108
|
-
|
|
109
|
-
|
|
112
|
+
**Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
|
|
113
|
+
to distinguish stable APIs from those that are in development.**
|
|
110
114
|
|
|
111
115
|
## 2.0.0-rc.2.0.0
|
|
112
116
|
|
|
@@ -124,17 +128,17 @@ Dependency updates only.
|
|
|
124
128
|
|
|
125
129
|
### Minor Changes
|
|
126
130
|
|
|
127
|
-
-
|
|
131
|
+
- azure-client: Deprecated FluidStatic Classes ([#18402](https://github.com/microsoft/FluidFramework/issues/18402)) [589ec39de5](https://github.com/microsoft/FluidFramework/commits/589ec39de52116c7f782319e6f6aa61bc5aa9964)
|
|
128
132
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
133
|
+
Several FluidStatic classes were unnecessarily exposed. They have been replaced with creation functions. This helps us
|
|
134
|
+
keep implementations decoupled from usage which is easier to maintain and extend. It has very minimal impact on the
|
|
135
|
+
public surface area of downstream packages. The deprecated classes are as follows:
|
|
132
136
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
137
|
+
- `AzureAudience` (use `IAzureAudience` instead)
|
|
138
|
+
- `TinyliciousAudience` (use `ITinyliciousAudience` instead)
|
|
139
|
+
- `DOProviderContainerRuntimeFactory`
|
|
140
|
+
- `FluidContainer`
|
|
141
|
+
- `ServiceAudience`
|
|
138
142
|
|
|
139
143
|
## 2.0.0-internal.7.3.0
|
|
140
144
|
|
|
@@ -152,9 +156,9 @@ Dependency updates only.
|
|
|
152
156
|
|
|
153
157
|
### Major Changes
|
|
154
158
|
|
|
155
|
-
-
|
|
159
|
+
- Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
|
|
156
160
|
|
|
157
|
-
|
|
161
|
+
The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
|
|
158
162
|
|
|
159
163
|
## 2.0.0-internal.6.4.0
|
|
160
164
|
|
|
@@ -168,32 +172,32 @@ Dependency updates only.
|
|
|
168
172
|
|
|
169
173
|
### Minor Changes
|
|
170
174
|
|
|
171
|
-
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
175
|
+
- Remove use of @fluidframework/common-definitions ([#16638](https://github.com/microsoft/FluidFramework/issues/16638)) [a8c81509c9](https://github.com/microsoft/FluidFramework/commits/a8c81509c9bf09cfb2092ebcf7265205f9eb6dbf)
|
|
176
|
+
|
|
177
|
+
The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
|
|
178
|
+
imported from the **@fluidframework/core-interfaces** package:
|
|
179
|
+
|
|
180
|
+
- interface IDisposable
|
|
181
|
+
- interface IErrorEvent
|
|
182
|
+
- interface IErrorEvent
|
|
183
|
+
- interface IEvent
|
|
184
|
+
- interface IEventProvider
|
|
185
|
+
- interface ILoggingError
|
|
186
|
+
- interface ITaggedTelemetryPropertyType
|
|
187
|
+
- interface ITelemetryBaseEvent
|
|
188
|
+
- interface ITelemetryBaseLogger
|
|
189
|
+
- interface ITelemetryErrorEvent
|
|
190
|
+
- interface ITelemetryGenericEvent
|
|
191
|
+
- interface ITelemetryLogger
|
|
192
|
+
- interface ITelemetryPerformanceEvent
|
|
193
|
+
- interface ITelemetryProperties
|
|
194
|
+
- type ExtendEventProvider
|
|
195
|
+
- type IEventThisPlaceHolder
|
|
196
|
+
- type IEventTransformer
|
|
197
|
+
- type ReplaceIEventThisPlaceHolder
|
|
198
|
+
- type ReplaceIEventThisPlaceHolder
|
|
199
|
+
- type TelemetryEventCategory
|
|
200
|
+
- type TelemetryEventPropertyType
|
|
197
201
|
|
|
198
202
|
## 2.0.0-internal.6.1.0
|
|
199
203
|
|
|
@@ -203,9 +207,9 @@ Dependency updates only.
|
|
|
203
207
|
|
|
204
208
|
### Major Changes
|
|
205
209
|
|
|
206
|
-
-
|
|
210
|
+
- Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
|
|
207
211
|
|
|
208
|
-
|
|
212
|
+
Upgraded typescript transpilation target to ES2020. This is done in order to decrease the bundle sizes of Fluid Framework packages. This has provided size improvements across the board for ex. Loader, Driver, Runtime etc. Reduced bundle sizes helps to load lesser code in apps and hence also helps to improve the perf.If any app wants to target any older versions of browsers with which this target version is not compatible, then they can use packages like babel to transpile to a older target.
|
|
209
213
|
|
|
210
214
|
## 2.0.0-internal.5.4.0
|
|
211
215
|
|
package/lib/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/devtools",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.0",
|
|
4
4
|
"description": "Fluid Framework developer tools",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -77,21 +77,21 @@
|
|
|
77
77
|
"temp-directory": "nyc/.nyc_output"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@fluidframework/container-definitions": "~2.
|
|
81
|
-
"@fluidframework/core-interfaces": "~2.
|
|
82
|
-
"@fluidframework/devtools-core": "~2.
|
|
83
|
-
"@fluidframework/fluid-static": "~2.
|
|
80
|
+
"@fluidframework/container-definitions": "~2.31.0",
|
|
81
|
+
"@fluidframework/core-interfaces": "~2.31.0",
|
|
82
|
+
"@fluidframework/devtools-core": "~2.31.0",
|
|
83
|
+
"@fluidframework/fluid-static": "~2.31.0"
|
|
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
|
-
"@fluidframework/devtools-previous": "npm:@fluidframework/devtools@2.
|
|
92
|
+
"@fluidframework/devtools-previous": "npm:@fluidframework/devtools@2.30.0",
|
|
93
93
|
"@fluidframework/eslint-config-fluid": "^5.7.3",
|
|
94
|
-
"@microsoft/api-extractor": "7.
|
|
94
|
+
"@microsoft/api-extractor": "7.50.1",
|
|
95
95
|
"@types/chai": "^4.0.0",
|
|
96
96
|
"@types/mocha": "^10.0.10",
|
|
97
97
|
"c8": "^8.0.1",
|
|
@@ -105,7 +105,6 @@
|
|
|
105
105
|
"mocha": "^10.8.2",
|
|
106
106
|
"mocha-multi-reporters": "^1.5.1",
|
|
107
107
|
"moment": "^2.21.0",
|
|
108
|
-
"prettier": "~3.0.3",
|
|
109
108
|
"rimraf": "^4.4.0",
|
|
110
109
|
"typescript": "~5.4.5"
|
|
111
110
|
},
|
|
@@ -145,7 +144,6 @@
|
|
|
145
144
|
"check:exports:esm:beta": "api-extractor run --config api-extractor/api-extractor-lint-beta.esm.json",
|
|
146
145
|
"check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
|
|
147
146
|
"check:format": "npm run check:biome",
|
|
148
|
-
"check:prettier": "prettier --check . --cache --ignore-path ../../../../.prettierignore",
|
|
149
147
|
"ci:build:docs": "api-extractor run",
|
|
150
148
|
"clean": "rimraf --glob _api-extractor-temp nyc dist lib {alpha,beta,internal,legacy}.d.ts \"**/*.tsbuildinfo\" \"**/*.build.log\"",
|
|
151
149
|
"eslint": "eslint src",
|
|
@@ -154,7 +152,6 @@
|
|
|
154
152
|
"format-and-build": "npm run format && npm run build",
|
|
155
153
|
"format-and-compile": "npm run format && npm run build:compile",
|
|
156
154
|
"format:biome": "biome check . --write",
|
|
157
|
-
"format:prettier": "prettier --write . --cache --ignore-path ../../../../.prettierignore",
|
|
158
155
|
"lint": "fluid-build . --task lint",
|
|
159
156
|
"lint:fix": "fluid-build . --task eslint:fix --task format",
|
|
160
157
|
"place:cjs:package-stub": "copyfiles -f ../../../../common/build/build-common/src/cjs/package.json ./dist",
|