@fluidframework/devtools 2.1.0-281041 → 2.1.1

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +69 -23
  3. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @fluidframework/devtools
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
@@ -6,11 +6,19 @@ It is used to power our associated [browser extension][browser-extension].
6
6
  - Chrome: <https://aka.ms/fluid/devtool/chrome>
7
7
  - Edge: <https://aka.ms/fluid/devtool/edge>
8
8
 
9
- <!-- AUTO-GENERATED-CONTENT:START (README_INSTALLATION_SECTION:includeHeading=TRUE&devDependency=TRUE) -->
9
+ <!-- AUTO-GENERATED-CONTENT:START (LIBRARY_PACKAGE_README_HEADER:devDependency=TRUE) -->
10
10
 
11
11
  <!-- prettier-ignore-start -->
12
12
  <!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
13
13
 
14
+ ## Using Fluid Framework libraries
15
+
16
+ When taking a dependency on a Fluid Framework library's public APIs, we recommend using a `^` (caret) version range, such as `^1.3.4`.
17
+ While Fluid Framework libraries may use different ranges with interdependencies between other Fluid Framework libraries,
18
+ library consumers should always prefer `^`.
19
+
20
+ If using any of Fluid Framework's unstable APIs (for example, its `beta` APIs), we recommend using a more constrained version range, such as `~`.
21
+
14
22
  ## Installation
15
23
 
16
24
  To get started, install the package by running the following command:
@@ -19,6 +27,21 @@ To get started, install the package by running the following command:
19
27
  npm i @fluidframework/devtools -D
20
28
  ```
21
29
 
30
+ ## Importing from this package
31
+
32
+ This package leverages [package.json exports](https://nodejs.org/api/packages.html#exports) to separate its APIs by support level.
33
+ For more information on the related support guarantees, see [API Support Levels](https://fluidframework.com/docs/build/releases-and-apitags/#api-support-levels).
34
+
35
+ To access the `public` ([SemVer](https://semver.org/)) APIs, import via `@fluidframework/devtools` like normal.
36
+
37
+ To access the `beta` APIs, import via `@fluidframework/devtools/beta`.
38
+
39
+ To access the `alpha` APIs, import via `@fluidframework/devtools/alpha`.
40
+
41
+ ## API Documentation
42
+
43
+ API documentation for **@fluidframework/devtools** is available at <https://fluidframework.com/docs/apis/devtools>.
44
+
22
45
  <!-- prettier-ignore-end -->
23
46
 
24
47
  <!-- AUTO-GENERATED-CONTENT:END -->
@@ -121,14 +144,55 @@ Next, to build the code, run `npm run build` from the root of the mono-repo, or
121
144
  To run the tests, first ensure you have followed the [build](#build) steps above.
122
145
  Next, run `npm run test` from a terminal within this directory.
123
146
 
124
- <!-- AUTO-GENERATED-CONTENT:START (README_API_DOCS_SECTION:includeHeading=TRUE) -->
125
- <!-- AUTO-GENERATED-CONTENT:END -->
126
-
127
- <!-- AUTO-GENERATED-CONTENT:START (README_CONTRIBUTION_GUIDELINES_SECTION:includeHeading=TRUE) -->
147
+ <!-- AUTO-GENERATED-CONTENT:START (LIBRARY_PACKAGE_README_FOOTER) -->
128
148
 
129
149
  <!-- prettier-ignore-start -->
130
150
  <!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
131
151
 
152
+ ## Minimum Client Requirements
153
+
154
+ These are the platform requirements for the current version of Fluid Framework Client Packages.
155
+ 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.
156
+ For Long Term Support (LTS) versions this can require supporting these platforms for several years.
157
+
158
+ It is likely that other configurations will work, but they are not supported: if they stop working, we do not consider that a bug.
159
+ If you would benefit from support for something not listed here, file an issue and the product team will evaluate your request.
160
+ 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.
161
+
162
+ ### Supported Runtimes
163
+
164
+ - 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).
165
+ - 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).
166
+
167
+ ### Supported Tools
168
+
169
+ - TypeScript 5.4:
170
+ - All [`strict`](https://www.typescriptlang.org/tsconfig) options are supported.
171
+ - [`strictNullChecks`](https://www.typescriptlang.org/tsconfig) is required.
172
+ - [Configuration options deprecated in 5.0](https://github.com/microsoft/TypeScript/issues/51909) are not supported.
173
+ - `exactOptionalPropertyTypes` is currently not fully supported.
174
+ 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.
175
+ - [webpack](https://webpack.js.org/) 5
176
+ - We are not intending to be prescriptive about what bundler to use.
177
+ Other bundlers which can handle ES Modules should work, but webpack is the only one we actively test.
178
+
179
+ ### Module Resolution
180
+
181
+ [`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).
182
+ 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.
183
+
184
+ ### Module Formats
185
+
186
+ - ES Modules:
187
+ 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.
188
+ - CommonJs:
189
+ Consuming our client packages as CommonJs is supported only in NodeJS and only for the cases listed below.
190
+ This is done to accommodate some workflows without good ES Module support.
191
+ If you have a workflow you would like included in this list, file an issue.
192
+ 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.
193
+
194
+ - 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))
195
+
132
196
  ## Contribution Guidelines
133
197
 
134
198
  There are many ways to [contribute](https://github.com/microsoft/FluidFramework/blob/main/CONTRIBUTING.md) to Fluid.
@@ -147,15 +211,6 @@ This project may contain Microsoft trademarks or logos for Microsoft projects, p
147
211
  Use of these trademarks or logos must follow Microsoft’s [Trademark & Brand Guidelines](https://www.microsoft.com/trademarks).
148
212
  Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
149
213
 
150
- <!-- prettier-ignore-end -->
151
-
152
- <!-- AUTO-GENERATED-CONTENT:END -->
153
-
154
- <!-- AUTO-GENERATED-CONTENT:START (README_HELP_SECTION:includeHeading=TRUE) -->
155
-
156
- <!-- prettier-ignore-start -->
157
- <!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
158
-
159
214
  ## Help
160
215
 
161
216
  Not finding what you're looking for in this README? Check out [fluidframework.com](https://fluidframework.com/docs/).
@@ -164,15 +219,6 @@ Still not finding what you're looking for? Please [file an issue](https://github
164
219
 
165
220
  Thank you!
166
221
 
167
- <!-- prettier-ignore-end -->
168
-
169
- <!-- AUTO-GENERATED-CONTENT:END -->
170
-
171
- <!-- AUTO-GENERATED-CONTENT:START (README_TRADEMARK_SECTION:includeHeading=TRUE) -->
172
-
173
- <!-- prettier-ignore-start -->
174
- <!-- NOTE: This section is automatically generated using @fluid-tools/markdown-magic. Do not update these generated contents directly. -->
175
-
176
222
  ## Trademark
177
223
 
178
224
  This project may contain Microsoft trademarks or logos for Microsoft projects, products, or services.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/devtools",
3
- "version": "2.1.0-281041",
3
+ "version": "2.1.1",
4
4
  "description": "Fluid Framework developer tools",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -77,19 +77,19 @@
77
77
  "temp-directory": "nyc/.nyc_output"
78
78
  },
79
79
  "dependencies": {
80
- "@fluidframework/container-definitions": "2.1.0-281041",
81
- "@fluidframework/core-interfaces": "2.1.0-281041",
82
- "@fluidframework/devtools-core": "2.1.0-281041",
83
- "@fluidframework/fluid-static": "2.1.0-281041"
80
+ "@fluidframework/container-definitions": "~2.1.1",
81
+ "@fluidframework/core-interfaces": "~2.1.1",
82
+ "@fluidframework/devtools-core": "~2.1.1",
83
+ "@fluidframework/fluid-static": "~2.1.1"
84
84
  },
85
85
  "devDependencies": {
86
86
  "@arethetypeswrong/cli": "^0.15.2",
87
87
  "@biomejs/biome": "~1.8.3",
88
- "@fluid-internal/mocha-test-setup": "2.1.0-281041",
89
- "@fluid-tools/build-cli": "^0.40.0",
88
+ "@fluid-internal/mocha-test-setup": "~2.1.1",
89
+ "@fluid-tools/build-cli": "^0.41.0",
90
90
  "@fluidframework/build-common": "^2.0.3",
91
- "@fluidframework/build-tools": "^0.40.0",
92
- "@fluidframework/devtools-previous": "npm:@fluidframework/devtools@2.0.0",
91
+ "@fluidframework/build-tools": "^0.41.0",
92
+ "@fluidframework/devtools-previous": "npm:@fluidframework/devtools@2.1.0",
93
93
  "@fluidframework/eslint-config-fluid": "^5.3.0",
94
94
  "@microsoft/api-extractor": "^7.45.1",
95
95
  "@types/chai": "^4.0.0",