@fluidframework/agent-scheduler 2.30.0 → 2.31.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @fluidframework/agent-scheduler
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
- - 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)
64
68
 
65
- Update package implementations to use TypeScript 5.4.5.
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
- - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
79
+ - Packages now use package.json "exports" and require modern module resolution [97d68aa06b](https://github.com/microsoft/FluidFramework/commit/97d68aa06bd5c022ecb026655814aea222a062ae)
76
80
 
77
- Fluid Framework packages have been updated to use the [package.json "exports"
78
- field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both
79
- TypeScript types and implementation code.
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
- This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
85
+ This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json:
82
86
 
83
- - `"moduleResolution": "Node16"` with `"module": "Node16"`
84
- - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
87
+ - `"moduleResolution": "Node16"` with `"module": "Node16"`
88
+ - `"moduleResolution": "Bundler"` with `"module": "ESNext"`
85
89
 
86
- We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable
87
- for use with modern versions of Node.js _and_ Bundlers.
88
- [See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information
89
- regarding the module and moduleResolution options.
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
- **Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used
92
- to distinguish stable APIs from those that are in development.**
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
- - test-utils: provideEntryPoint is required [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
130
+ - test-utils: provideEntryPoint is required [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
127
131
 
128
- The optional `provideEntryPoint` method has become required on a number of constructors. A value will need to be provided to the following classes:
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
- - `BaseContainerRuntimeFactory`
131
- - `RuntimeFactory`
132
- - `ContainerRuntime` (constructor and `loadRuntime`)
133
- - `FluidDataStoreRuntime`
134
+ - `BaseContainerRuntimeFactory`
135
+ - `RuntimeFactory`
136
+ - `ContainerRuntime` (constructor and `loadRuntime`)
137
+ - `FluidDataStoreRuntime`
134
138
 
135
- 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.
136
- 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.
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
- 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.
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
- For more details, see [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md)
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
- - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
146
+ - Minimum TypeScript version now 5.1.6 [871b3493dd](https://github.com/microsoft/FluidFramework/commits/871b3493dd0d7ea3a89be64998ceb6cb9021a04e)
143
147
 
144
- The minimum supported TypeScript version for Fluid 2.0 clients is now 5.1.6.
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
- - Remove use of @fluidframework/common-definitions ([#16638](https://github.com/microsoft/FluidFramework/issues/16638)) [a8c81509c9](https://github.com/microsoft/FluidFramework/commits/a8c81509c9bf09cfb2092ebcf7265205f9eb6dbf)
159
-
160
- The **@fluidframework/common-definitions** package is being deprecated, so the following interfaces and types are now
161
- imported from the **@fluidframework/core-interfaces** package:
162
-
163
- - interface IDisposable
164
- - interface IErrorEvent
165
- - interface IErrorEvent
166
- - interface IEvent
167
- - interface IEventProvider
168
- - interface ILoggingError
169
- - interface ITaggedTelemetryPropertyType
170
- - interface ITelemetryBaseEvent
171
- - interface ITelemetryBaseLogger
172
- - interface ITelemetryErrorEvent
173
- - interface ITelemetryGenericEvent
174
- - interface ITelemetryLogger
175
- - interface ITelemetryPerformanceEvent
176
- - interface ITelemetryProperties
177
- - type ExtendEventProvider
178
- - type IEventThisPlaceHolder
179
- - type IEventTransformer
180
- - type ReplaceIEventThisPlaceHolder
181
- - type ReplaceIEventThisPlaceHolder
182
- - type TelemetryEventCategory
183
- - type TelemetryEventPropertyType
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
 
@@ -190,9 +194,9 @@ Dependency updates only.
190
194
 
191
195
  ### Major Changes
192
196
 
193
- - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
197
+ - Upgraded typescript transpilation target to ES2020 [8abce8cdb4](https://github.com/microsoft/FluidFramework/commits/8abce8cdb4e2832fb6405fb44e393bef03d5648a)
194
198
 
195
- 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.
199
+ 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.
196
200
 
197
201
  ## 2.0.0-internal.5.4.0
198
202
 
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.47.8"
8
+ "packageVersion": "7.50.1"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/agent-scheduler",
3
- "version": "2.30.0",
3
+ "version": "2.31.1",
4
4
  "description": "Built in runtime object for distributing agents across instances of a container",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -47,34 +47,33 @@
47
47
  "main": "lib/index.js",
48
48
  "types": "lib/public.d.ts",
49
49
  "dependencies": {
50
- "@fluid-internal/client-utils": "~2.30.0",
51
- "@fluidframework/container-definitions": "~2.30.0",
52
- "@fluidframework/core-interfaces": "~2.30.0",
53
- "@fluidframework/core-utils": "~2.30.0",
54
- "@fluidframework/datastore": "~2.30.0",
55
- "@fluidframework/datastore-definitions": "~2.30.0",
56
- "@fluidframework/map": "~2.30.0",
57
- "@fluidframework/register-collection": "~2.30.0",
58
- "@fluidframework/runtime-definitions": "~2.30.0",
59
- "@fluidframework/runtime-utils": "~2.30.0",
60
- "@fluidframework/telemetry-utils": "~2.30.0",
50
+ "@fluid-internal/client-utils": "~2.31.1",
51
+ "@fluidframework/container-definitions": "~2.31.1",
52
+ "@fluidframework/core-interfaces": "~2.31.1",
53
+ "@fluidframework/core-utils": "~2.31.1",
54
+ "@fluidframework/datastore": "~2.31.1",
55
+ "@fluidframework/datastore-definitions": "~2.31.1",
56
+ "@fluidframework/map": "~2.31.1",
57
+ "@fluidframework/register-collection": "~2.31.1",
58
+ "@fluidframework/runtime-definitions": "~2.31.1",
59
+ "@fluidframework/runtime-utils": "~2.31.1",
60
+ "@fluidframework/telemetry-utils": "~2.31.1",
61
61
  "uuid": "^9.0.0"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@arethetypeswrong/cli": "^0.17.1",
65
65
  "@biomejs/biome": "~1.9.3",
66
66
  "@fluid-tools/build-cli": "^0.54.0",
67
- "@fluidframework/agent-scheduler-previous": "npm:@fluidframework/agent-scheduler@2.23.0",
67
+ "@fluidframework/agent-scheduler-previous": "npm:@fluidframework/agent-scheduler@2.31.0",
68
68
  "@fluidframework/build-common": "^2.0.3",
69
69
  "@fluidframework/build-tools": "^0.54.0",
70
70
  "@fluidframework/eslint-config-fluid": "^5.7.3",
71
- "@microsoft/api-extractor": "7.47.8",
71
+ "@microsoft/api-extractor": "7.50.1",
72
72
  "@types/node": "^18.19.0",
73
73
  "@types/uuid": "^9.0.2",
74
74
  "concurrently": "^8.2.1",
75
75
  "copyfiles": "^2.4.1",
76
76
  "eslint": "~8.55.0",
77
- "prettier": "~3.0.3",
78
77
  "rimraf": "^4.4.0",
79
78
  "typescript": "~5.4.5"
80
79
  },
@@ -105,7 +104,6 @@
105
104
  "check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
106
105
  "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
107
106
  "check:format": "npm run check:biome",
108
- "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
109
107
  "ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
110
108
  "ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
111
109
  "ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
@@ -116,7 +114,6 @@
116
114
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
117
115
  "format": "npm run format:biome",
118
116
  "format:biome": "biome check . --write",
119
- "format:prettier": "prettier --write . --cache --ignore-path ../../../.prettierignore",
120
117
  "lint": "fluid-build . --task lint",
121
118
  "lint:fix": "fluid-build . --task eslint:fix --task format",
122
119
  "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
- };