Skip to content

Commit a44050a

Browse files
Automation: Main Next Integrate
2 parents 3cec3c2 + 82ffb82 commit a44050a

File tree

343 files changed

+4780
-5669
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

343 files changed

+4780
-5669
lines changed

.changeset/big-insects-nail.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
"@fluidframework/container-loader": major
3+
"@fluidframework/driver-definitions": major
4+
"@fluidframework/driver-utils": major
5+
"@fluidframework/local-driver": major
6+
---
7+
8+
IResolvedUrl equivalent to IFluidResolvedUrl
9+
10+
In @fluidframework/driver-definitions IResolvedUrlBase and IWebResolvedUrl have now been removed.
11+
12+
This makes IResolvedUrl and IFluidResolvedUrl equivalent. Since all ResolvedUrls are now FluidResolvedUrls we no longer need to differentiate them. In @fluidframework/driver-utils isFluidResolvedUrl and
13+
ensureFluidResolvedUrl have been removed due to this.

.changeset/chilly-seas-act.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@fluidframework/test-utils": major
3+
---
4+
5+
ensureSynchronizedWithTimeout removed from LoaderContainerTracker
6+
7+
`LoaderContainerTracker.ensureSynchronizedWithTimeout` has been removed, as it is equivalent to `LoaderContainerTracker.ensureSynchronized`. The `timeoutDuration` parameter from `TestObjectProvider.ensureSynchronized` has also been removed. Please configure the timeout for the test instead.

.changeset/lovely-seas-end.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
"@fluid-internal/tree": major
3+
"@fluidframework/container-runtime": major
4+
"@fluidframework/datastore": major
5+
"@fluidframework/garbage-collector": major
6+
"@fluidframework/runtime-utils": major
7+
"@fluidframework/test-end-to-end-tests": major
8+
---
9+
10+
@fluidframework/garbage-collector removed
11+
12+
The `@fluidframework/garbage-collector` package was deprecated in version 2.0.0-internal.4.1.0. It has now been removed with the following functions, interfaces, and types in it.
13+
14+
- `cloneGCData`
15+
- `concatGarbageCollectionData`
16+
- `concatGarbageCollectionStates`
17+
- `GCDataBuilder`
18+
- `getGCDataFromSnapshot`
19+
- `IGCResult`
20+
- `removeRouteFromAllNodes`
21+
- `runGarbageCollection`
22+
- `trimLeadingAndTrailingSlashes`
23+
- `trimLeadingSlashes`
24+
- `trimTrailingSlashes`
25+
- `unpackChildNodesGCDetails`
26+
- `unpackChildNodesUsedRoutes`
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.changeset/silly-glasses-wonder.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
"@fluidframework/container-runtime": major
3+
"@fluidframework/datastore": major
4+
"@fluidframework/garbage-collector": major
5+
"@fluidframework/runtime-definitions": major
6+
"@fluidframework/runtime-utils": major
7+
"@fluidframework/test-end-to-end-tests": major
8+
---
9+
10+
garbage-collector and related items removed
11+
12+
The following functions, interfaces, and types currently available in `@fluidframework/garbage-collector` were deprecated in 2.0.0-internal.4.1.0 and are now removed.
13+
14+
- `runGarbageCollection`
15+
- `trimLeadingAndTrailingSlashes`
16+
- `trimLeadingSlashes`
17+
- `trimTrailingSlashes`
18+
- `cloneGCData`
19+
- `unpackChildNodesGCDetails`
20+
- `removeRouteFromAllNodes`
21+
- `concatGarbageCollectionStates`
22+
- `concatGarbageCollectionData`
23+
- `GCDataBuilder`
24+
- `getGCDataFromSnapshot`
25+
- `IGCResult`

.changeset/slimy-games-deny.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@fluidframework/container-runtime": major
3+
---
4+
5+
The `on("op")` and `off("op")` methods on `ISummarizerRuntime` are now required. These listener methods are needed to accurately run summary heuristics.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
"@fluidframework/container-runtime": major
3+
"@fluidframework/container-definitions": major
4+
"@fluidframework/container-loader": major
5+
---
6+
7+
### Closing Container no longer disposes
8+
9+
Calling `IContainer.close(...)` will no longer dispose the container runtime, document service, or document storage service.
10+
11+
If the container is not expected to be used after the `close(...)` call, replace it instead with a `IContainer.dispose(...)` call (this should be the most common case). Using `IContainer.dispose(...)` will no longer switch the container to "readonly" mode and relevant code should instead listen to the Container's "disposed" event.
12+
If you intend to pass your own critical error to the container, use `IContainer.close(...)`. Once you are done using the container, call `IContainer.dispose(...)`.
13+
14+
Please see the [Closure](packages/loader/container-loader/README.md#Closure) section of Loader README.md for more details.
15+
16+
### IContainer.dispose is now required
17+
18+
`IContainer.dispose` is now a required method. This method should dispose any resources and switch the container to a
19+
permanently disconnected state.
20+
21+
Please see the
22+
[Closure](https://github.com/microsoft/FluidFramework/blob/main/packages/loader/container-loader/README.md#closure)
23+
section of Loader README.md for more details.

.changeset/wise-hats-grin.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
"@fluidframework/container-runtime": major
3+
"@fluidframework/datastore": major
4+
"@fluidframework/garbage-collector": major
5+
"@fluidframework/runtime-definitions": major
6+
"@fluidframework/runtime-utils": major
7+
"@fluidframework/test-end-to-end-tests": major
8+
---
9+
10+
GC interfaces removed from runtime-definitions
11+
12+
The following interfaces available in `@fluidframework/runtime-definitions` were deprecated in 2.0.0-internal.4.1.0 and are now removed.
13+
14+
- `IGarbageCollectionNodeData`
15+
- `IGarbageCollectionState`
16+
- `IGarbageCollectionSnapshotData`
17+
- `IGarbageCollectionSummaryDetailsLegacy`

.vscode/settings.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,23 @@
2525
// Custom dictionary for 'streetsidesoftware.code-spell-checker' extension.
2626
"cSpell.words": [
2727
"endregion",
28+
"handlecache",
29+
"handletable",
2830
"injective",
2931
"losslessly",
3032
"mitigations",
33+
"mocharc",
3134
"multinomial",
32-
"nacked",
3335
"nonfinite",
3436
"pseudorandomly",
35-
"retriable",
37+
"snapshotlegacy",
38+
"testconsumer",
3639
"Tinylicious",
3740
"tombstoned",
3841
"TSDoc",
39-
"unaugmented"
42+
"unacked",
43+
"unaugmented",
44+
"undoprovider"
4045
],
4146

4247
// Enable prettier as default formatter, and disable rules that disagree with it

BREAKING.md

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,103 @@ It's important to communicate breaking changes to our stakeholders. To write a g
1515
- Avoid using code formatting in the title (it's fine to use in the body).
1616
- To explain the benefit of your change, use the [What's New](https://fluidframework.com/docs/updates/v1.0.0/) section on FluidFramework.com.
1717

18+
# 2.0.0-internal.5.0.0
19+
20+
## 2.0.0-internal.5.0.0 Upcoming changes
21+
22+
- [IFluidResolvedUrl Deprecated](#IFluidResolvedUrl-Deprecated)
23+
24+
### IFluidResolvedUrl Deprecated
25+
26+
IFluidResolvedUrl is now deprecated, all usages should move to IResolvedUrl instead. This aligns with the preceding change, [IResolvedUrl equivalent to IFluidResolvedUrl](#IResolvedUrl-equivalent-to-IFluidResolvedUrl)
27+
28+
## 2.0.0-internal.5.0.0 Breaking changes
29+
30+
- [IResolvedUrl equivalent to IFluidResolvedUrl](#IResolvedUrl-equivalent-to-IFluidResolvedUrl)
31+
- [@fluidframework/garbage-collector removed](#@fluidframework/garbage-collector-removed)
32+
- [GC interfaces removed from runtime-definitions](#gc-interfaces-removed-from-runtime-definitions)
33+
- [ensureSynchronizedWithTimeout removed from LoaderContainerTracker](#ensuresynchronizedwithtimeout-removed-from-loadercontainertracker)
34+
- [Container-loader deprecation removals](#Container-loader-deprecations-removals)
35+
- [Closing Container no longer disposes](#Closing-Container-no-longer-disposes)
36+
- [IContainer.dispose is now required](#IContainer.dispose-is-now-required)
37+
- [ISummarizerRuntime on/off op required](#isummarizerruntime-onoff-op-required)
38+
- [Driver param removed from appendToMergeTreeDeltaRevertibles](#Driver-param-removed-from-appendToMergeTreeDeltaRevertibles)
39+
40+
### IResolvedUrl equivalent to IFluidResolvedUrl
41+
42+
In @fluidframework/driver-definitions IResolvedUrlBase and IWebResolvedUrl have now been removed.
43+
44+
This makes IResolvedUrl and IFluidResolvedUrl equivalent. Since all ResolvedUrls are now FluidResolvedUrls we no longer need to differentiate them. In @fluidframework/driver-utils isFluidResolvedUrl and
45+
ensureFluidResolvedUrl have been removed due to this.
46+
47+
### @fluidframework/garbage-collector removed
48+
49+
The `@fluidframework/garbage-collector` package was deprecated in 2.0.0-internal.4.1.0. It has now been removed with the following functions, interfaces, and types in it.
50+
51+
- `runGarbageCollection`
52+
- `trimLeadingAndTrailingSlashes`
53+
- `trimLeadingSlashes`
54+
- `trimTrailingSlashes`
55+
- `cloneGCData`
56+
- `unpackChildNodesGCDetails`
57+
- `unpackChildNodesUsedRoutes`
58+
- `removeRouteFromAllNodes`
59+
- `concatGarbageCollectionStates`
60+
- `concatGarbageCollectionData`
61+
- `GCDataBuilder`
62+
- `getGCDataFromSnapshot`
63+
- `IGCResult`
64+
65+
### GC interfaces removed from runtime-definitions
66+
67+
The following interfaces available in `@fluidframework/runtime-definitions` were deprecated in 2.0.0-internal.4.1.0 and are now removed.
68+
69+
- `IGarbageCollectionNodeData`
70+
- `IGarbageCollectionState`
71+
- `IGarbageCollectionSnapshotData`
72+
- `IGarbageCollectionSummaryDetailsLegacy`
73+
74+
### ensureSynchronizedWithTimeout removed from LoaderContainerTracker
75+
76+
`LoaderContainerTracker.ensureSynchronizedWithTimeout` has been removed as it is equivalent to `LoaderContainerTracker.ensureSynchronized`. The `timeoutDuration` parameter from `TestObjectProvider.ensureSynchronized` will also be removed. Configure the timeout for the test instead.
77+
78+
### Container-loader deprecation removals
79+
80+
The following types in the @fluidframework/container-loader package are not used by, or necessary to use our public api, so have been removed from export in this release:
81+
82+
- IContainerLoadOptions
83+
- IContainerConfig
84+
- IPendingContainerState
85+
- ISerializableBlobContents
86+
87+
### Closing Container no longer disposes
88+
89+
Calling `IContainer.close(...)` will no longer dispose the container runtime, document service, or document storage service.
90+
91+
If the container is not expected to be used after the `close(...)` call, replace it instead with a `IContainer.dispose(...)` call (this should be the most common case). Using `IContainer.dispose(...)` will no longer switch the container to "readonly" mode and relevant code should instead listen to the Container's "disposed" event.
92+
If you intend to pass your own critical error to the container, use `IContainer.close(...)`. Once you are done using the container, call `IContainer.dispose(...)`.
93+
94+
Please see the [Closure](packages/loader/container-loader/README.md#Closure) section of Loader README.md for more details.
95+
96+
### `IContainer.dispose` is now required
97+
98+
`IContainer.dispose` is now a required method. This method should dispose any resources and switch the container to a permanently disconnected state.
99+
100+
Please see the [Closure](packages/loader/container-loader/README.md#Closure) section of Loader README.md for more details.
101+
102+
### ISummarizerRuntime on/off op required
103+
104+
The `on("op")` and `off("op")` methods on `ISummarizerRuntime` are now required. These listener methods are needed to accurately run summary heuristics.
105+
106+
### Driver param removed from appendToMergeTreeDeltaRevertibles
107+
108+
The first parameter, driver, of the function appendToMergeTreeDeltaRevertibles has been removed. Additionally, the interface MergeTreeRevertibleDriver has been simplified, and no longer requires:
109+
110+
- createLocalReferencePosition
111+
- localReferencePositionToPosition
112+
- getPosition
113+
- getContainingSegment
114+
18115
# 2.0.0-internal.4.3.0
19116

20117
## 2.0.0-internal.4.3.0 Breaking changes

0 commit comments

Comments
 (0)