@fluidframework/id-compressor 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/id-compressor
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,44 +76,44 @@ 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
 
96
100
  ### Minor Changes
97
101
 
98
- - id-compressor: Deprecated ID compressor class has been removed from the public API. ([#19054](https://github.com/microsoft/FluidFramework/issues/19054)) [46a05617b2](https://github.com/microsoft/FluidFramework/commits/46a05617b2a42bf2763e49e4ccddd3ee8df9c05d)
102
+ - id-compressor: Deprecated ID compressor class has been removed from the public API. ([#19054](https://github.com/microsoft/FluidFramework/issues/19054)) [46a05617b2](https://github.com/microsoft/FluidFramework/commits/46a05617b2a42bf2763e49e4ccddd3ee8df9c05d)
99
103
 
100
- This change should be a no-op for consumers, as there were already better static creation/deserialization functions for use and compressor types are generally unused outside the runtime.
104
+ This change should be a no-op for consumers, as there were already better static creation/deserialization functions for use and compressor types are generally unused outside the runtime.
101
105
 
102
106
  ## 2.0.0-rc.1.0.0
103
107
 
104
108
  ### Minor Changes
105
109
 
106
- - id-compressor: Cluster allocation strategy updated ([#19066](https://github.com/microsoft/FluidFramework/issues/19066)) [0c36eb5f53](https://github.com/microsoft/FluidFramework/commits/0c36eb5f539362a8e27982e831a3ffe7999c1478)
110
+ - id-compressor: Cluster allocation strategy updated ([#19066](https://github.com/microsoft/FluidFramework/issues/19066)) [0c36eb5f53](https://github.com/microsoft/FluidFramework/commits/0c36eb5f539362a8e27982e831a3ffe7999c1478)
107
111
 
108
- This change adjusts the cluster allocation strategy for ghost sessions to exactly fill the cluster instead of needlessly allocating a large cluster.
109
- It will also not make a cluster at all if IDs are not allocated.
110
- This change adjusts a computation performed at a consensus point, and thus breaks any sessions collaborating across version numbers.
111
- The version for the serialized format has been bumped to 2.0, and 1.0 documents will fail to load with the following error:
112
- IdCompressor version 1.0 is no longer supported.
112
+ This change adjusts the cluster allocation strategy for ghost sessions to exactly fill the cluster instead of needlessly allocating a large cluster.
113
+ It will also not make a cluster at all if IDs are not allocated.
114
+ This change adjusts a computation performed at a consensus point, and thus breaks any sessions collaborating across version numbers.
115
+ The version for the serialized format has been bumped to 2.0, and 1.0 documents will fail to load with the following error:
116
+ IdCompressor version 1.0 is no longer supported.
113
117
 
114
118
  ## 2.0.0-internal.8.0.0
115
119
 
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/id-compressor";
8
- export declare const pkgVersion = "2.30.0";
8
+ export declare const pkgVersion = "2.31.1";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -8,5 +8,5 @@
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.pkgVersion = exports.pkgName = void 0;
10
10
  exports.pkgName = "@fluidframework/id-compressor";
11
- exports.pkgVersion = "2.30.0";
11
+ exports.pkgVersion = "2.31.1";
12
12
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,+BAA+B,CAAC;AAC1C,QAAA,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/id-compressor\";\nexport const pkgVersion = \"2.30.0\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,+BAA+B,CAAC;AAC1C,QAAA,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/id-compressor\";\nexport const pkgVersion = \"2.31.1\";\n"]}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/id-compressor";
8
- export declare const pkgVersion = "2.30.0";
8
+ export declare const pkgVersion = "2.31.1";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/id-compressor";
8
- export const pkgVersion = "2.30.0";
8
+ export const pkgVersion = "2.31.1";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,+BAA+B,CAAC;AACvD,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/id-compressor\";\nexport const pkgVersion = \"2.30.0\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,+BAA+B,CAAC;AACvD,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/id-compressor\";\nexport const pkgVersion = \"2.31.1\";\n"]}
@@ -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/id-compressor",
3
- "version": "2.30.0",
3
+ "version": "2.31.1",
4
4
  "description": "ID compressor",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -81,25 +81,25 @@
81
81
  "temp-directory": "nyc/.nyc_output"
82
82
  },
83
83
  "dependencies": {
84
- "@fluid-internal/client-utils": "~2.30.0",
85
- "@fluidframework/core-interfaces": "~2.30.0",
86
- "@fluidframework/core-utils": "~2.30.0",
87
- "@fluidframework/telemetry-utils": "~2.30.0",
84
+ "@fluid-internal/client-utils": "~2.31.1",
85
+ "@fluidframework/core-interfaces": "~2.31.1",
86
+ "@fluidframework/core-utils": "~2.31.1",
87
+ "@fluidframework/telemetry-utils": "~2.31.1",
88
88
  "@tylerbu/sorted-btree-es6": "^1.8.0",
89
89
  "uuid": "^9.0.0"
90
90
  },
91
91
  "devDependencies": {
92
92
  "@arethetypeswrong/cli": "^0.17.1",
93
93
  "@biomejs/biome": "~1.9.3",
94
- "@fluid-internal/mocha-test-setup": "~2.30.0",
95
- "@fluid-private/stochastic-test-utils": "~2.30.0",
94
+ "@fluid-internal/mocha-test-setup": "~2.31.1",
95
+ "@fluid-private/stochastic-test-utils": "~2.31.1",
96
96
  "@fluid-tools/benchmark": "^0.50.0",
97
97
  "@fluid-tools/build-cli": "^0.54.0",
98
98
  "@fluidframework/build-common": "^2.0.3",
99
99
  "@fluidframework/build-tools": "^0.54.0",
100
100
  "@fluidframework/eslint-config-fluid": "^5.7.3",
101
- "@fluidframework/id-compressor-previous": "npm:@fluidframework/id-compressor@2.23.0",
102
- "@microsoft/api-extractor": "7.47.8",
101
+ "@fluidframework/id-compressor-previous": "npm:@fluidframework/id-compressor@2.31.0",
102
+ "@microsoft/api-extractor": "7.50.1",
103
103
  "@types/mocha": "^10.0.10",
104
104
  "@types/node": "^18.19.0",
105
105
  "@types/uuid": "^9.0.2",
@@ -111,7 +111,6 @@
111
111
  "mocha": "^10.8.2",
112
112
  "mocha-multi-reporters": "^1.5.1",
113
113
  "moment": "^2.21.0",
114
- "prettier": "~3.0.3",
115
114
  "rimraf": "^4.4.0",
116
115
  "typescript": "~5.4.5"
117
116
  },
@@ -144,7 +143,6 @@
144
143
  "check:exports:esm:legacy": "api-extractor run --config api-extractor/api-extractor-lint-legacy.esm.json",
145
144
  "check:exports:esm:public": "api-extractor run --config api-extractor/api-extractor-lint-public.esm.json",
146
145
  "check:format": "npm run check:biome",
147
- "check:prettier": "prettier --check . --cache --ignore-path ../../../.prettierignore",
148
146
  "ci:build:api-reports": "concurrently \"npm:ci:build:api-reports:*\"",
149
147
  "ci:build:api-reports:current": "api-extractor run --config api-extractor/api-extractor.current.json",
150
148
  "ci:build:api-reports:legacy": "api-extractor run --config api-extractor/api-extractor.legacy.json",
@@ -154,7 +152,6 @@
154
152
  "eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
155
153
  "format": "npm run format:biome",
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
  "test": "npm run test:mocha",
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/id-compressor";
9
- export const pkgVersion = "2.30.0";
9
+ export const pkgVersion = "2.31.1";
@@ -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
- };