@fluidframework/sequence 2.0.0-internal.7.0.1 → 2.0.0-internal.7.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 (60) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/api-extractor.json +16 -1
  3. package/api-report/sequence.api.md +715 -0
  4. package/dist/intervalCollection.d.ts +26 -6
  5. package/dist/intervalCollection.d.ts.map +1 -1
  6. package/dist/intervalCollection.js +29 -8
  7. package/dist/intervalCollection.js.map +1 -1
  8. package/dist/intervals/interval.d.ts.map +1 -1
  9. package/dist/intervals/interval.js.map +1 -1
  10. package/dist/intervals/intervalUtils.d.ts +4 -1
  11. package/dist/intervals/intervalUtils.d.ts.map +1 -1
  12. package/dist/intervals/intervalUtils.js +3 -0
  13. package/dist/intervals/intervalUtils.js.map +1 -1
  14. package/dist/localValues.d.ts.map +1 -1
  15. package/dist/localValues.js.map +1 -1
  16. package/dist/packageVersion.d.ts +1 -1
  17. package/dist/packageVersion.js +1 -1
  18. package/dist/packageVersion.js.map +1 -1
  19. package/dist/revertibles.d.ts +1 -1
  20. package/dist/revertibles.d.ts.map +1 -1
  21. package/dist/revertibles.js +5 -2
  22. package/dist/revertibles.js.map +1 -1
  23. package/dist/sequence-alpha.d.ts +1500 -0
  24. package/dist/sequence-beta.d.ts +1420 -0
  25. package/dist/sequence-public.d.ts +1420 -0
  26. package/dist/sequence-untrimmed.d.ts +1672 -0
  27. package/dist/sequence.d.ts.map +1 -1
  28. package/dist/sequence.js +1 -0
  29. package/dist/sequence.js.map +1 -1
  30. package/dist/tsdoc-metadata.json +1 -1
  31. package/lib/intervalCollection.d.ts +26 -6
  32. package/lib/intervalCollection.d.ts.map +1 -1
  33. package/lib/intervalCollection.js +29 -8
  34. package/lib/intervalCollection.js.map +1 -1
  35. package/lib/intervals/interval.d.ts.map +1 -1
  36. package/lib/intervals/interval.js.map +1 -1
  37. package/lib/intervals/intervalUtils.d.ts +4 -1
  38. package/lib/intervals/intervalUtils.d.ts.map +1 -1
  39. package/lib/intervals/intervalUtils.js +3 -0
  40. package/lib/intervals/intervalUtils.js.map +1 -1
  41. package/lib/localValues.d.ts.map +1 -1
  42. package/lib/localValues.js.map +1 -1
  43. package/lib/packageVersion.d.ts +1 -1
  44. package/lib/packageVersion.js +1 -1
  45. package/lib/packageVersion.js.map +1 -1
  46. package/lib/revertibles.d.ts +1 -1
  47. package/lib/revertibles.d.ts.map +1 -1
  48. package/lib/revertibles.js +5 -2
  49. package/lib/revertibles.js.map +1 -1
  50. package/lib/sequence.d.ts.map +1 -1
  51. package/lib/sequence.js +4 -1
  52. package/lib/sequence.js.map +1 -1
  53. package/package.json +24 -52
  54. package/src/intervalCollection.ts +81 -13
  55. package/src/intervals/interval.ts +5 -1
  56. package/src/intervals/intervalUtils.ts +4 -1
  57. package/src/localValues.ts +4 -1
  58. package/src/packageVersion.ts +1 -1
  59. package/src/revertibles.ts +6 -3
  60. 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
@@ -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-common-strict.json"
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
  }