Skip to content

Commit

Permalink
Automation: main-next integrate
Browse files Browse the repository at this point in the history
  • Loading branch information
Josmithr committed Dec 12, 2023
2 parents 7a8b0b1 + 4582ffc commit a528075
Show file tree
Hide file tree
Showing 647 changed files with 7,283 additions and 17,361 deletions.
9 changes: 9 additions & 0 deletions .changeset/bitter-clocks-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@fluidframework/container-definitions": major
---

Removed `request(...)` and `IFluidRouter` from `IContainer`

The `request(...)` method and `IFluidRouter` property have been removed from `IContainer`. Please use the `IContainer.getEntryPoint()` method to get the container's entry point.

See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
9 changes: 9 additions & 0 deletions .changeset/bumpy-papayas-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@fluidframework/aqueduct": major
---

Removed `getDefaultObjectFromContainer`, `getObjectWithIdFromContainer` and `getObjectFromContainer`

The `getDefaultObjectFromContainer`, `getObjectWithIdFromContainer` and `getObjectFromContainer` helper methods have been removed from `"@fluidframework/aqueduct"`. Please move all code usage to the new `entryPoint` pattern.

See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
7 changes: 7 additions & 0 deletions .changeset/cold-mails-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fluidframework/matrix": major
"@fluidframework/merge-tree": major
"@fluidframework/sequence": major
---

Enable noImplicitAny in merge-tree, sequence, and matrix. This changes the return types of some functions from any to void. This does not represent a logic change and only serves to make the typing of these functions more accurate.
8 changes: 8 additions & 0 deletions .changeset/copied-llamas-digest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@fluidframework/location-redirection-utils": major
---

Removes the @fluidframework/location-redirection-utils package

The package was deprecated in version `2.0.0-internal.7.2.0`, and all of its library exports were moved to other packages.
It is now removed, and no future versions will be published.
10 changes: 10 additions & 0 deletions .changeset/cute-points-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@fluidframework/container-runtime-definitions": major
"@fluidframework/runtime-definitions": major
---

Removed `resolveHandle` and `IFluidHandleContext` from ContainerRuntime interfaces

The `IContainerRuntime.resolveHandle(...)` method and the `IContainerRuntimeBase.IFluidHandleContext` property have been removed. Please remove all usage of these APIs.

See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
9 changes: 9 additions & 0 deletions .changeset/dark-dancers-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@fluidframework/datastore-definitions": major
---

Removed `request` and `IFluidRouter` from `IFluidDataStoreRuntime`

The `request` method and `IFluidRouter` property have been removed from `IFluidDataStoreRuntime`. Please migrate all usage to the `IFluidDataStoreRuntime.entryPoint` API.

See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
11 changes: 11 additions & 0 deletions .changeset/eager-teeth-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@fluidframework/merge-tree": major
"@fluidframework/sequence": major
"@fluidframework/undo-redo": major
---

Add experimental support for the obliterate operation

This change adds experimental support for obliterate, a form of remove that deletes concurrently inserted segments. To use: enable the `mergeTreeEnableObliterate` feature flag and call the new `obliterateRange` functions.

Note for `sequence` users: this change may cause compilation errors for those attaching event listeners. As long as obliterate isn't used in current handlers, their current implementation is sound.
20 changes: 20 additions & 0 deletions .changeset/easy-deer-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
"@fluidframework/datastore-definitions": major
"@fluid-experimental/devtools-core": major
"@fluidframework/map": major
"@fluidframework/matrix": major
"@fluidframework/sequence": major
"@fluidframework/shared-summary-block": major
"@fluid-experimental/sharejs-json1": major
"@fluid-private/test-end-to-end-tests": major
"@fluidframework/test-runtime-utils": major
"@fluid-experimental/tree2": major
---

Update `Jsonable` and `Serializable` types from @fluidframework-definitions to require a generic parameter and if that type is `any` or `unknown` use a new result `JsonableTypeWith<>` that more accurately represents the limitation of serialization. Additional modifications:

- `Jsonable`'s `TReplacement` parameter default has also been changed from `void` to `never`, which now disallows `void`.
- Unrecognized primitive types like `symbol` are now filtered to `never` instead of `{}`.
- Recursive types with arrays (`[]`) are now supported.

`Serializable` is commonly used for DDS values and now requires more precision when using them. For example SharedMatrix (unqualified) has an `any` default that meant values were `Serializable<any>` (i.e. `any`), but now `Serializable<any>` is `JsonableTypeWith<IFluidHandle>` which may be problematic for reading or writing. Preferred correction is to specify the value type but casting through `any` may provide a quick fix.
8 changes: 8 additions & 0 deletions .changeset/every-suns-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@fluidframework/merge-tree": major
"@fluidframework/sequence": major
---

Remove Marker.hasSimpleType and make sequence operations return void

Marker.hasSimpleType was unused. Sequence operations now no longer return IMergeTree\*Msg types. These types are redundant with the input.
10 changes: 10 additions & 0 deletions .changeset/floppy-mails-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@fluidframework/container-definitions": major
"@fluidframework/container-loader": major
---

Removed `request(...)` and `IFluidRouter` from `ILoader` and `Loader`

The `request(...)` method and `IFluidRouter` property have been removed from `ILoader` and `Loader`. Instead, after calling `ILoader.resolve(...)`, call the `getEntryPoint()` method on the returned `IContainer`.

See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
7 changes: 7 additions & 0 deletions .changeset/fuzzy-cities-wonder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fluidframework/datastore": major
---

Removed `FluidDataStoreRuntime.load(...)`

The static method `FluidDataStoreRuntime.load(...)` has been removed. Please migrate all usage of this method to `FluidDataStoreRuntime` constructor.
17 changes: 17 additions & 0 deletions .changeset/gentle-hats-appear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
"@fluidframework/aqueduct": major
"@fluidframework/data-object-base": major
"@fluidframework/test-utils": major
---

Removed `IFluidRouter` from DataObject interfaces and classes

The `IFluidRouter` property has been removed from a number of DataObject related classes:

- `PureDataObject`
- `LazyLoadedDataObject`
- `TestFluidObject`

Please migrate to the new `entryPoint` pattern or use the relevant `request` method as necessary.

See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
9 changes: 9 additions & 0 deletions .changeset/gold-cats-tell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@fluidframework/local-driver": major
---

LocalDocumentStorageService class property type changes

The `repositoryUrl` property on the `LocalDocumentStorageService` class has changed from a property getter to a
`readonly` field. While this is an API change, there should be no changes required on the consumer side since calling
code should remain the same.
12 changes: 12 additions & 0 deletions .changeset/green-parrots-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@fluidframework/merge-tree": major
"@fluidframework/sequence": major
---

Remove public exports from merge-tree and sequence

Removes or marks `@internal` BaseSegment.ack, Client, CollaborationWindow, compareNumbers, compareStrings, createAnnotateMarkerOp, createAnnotateRangeOp, createGroupOp, createInsertOp, createInsertSegmentOp, createRemoveRangeOp, IConsensusInfo, IConsensusValue, IMarkerModifiedAction, IMergeTreeTextHelper, LocalClientId, MergeTreeDeltaCallback, MergeTreeMaintenanceCallback, NonCollabClient, SegmentAccumulator, SegmentGroup, SegmentGroupCollection.enqueue, SegmentGroupCollection.dequeue, SegmentGroupCollection.pop, SortedSegmentSet, SortedSegmentSetItem, SortedSet, toRemovalInfo, TreeMaintenanceSequenceNumber, and UniversalSequenceNumber from merge-tree.

Removes SharedSegmentSequence.submitSequenceMessage from sequence.

This functionality was never intended for public export.
8 changes: 8 additions & 0 deletions .changeset/little-mirrors-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@fluidframework/container-definitions": major
"@fluidframework/container-runtime": major
---

Remove Pending State Related Deprecations

This change removes the deprecated `IPendingLocalState` and `IRuntiume.notifyAttaching`. There is no replacement as they are not longer used.
17 changes: 17 additions & 0 deletions .changeset/lucky-worms-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
"@fluidframework/container-definitions": major
"@fluidframework/container-runtime": major
"@fluidframework/runtime-definitions": major
---

Removed request pattern from `ContainerRuntime`, `IRuntime`, and `IContainerRuntimeBase`

The `request(...)` method and `IFluidRouter` property have been removed from the following places:

- `ContainerRuntime`
- `IRuntime`
- `IContainerRuntimeBase`

Please use the `IRuntime.getEntryPoint()` method to get the runtime's entry point.

See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
8 changes: 8 additions & 0 deletions .changeset/metal-geese-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@fluid-experimental/attributor": major
"@fluidframework/container-runtime": major
---

Removed `ContainerRuntime.load(...)`

The static method `ContainerRuntime.load(...)` has been removed. Please migrate all usage of this method to `ContainerRuntime.loadRuntime(...)`.
11 changes: 11 additions & 0 deletions .changeset/nice-worms-try.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@fluidframework/container-runtime": major
"@fluidframework/container-runtime-definitions": major
"@fluidframework/core-interfaces": major
---

Removed `getRootDataStore`

The `getRootDataStore` method has been removed from `IContainerRuntime` and `ContainerRuntime`. Please migrate all usage to the new `getAliasedDataStoreEntryPoint` method. This method returns the data store's entry point which is its `IFluidHandle`.

See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
7 changes: 7 additions & 0 deletions .changeset/nine-coins-send.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fluidframework/aqueduct": major
---

Removed `IRootDataObjectFactory`

The `IRootDataObjectFactory` interface has been removed. Please remove all usage of it.
10 changes: 10 additions & 0 deletions .changeset/open-women-yawn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@fluidframework/container-definitions": major
"@fluidframework/container-loader": major
"@fluidframework/datastore": major
"@fluidframework/runtime-utils": major
---

Fix ISnapshotTreeWithBlobContents and mark internal

ISnapshotTreeWithBlobContents is an internal type that should not be used externally. Additionally, the type didn't match the usage, specifically in runtime-utils where an `any` cast was used to work around undefined blobContents. The type has been updated to reflect that blobContents can be undefined
7 changes: 7 additions & 0 deletions .changeset/poor-peas-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fluidframework/merge-tree": major
---

Remove IIntegerRange

This interface is deprecated and was not intended for public export.
10 changes: 10 additions & 0 deletions .changeset/shaggy-doodles-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@fluidframework/datastore": major
"@fluidframework/runtime-definitions": major
---

Removed `IFluidRouter` from `IFluidDataStoreChannel` and `FluidDataStoreRuntime`

The `IFluidRouter` property has been removed from `IFluidDataStoreChannel` and `FluidDataStoreRuntime`. Please migrate all usage to the `IFluidDataStoreChannel.entryPoint` API.

See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
9 changes: 9 additions & 0 deletions .changeset/shaky-socks-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@fluidframework/runtime-utils": major
---

Removed `requestFluidObject`

The `requestFluidObject` utility has been removed. Please migrate all usage of it to the new `entryPoint` pattern.

See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
12 changes: 12 additions & 0 deletions .changeset/silent-coins-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@fluidframework/merge-tree": major
"@fluidframework/sequence": major
---

Remove support for combining ops

In `merge-tree`, removes ICombiningOp; the combiningOp field from IMergeTreeAnnotateMsg; the op argument from BaseSegment.addProperties, PropertiesManager.addProperties, and ReferencePosition.addProperties; and the enum variant PropertiesRollback.Rewrite.

In `sequence`, removes the combiningOp argument from SharedSegmentSequence.annotateRange and SharedString.annotateMarker and the function SharedString.annotateMarkerNotifyConsensus.

This functionality was largely unused and had no test coverage.
9 changes: 9 additions & 0 deletions .changeset/sixty-kings-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@fluidframework/test-runtime-utils": major
---

MockDeltaManager class property type changes

The `active` and `maxMessageSize` properties on the `MockDeltaManager` class have changed from property getters to
`readonly` fields. While this is an API change, there should be no changes required on the consumer side since calling
code should remain the same.
9 changes: 9 additions & 0 deletions .changeset/sweet-pandas-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@fluidframework/core-interfaces": major
---

Removed `IFluidRouter` and `IProvideFluidRouter`

The `IFluidRouter` and `IProvideFluidRouter` interfaces have been removed. Please migrate all usage to the new `entryPoint` pattern.

See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
8 changes: 8 additions & 0 deletions .changeset/tangy-beers-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@fluidframework/merge-tree": major
"@fluidframework/sequence": major
---

Remove Client.getStackContext, SharedSegmentSequence.getStackContext, IntervalType.Nest, ReferenceType.NestBegin, ReferenceType.NestEnd, internedSpaces, RangeStackMap, refGetRangeLabels, refHasRangeLabel, and refHasRangeLabels

This functionality is deprecated, has low test coverage, and is largely unused.
7 changes: 7 additions & 0 deletions .changeset/tangy-geckos-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fluidframework/container-loader": major
---

Removed `requestResolvedObjectFromContainer`

The helper function `requestResolvedObjectFromContainer` has been removed. Please remove all calls to it and instead use the new `entryPoint` pattern. See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
9 changes: 9 additions & 0 deletions .changeset/tender-planets-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@fluidframework/runtime-definitions": major
---

Removed `request` and `IFluidRouter` from `IDataStore`

The `request` method and `IFluidRouter` property have been removed from `IDataStore`. Please migrate all usage to the `IDataStore.entryPoint` API.

See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
22 changes: 22 additions & 0 deletions .changeset/thick-ads-marry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
"@fluid-example/example-utils": major
"@fluidframework/aqueduct": major
"@fluidframework/request-handler": major
---

Removed `requestHandler` utilities

The following `requestHandler` utilities have been removed:

- `makeModelRequestHandler`
- `defaultFluidObjectRequestHandler`
- `defaultRouteRequestHandler`
- `mountableViewRequestHandler`
- `createFluidObjectResponse`
- `rootDataStoreRequestHandler`
- `handleFromLegacyUri`
- `RuntimeRequestHandlerBuilder`

Please migrate all usage to the new `entryPoint` pattern.

See [Removing-IFluidRouter.md](https://github.com/microsoft/FluidFramework/blob/main/packages/common/core-interfaces/Removing-IFluidRouter.md) for more details.
7 changes: 7 additions & 0 deletions .changeset/wet-bags-pick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fluidframework/merge-tree": major
---

Remove Stack, clone, combine, createMap, extend, extendIfUndefined, and matchProperties

This functionality is deprecated and was not intended for public export.
17 changes: 17 additions & 0 deletions .changeset/wet-hornets-trade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
"@fluidframework/azure-client": major
"fluid-framework": major
"@fluidframework/fluid-static": major
"@fluidframework/tinylicious-client": major
---

Removes Deprecated FluidStatic Classes

This change removes a number of deprecated and unnecessarily exposed FluidStatic classes.
The removed classes are as follows:

- AzureAudience
- TinyliciousAudience
- DOProviderContainerRuntimeFactory
- FluidContainer
- ServiceAudience
3 changes: 1 addition & 2 deletions PACKAGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ The dependencies between layers are enforced by the layer-check command._

| Packages | Layer Dependencies |
| --- | --- |
| - [@fluidframework/container-loader](/packages/loader/container-loader)</br>- [@fluidframework/location-redirection-utils](/packages/loader/location-redirection-utils)</br>- [@fluid-private/test-loader-utils](/packages/loader/test-loader-utils)</br>&nbsp;</br>&nbsp;</br>&nbsp;</br>&nbsp;</br>&nbsp;</br>&nbsp; | - [Core-Interfaces](#Core-Interfaces)</br>- [Protocol-Definitions](#Protocol-Definitions)</br>- [Driver-Definitions](#Driver-Definitions)</br>- [Container-Definitions](#Container-Definitions)</br>- [Core-Utils](#Core-Utils)</br>- [Client-Utils](#Client-Utils)</br>- [Protocol-Utils](#Protocol-Utils)</br>- [Telemetry-Utils](#Telemetry-Utils)</br>- [Driver-Utils](#Driver-Utils) |
| - [@fluidframework/container-loader](/packages/loader/container-loader)</br>- [@fluid-private/test-loader-utils](/packages/loader/test-loader-utils)</br>&nbsp;</br>&nbsp;</br>&nbsp;</br>&nbsp;</br>&nbsp;</br>&nbsp; | - [Core-Interfaces](#Core-Interfaces)</br>- [Protocol-Definitions](#Protocol-Definitions)</br>- [Driver-Definitions](#Driver-Definitions)</br>- [Container-Definitions](#Container-Definitions)</br>- [Core-Utils](#Core-Utils)</br>- [Client-Utils](#Client-Utils)</br>- [Protocol-Utils](#Protocol-Utils)</br>- [Telemetry-Utils](#Telemetry-Utils)</br>- [Driver-Utils](#Driver-Utils) |

### Runtime

Expand Down Expand Up @@ -220,4 +220,3 @@ The dependencies between layers are enforced by the layer-check command._
| Packages | Layer Dependencies |
| --- | --- |
| - [@fluidframework/server-routerlicious](/server/routerlicious/packages/routerlicious)</br>&nbsp;</br>&nbsp;</br>&nbsp;</br>&nbsp; | - [Common-Definitions](#Common-Definitions)</br>- [Protocol-Definitions](#Protocol-Definitions)</br>- [Common-Utils](#Common-Utils)</br>- [Server-Shared-Utils](#Server-Shared-Utils)</br>- [Server-Libs](#Server-Libs) |

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ Dependencies between packages in various layers of the system are enforced via a
[layer-check](./build-tools/packages/build-tools/src/layerCheck). You can view the full list of packages and layers in
[PACKAGES.md](./PACKAGES.md).

- Note: to update the contents of `PACKAGES.md` for local package changes, run `pnpm layer-check --md .`.

## Setup and Building

Install the required tools:
Expand Down
Loading

0 comments on commit a528075

Please sign in to comment.