@fluid-experimental/data-objects 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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @fluid-experimental/data-objects
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,14 +64,14 @@ Dependency updates only.
56
64
 
57
65
  ### Minor Changes
58
66
 
59
- - Update to TypeScript 5.4 ([#21214](https://github.com/microsoft/FluidFramework/pull/21214)) [0e6256c722](https://github.com/microsoft/FluidFramework/commit/0e6256c722d8bf024f4325bf02547daeeb18bfa6)
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
- Update package implementations to use TypeScript 5.4.5.
69
+ Update package implementations to use TypeScript 5.4.5.
62
70
 
63
- - data-objects: Fix using Signaler in ContainerSchema ([#21183](https://github.com/microsoft/FluidFramework/pull/21183)) [15de84caca](https://github.com/microsoft/FluidFramework/commit/15de84cacaede86b6f032b4fd19ab163155392dc)
71
+ - data-objects: Fix using Signaler in ContainerSchema ([#21183](https://github.com/microsoft/FluidFramework/pull/21183)) [15de84caca](https://github.com/microsoft/FluidFramework/commit/15de84cacaede86b6f032b4fd19ab163155392dc)
64
72
 
65
- `Signaler` now implements `SharedObjectKind<ISignaler>`, allowing its use in `ContainerSchema` which was broken when ContainerSchema was made more strict.
66
- Additionally fewer encapsulated APIs are exposed on Signaler and the instance type must now be `ISignaler` (instead of `Signaler`), which has been extended to have an "error" event which was previously missing.
73
+ `Signaler` now implements `SharedObjectKind<ISignaler>`, allowing its use in `ContainerSchema` which was broken when ContainerSchema was made more strict.
74
+ Additionally fewer encapsulated APIs are exposed on Signaler and the instance type must now be `ISignaler` (instead of `Signaler`), which has been extended to have an "error" event which was previously missing.
67
75
 
68
76
  ## 2.0.0-rc.4.0.0
69
77
 
@@ -73,24 +81,24 @@ Dependency updates only.
73
81
 
74
82
  ### Major Changes
75
83
 
76
- - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
84
+ - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
77
85
 
78
- Fluid Framework packages have been updated to use the [package.json "exports"
79
- field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
80
- TypeScript types and implementation code.
86
+ Fluid Framework packages have been updated to use the [package.json "exports"
87
+ field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
88
+ TypeScript types and implementation code.
81
89
 
82
- This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
90
+ This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
83
91
 
84
- - `"moduleResolution": "Node16"` with `"module": "Node16"`
85
- - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
92
+ - `"moduleResolution": "Node16"` with `"module": "Node16"`
93
+ - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
86
94
 
87
- We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
88
- for use with modern versions of Node.js _and_ Bundlers.
89
- [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
90
- regarding the module and moduleResolution options.
95
+ We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
96
+ for use with modern versions of Node.js _and_ Bundlers.
97
+ [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
98
+ regarding the module and moduleResolution options.
91
99
 
92
- **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
93
- to distinguish stable APIs from those that are in development.**
100
+ **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
101
+ to distinguish stable APIs from those that are in development.**
94
102
 
95
103
  ## 2.0.0-rc.2.0.0
96
104
 
@@ -124,9 +132,9 @@ Dependency updates only.
124
132
 
125
133
  ### Major Changes
126
134
 
127
- - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
135
+ - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
128
136
 
129
- The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
137
+ The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
130
138
 
131
139
  ## 2.0.0-internal.6.4.0
132
140
 
@@ -140,32 +148,32 @@ Dependency updates only.
140
148
 
141
149
  ### Minor Changes
142
150
 
143
- - Remove use of @fluidframework/common-definitions ([#16638](https://github.com/microsoft/FluidFramework/issues/16638)) [a8c81509c9](https://github.com/microsoft/FluidFramework/commits/a8c81509c9bf09cfb2092ebcf7265205f9eb6dbf)
144
-
145
- The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
146
- imported from the **@fluidframework/core-interfaces** package:
147
-
148
- - interface IDisposable
149
- - interface IErrorEvent
150
- - interface IErrorEvent
151
- - interface IEvent
152
- - interface IEventProvider
153
- - interface ILoggingError
154
- - interface ITaggedTelemetryPropertyType
155
- - interface ITelemetryBaseEvent
156
- - interface ITelemetryBaseLogger
157
- - interface ITelemetryErrorEvent
158
- - interface ITelemetryGenericEvent
159
- - interface ITelemetryLogger
160
- - interface ITelemetryPerformanceEvent
161
- - interface ITelemetryProperties
162
- - type ExtendEventProvider
163
- - type IEventThisPlaceHolder
164
- - type IEventTransformer
165
- - type ReplaceIEventThisPlaceHolder
166
- - type ReplaceIEventThisPlaceHolder
167
- - type TelemetryEventCategory
168
- - type TelemetryEventPropertyType
151
+ - Remove use of @fluidframework/common-definitions ([#16638](https://github.com/microsoft/FluidFramework/issues/16638)) [a8c81509c9](https://github.com/microsoft/FluidFramework/commits/a8c81509c9bf09cfb2092ebcf7265205f9eb6dbf)
152
+
153
+ The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
154
+ imported from the **@fluidframework/core-interfaces** package:
155
+
156
+ - interface IDisposable
157
+ - interface IErrorEvent
158
+ - interface IErrorEvent
159
+ - interface IEvent
160
+ - interface IEventProvider
161
+ - interface ILoggingError
162
+ - interface ITaggedTelemetryPropertyType
163
+ - interface ITelemetryBaseEvent
164
+ - interface ITelemetryBaseLogger
165
+ - interface ITelemetryErrorEvent
166
+ - interface ITelemetryGenericEvent
167
+ - interface ITelemetryLogger
168
+ - interface ITelemetryPerformanceEvent
169
+ - interface ITelemetryProperties
170
+ - type ExtendEventProvider
171
+ - type IEventThisPlaceHolder
172
+ - type IEventTransformer
173
+ - type ReplaceIEventThisPlaceHolder
174
+ - type ReplaceIEventThisPlaceHolder
175
+ - type TelemetryEventCategory
176
+ - type TelemetryEventPropertyType
169
177
 
170
178
  ## 2.0.0-internal.6.1.0
171
179
 
@@ -175,9 +183,9 @@ Dependency updates only.
175
183
 
176
184
  ### Major Changes
177
185
 
178
- - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
186
+ - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
179
187
 
180
- 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.
188
+ 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.
181
189
 
182
190
  ## 2.0.0-internal.5.4.0
183
191
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-experimental/data-objects",
3
- "version": "2.23.0",
3
+ "version": "2.31.0",
4
4
  "description": "A collection of ready to use Fluid Data Objects",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -27,14 +27,14 @@
27
27
  "main": "lib/index.js",
28
28
  "types": "lib/index.d.ts",
29
29
  "dependencies": {
30
- "@fluid-internal/client-utils": "~2.23.0",
31
- "@fluidframework/aqueduct": "~2.23.0",
32
- "@fluidframework/core-interfaces": "~2.23.0",
33
- "@fluidframework/core-utils": "~2.23.0",
34
- "@fluidframework/datastore-definitions": "~2.23.0",
35
- "@fluidframework/map": "~2.23.0",
36
- "@fluidframework/runtime-definitions": "~2.23.0",
37
- "@fluidframework/shared-object-base": "~2.23.0"
30
+ "@fluid-internal/client-utils": "~2.31.0",
31
+ "@fluidframework/aqueduct": "~2.31.0",
32
+ "@fluidframework/core-interfaces": "~2.31.0",
33
+ "@fluidframework/core-utils": "~2.31.0",
34
+ "@fluidframework/datastore-definitions": "~2.31.0",
35
+ "@fluidframework/map": "~2.31.0",
36
+ "@fluidframework/runtime-definitions": "~2.31.0",
37
+ "@fluidframework/shared-object-base": "~2.31.0"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@arethetypeswrong/cli": "^0.17.1",
@@ -43,13 +43,12 @@
43
43
  "@fluidframework/build-common": "^2.0.3",
44
44
  "@fluidframework/build-tools": "^0.54.0",
45
45
  "@fluidframework/eslint-config-fluid": "^5.7.3",
46
- "@microsoft/api-extractor": "7.47.8",
46
+ "@microsoft/api-extractor": "7.50.1",
47
47
  "@types/node": "^18.19.0",
48
48
  "concurrently": "^8.2.1",
49
49
  "copyfiles": "^2.4.1",
50
50
  "cross-env": "^7.0.3",
51
51
  "eslint": "~8.55.0",
52
- "prettier": "~3.0.3",
53
52
  "rimraf": "^4.4.0",
54
53
  "typescript": "~5.4.5"
55
54
  },
@@ -71,13 +70,11 @@
71
70
  "check:exports:cjs:index": "api-extractor run --config api-extractor/api-extractor-lint-index.cjs.json",
72
71
  "check:exports:esm:index": "api-extractor run --config api-extractor/api-extractor-lint-index.esm.json",
73
72
  "check:format": "npm run check:biome",
74
- "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
75
73
  "clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp",
76
74
  "eslint": "eslint --format stylish src",
77
75
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
78
76
  "format": "npm run format:biome",
79
77
  "format:biome": "biome check . --write",
80
- "format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
81
78
  "lint": "fluid-build . --task lint",
82
79
  "lint:fix": "fluid-build . --task eslint:fix --task format",
83
80
  "tsc": "fluid-tsc commonjs --project ./tsconfig.cjs.json && copyfiles -f ../../../common/build/build-common/src/cjs/package.json ./dist"
@@ -1,8 +0,0 @@
1
- /*!
2
- * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
- * Licensed under the MIT License.
4
- */
5
-
6
- module.exports = {
7
- ...require("@fluidframework/build-common/prettier.config.cjs"),
8
- };