@fluidframework/sequence 2.0.0-internal.7.0.0 → 2.0.0-internal.7.1.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 +31 -0
- package/api-extractor.json +16 -1
- package/api-report/sequence.api.md +715 -0
- package/dist/intervalCollection.d.ts +26 -6
- package/dist/intervalCollection.d.ts.map +1 -1
- package/dist/intervalCollection.js +29 -8
- package/dist/intervalCollection.js.map +1 -1
- package/dist/intervals/interval.d.ts.map +1 -1
- package/dist/intervals/interval.js.map +1 -1
- package/dist/intervals/intervalUtils.d.ts +4 -1
- package/dist/intervals/intervalUtils.d.ts.map +1 -1
- package/dist/intervals/intervalUtils.js +3 -0
- package/dist/intervals/intervalUtils.js.map +1 -1
- package/dist/localValues.d.ts.map +1 -1
- package/dist/localValues.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/revertibles.d.ts +1 -1
- package/dist/revertibles.d.ts.map +1 -1
- package/dist/revertibles.js +5 -2
- package/dist/revertibles.js.map +1 -1
- package/dist/sequence-alpha.d.ts +1500 -0
- package/dist/sequence-beta.d.ts +1420 -0
- package/dist/sequence-public.d.ts +1420 -0
- package/dist/sequence-untrimmed.d.ts +1672 -0
- package/dist/sequence.d.ts.map +1 -1
- package/dist/sequence.js +1 -0
- package/dist/sequence.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/lib/intervalCollection.d.ts +26 -6
- package/lib/intervalCollection.d.ts.map +1 -1
- package/lib/intervalCollection.js +29 -8
- package/lib/intervalCollection.js.map +1 -1
- package/lib/intervals/interval.d.ts.map +1 -1
- package/lib/intervals/interval.js.map +1 -1
- package/lib/intervals/intervalUtils.d.ts +4 -1
- package/lib/intervals/intervalUtils.d.ts.map +1 -1
- package/lib/intervals/intervalUtils.js +3 -0
- package/lib/intervals/intervalUtils.js.map +1 -1
- package/lib/localValues.d.ts.map +1 -1
- package/lib/localValues.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/revertibles.d.ts +1 -1
- package/lib/revertibles.d.ts.map +1 -1
- package/lib/revertibles.js +5 -2
- package/lib/revertibles.js.map +1 -1
- package/lib/sequence.d.ts.map +1 -1
- package/lib/sequence.js +4 -1
- package/lib/sequence.js.map +1 -1
- package/package.json +24 -52
- package/src/intervalCollection.ts +81 -13
- package/src/intervals/interval.ts +5 -1
- package/src/intervals/intervalUtils.ts +4 -1
- package/src/localValues.ts +4 -1
- package/src/packageVersion.ts +1 -1
- package/src/revertibles.ts +6 -3
- package/src/sequence.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @fluidframework/sequence
|
|
2
2
|
|
|
3
|
+
## 2.0.0-internal.7.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- sequence: IntervalCollection.add's intervalType is now deprecated ([#17165](https://github.com/microsoft/FluidFramework/issues/17165)) [a8ea26c9d6](https://github.com/microsoft/FluidFramework/commits/a8ea26c9d61e4938f10c87a8757734f8772fbce6)
|
|
8
|
+
|
|
9
|
+
The `intervalType` parameter is being removed from `IntervalCollection.add`. The new usage requires calling add with an object containing each of the desired parameters.
|
|
10
|
+
Example: `add({start: 0, end: 1, props: { a: b }})`
|
|
11
|
+
|
|
12
|
+
The signature of `IntervalCollection.change` is also being updated to an object containing the desired parameters,
|
|
13
|
+
instead of the existing list of parameters. In addition, `changeProperties` will be removed, so in order to change the
|
|
14
|
+
properties of an interval, the `change` method (with the updated signature) will be used. The id of the interval is not
|
|
15
|
+
included in the object passed to `change`, but is instead passed as the first parameter to `change`.
|
|
16
|
+
|
|
17
|
+
Examples:
|
|
18
|
+
|
|
19
|
+
- Change interval endpoints: `change(intervalId, { start: 3, end: 4 })`
|
|
20
|
+
- Change interval properties: `change(intervalId, { props: { a: c } })`
|
|
21
|
+
|
|
22
|
+
- merge-tree: Deprecate IntervalType.Nest, internedSpaces, RangeStackMap, refGetRangeLabels, refHasRangeLabel, and refHasRangeLabels ([#17555](https://github.com/microsoft/FluidFramework/issues/17555)) [e4c11874ef](https://github.com/microsoft/FluidFramework/commits/e4c11874ef7c62b7cde7c282bc7997519d35fbbc)
|
|
23
|
+
|
|
24
|
+
The following classes and functions have been deprecated. The functionality has poor test coverage and is largely
|
|
25
|
+
unused. They will be removed in a future release.
|
|
26
|
+
|
|
27
|
+
- IntervalType.Nest
|
|
28
|
+
- internedSpaces
|
|
29
|
+
- RangeStackMap
|
|
30
|
+
- refGetRangeLabels
|
|
31
|
+
- refHasRangeLabel
|
|
32
|
+
- refHasRangeLabels
|
|
33
|
+
|
|
3
34
|
## 2.0.0-internal.7.0.0
|
|
4
35
|
|
|
5
36
|
### Major Changes
|
package/api-extractor.json
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
|
|
3
|
-
"extends": "@fluidframework/build-common/api-extractor-
|
|
3
|
+
"extends": "@fluidframework/build-common/api-extractor-base.json",
|
|
4
|
+
|
|
5
|
+
// Configures how the .d.ts rollup file will be generated.
|
|
6
|
+
"dtsRollup": {
|
|
7
|
+
// This package has a root module named "sequence" which conflicts with the default naming here.
|
|
8
|
+
// TODO: remove this override once the base config has been updated to append `-untrimmed` globally.
|
|
9
|
+
"untrimmedFilePath": "<projectFolder>/dist/<unscopedPackageName>-untrimmed.d.ts"
|
|
10
|
+
},
|
|
11
|
+
"messages": {
|
|
12
|
+
"extractorMessageReporting": {
|
|
13
|
+
"ae-missing-release-tag": {
|
|
14
|
+
// TODO: Fix violations and remove this rule override
|
|
15
|
+
"logLevel": "none"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
4
19
|
}
|