Skip to content

Commit

Permalink
Automation: Main Next Integrate
Browse files Browse the repository at this point in the history
  • Loading branch information
sonalideshpandemsft committed Jul 6, 2023
2 parents 3a7bfcb + 7b706e4 commit 1fb4cb9
Show file tree
Hide file tree
Showing 324 changed files with 13,198 additions and 15,297 deletions.
9 changes: 9 additions & 0 deletions .changeset/better-apes-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@fluidframework/container-definitions": major
"@fluidframework/container-loader": major
"@fluidframework/container-runtime": major
---

Removed IContainerContext.existing

The recommended means of checking for existing changed to the instantiateRuntime param in 2021, and the IContainerContext.existing member was formally deprecated in 2.0.0-internal.2.0.0. This member is now removed.
7 changes: 7 additions & 0 deletions .changeset/early-knives-ask.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fluidframework/container-definitions": major
---

allSentOpsAckd and processTime events removed from IDeltaManagerEvents

The "allSentOpsAckd" and "processTime" events on the IDeltaManagerEvents interface were deprecated in 2.0.0-internal.2.2.0 and have now been removed.
7 changes: 7 additions & 0 deletions .changeset/eight-berries-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fluidframework/container-definitions": major
---

IConnectionDetailsInternal and IDeltaHandlerStrategy removed

IConnectionDetailsInternal and IDeltaHandlerStrategy from the @fluidframework/container-definitions package were deprecated in 2.0.0-internal.5.2.0 and have now been removed.
7 changes: 7 additions & 0 deletions .changeset/evil-deer-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fluidframework/driver-utils": major
---

combineAppAndProtocolSummary removed from driver-utils

combineAppAndProtocolSummary was deprecated in 2.0.0-internal.3.4.0 and has now been removed.
7 changes: 7 additions & 0 deletions .changeset/free-ideas-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fluidframework/test-client-utils": major
---

@fluidframework/test-client-utils removed

The @fluidframework/test-client-utils package was deprecated in 2.0.0-internal.5.1.0 and has now been removed.
12 changes: 12 additions & 0 deletions .changeset/fresh-singers-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@fluidframework/merge-tree": major
"@fluidframework/sequence": major
---

Remove ISegment.parent

This change removed the parent property on the ISegment interface. The property will still exist, but should not generally be used by outside consumers.

There are some circumstances where a consumer may wish to know if a segment is still in the underlying tree and were using the parent property to determine that.

Please change those checks to use the following `"parent" in segment && segment.parent !== undefined`
7 changes: 7 additions & 0 deletions .changeset/kind-icons-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fluidframework/test-utils": major
---

TestFluidObject.load removed

TestFluidObject.load performed unsafe initialization, and has instead been replaced by direct usage of the constructor plus a call to testFluidObject.initialize(). This should have no impact to your scenario, as instantiation of TestFluidObjects should only be done through TestFluidObjectFactory.
4 changes: 4 additions & 0 deletions .changeset/mean-comics-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
"@fluidframework/matrix": major
"@fluidframework/merge-tree": major
---
7 changes: 7 additions & 0 deletions .changeset/metal-toys-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fluidframework/datastore-definitions": major
---

IChannel.owner removed

The owner property on IChannel was deprecated in 2.0.0-internal.5.1.0 and has now been removed.
7 changes: 7 additions & 0 deletions .changeset/nine-falcons-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fluidframework/container-runtime": major
---

`IRootSummaryTreeWithStats` removed

`IRootSummaryTreeWithStats` was the return type of `summarize` method on `ContainerRuntime`. It was an internal interface used only in `ContainerRuntime` class to to access `gcStats` from a call site. `gcStats` is not needed in the call site anymore so this interface is removed.
9 changes: 9 additions & 0 deletions .changeset/selfish-walls-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@fluidframework/container-runtime": major
---

Calling `ContainerRuntime.closeFn(...)` will no longer call `ContainerContext.disposeFn(...)` as well. This means the `ContainerRuntime` will no longer be disposed by calling this method.

To achieve the `ContainerRuntime` being disposed, use the exposed `ContainerRuntime.disposeFn` method.

For more information about close vs. dispose expectations, see the [Closure](packages/loader/container-loader/README.md#Closure) section of Loader README.md.
7 changes: 7 additions & 0 deletions .changeset/seven-books-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fluidframework/datastore": major
---

FluidDataStoreRuntime.getChannel throws for channels that do not exist

Previously, calling `FluidDataStoreRuntime.getChannel(id)` for a channel that does not exist would wait for the channel to be created (possibly waiting indefinitely if never created). However, there is no safe means to dynamically create a channel in this manner without risking data corruption. The call will instead now throw for non-existent channels.
7 changes: 7 additions & 0 deletions .changeset/silver-hairs-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@fluidframework/merge-tree": major
---

Remove unnecessary exports

This change removes a number of interfaces in the merge tree package that are not used in the exported apis surface and therefore should not be used.
130 changes: 130 additions & 0 deletions .changeset/swift-melons-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
---
"@fluidframework/agent-scheduler": major
"@fluidframework/aqueduct": major
"@fluid-experimental/attributable-map": major
"@fluid-experimental/attributor": major
"@fluidframework/azure-client": major
"@fluidframework/azure-end-to-end-tests": major
"@fluidframework/azure-local-service": major
"@fluidframework/azure-scenario-runner": major
"@fluidframework/azure-service-utils": major
"@fluidframework/cell": major
"@fluidframework/container-definitions": major
"@fluidframework/container-loader": major
"@fluidframework/container-runtime": major
"@fluidframework/container-runtime-definitions": major
"@fluidframework/container-utils": major
"@fluidframework/core-interfaces": major
"@fluidframework/core-utils": major
"@fluidframework/counter": major
"@fluidframework/data-object-base": major
"@fluid-experimental/data-objects": major
"@fluidframework/datastore": major
"@fluidframework/datastore-definitions": major
"@fluidframework/dds-interceptions": major
"@fluidframework/debugger": major
"@fluid-experimental/devtools": major
"@fluid-experimental/devtools-core": major
"@fluidframework/driver-base": major
"@fluidframework/driver-definitions": major
"@fluidframework/driver-utils": major
"@fluidframework/driver-web-cache": major
"@fluid-tools/fetch-tool": major
"@fluidframework/file-driver": major
"fluid-framework": major
"@fluidframework/fluid-runner": major
"@fluidframework/fluid-static": major
"@fluid-tools/fluidapp-odsp-urlresolver": major
"@fluidframework/ink": major
"@fluid-experimental/last-edited": major
"@fluidframework/local-driver": major
"@fluidframework/location-redirection-utils": major
"@fluidframework/map": major
"@fluidframework/matrix": major
"@fluidframework/merge-tree": major
"@fluidframework/mocha-test-setup": major
"@fluidframework/odsp-doclib-utils": major
"@fluidframework/odsp-driver": major
"@fluidframework/odsp-driver-definitions": major
"@fluidframework/odsp-urlresolver": major
"@fluid-experimental/oldest-client-observer": major
"@fluidframework/ordered-collection": major
"@fluid-experimental/ot": major
"@fluid-experimental/pact-map": major
"@fluid-experimental/property-binder": major
"@fluid-experimental/property-changeset": major
"@fluid-experimental/property-common": major
"@fluid-experimental/property-dds": major
"@fluid-experimental/property-inspector-table": major
"@fluid-experimental/property-properties": major
"@fluid-experimental/property-proxy": major
"@fluid-experimental/react-inputs": major
"@fluidframework/register-collection": major
"@fluidframework/replay-driver": major
"@fluidframework/request-handler": major
"@fluidframework/routerlicious-driver": major
"@fluidframework/routerlicious-urlresolver": major
"@fluidframework/runtime-definitions": major
"@fluidframework/runtime-utils": major
"@fluidframework/sequence": major
"@fluid-experimental/sequence-deprecated": major
"@fluidframework/shared-object-base": major
"@fluidframework/shared-summary-block": major
"@fluid-experimental/sharejs-json1": major
"@fluidframework/synthesize": major
"@fluidframework/task-manager": major
"@fluidframework/telemetry-utils": major
"@fluidframework/test-client-utils": major
"@fluidframework/test-driver-definitions": major
"@fluidframework/test-runtime-utils": major
"@fluidframework/test-utils": major
"@fluidframework/tinylicious-client": major
"@fluidframework/tinylicious-driver": major
"@fluidframework/tool-utils": major
"@fluid-experimental/tree": major
"@fluid-experimental/tree-graphql": major
"@fluid-experimental/tree-react-api": major
"@fluid-experimental/tree2": major
"@fluidframework/undo-redo": major
"@fluidframework/view-adapters": major
"@fluidframework/view-interfaces": major
"@fluid-tools/webpack-fluid-loader": major
"@fluid-tools/build-cli": major
"@fluidframework/build-tools": major
"@fluidframework/bundle-size-tools": major
"@fluid-tools/version-tools": major
"@fluidframework/gitrest": major
"@fluidframework/gitrest-base": major
"@fluidframework/historian-base": major
"@fluidframework/gitresources": major
"@fluidframework/protocol-base": major
"@fluidframework/server-kafka-orderer": major
"@fluidframework/server-lambdas": major
"@fluidframework/server-lambdas-driver": major
"@fluidframework/server-local-server": major
"@fluidframework/server-memory-orderer": major
"@fluidframework/server-routerlicious": major
"@fluidframework/server-routerlicious-base": major
"@fluidframework/server-services": major
"@fluidframework/server-services-client": major
"@fluidframework/server-services-core": major
"@fluidframework/server-services-ordering-kafkanode": major
"@fluidframework/server-services-ordering-rdkafka": major
"@fluidframework/server-services-ordering-zookeeper": major
"@fluidframework/server-services-shared": major
"@fluidframework/server-services-telemetry": major
"@fluidframework/server-services-utils": major
"@fluidframework/server-test-utils": major
"@fluidframework/eslint-config-fluid": major
"@fluidframework/common-definitions": major
"@fluidframework/common-utils": major
"@fluidframework/protocol-definitions": major
"@fluid-tools/api-markdown-documenter": major
"@fluid-tools/benchmark": major
"@fluidframework/test-tools": major
"tinylicious": major
---

Upgraded typescript transpilation target to ES2020.

Upgraded typescript transpilation target to ES2020. This is done in order to decrease the bundle sizes of Fluid Framework packages. This has provided size improvements across the board for ex. Loader, Driver, Runtime etc. Reduced bundle sizes helps to load lesser code in apps and hence also helps to improve the perf.If any app wants to target any older versions of browsers with which this target version is not compatible, then they can use packages like babel to transpile to a older target.
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ api-report/ @micro
# These packages represent the primary public API of the framework.
api-report/azure-client.api.md @microsoft/fluid-cr-api
api-report/azure-service-utils.api.md @microsoft/fluid-cr-api
api-report/test-client-utils.api.md @microsoft/fluid-cr-api
api-report/fluid-framework.api.md @microsoft/fluid-cr-api
api-report/tinylicious-client.api.md @microsoft/fluid-cr-api

Expand Down
32 changes: 32 additions & 0 deletions BREAKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,29 @@ It's important to communicate breaking changes to our stakeholders. To write a g
- Avoid using code formatting in the title (it's fine to use in the body).
- To explain the benefit of your change, use the [What's New](https://fluidframework.com/docs/updates/v1.0.0/) section on FluidFramework.com.

# 2.0.0-internal.6.0.0

## 2.0.0-internal.6.0.0 Upcoming changes

## 2.0.0-internal.6.0.0 Breaking changes

- [FluidDataStoreRuntime.getChannel throws for channels that do not exist](#FluidDataStoreRuntime.getChannel-throws-for-channels-that-do-not-exist)
- [Upgraded Typescript target to ES2020](#Upgraded-Typescript-target-to-ES2020)
- [IRootSummaryTreeWithStats removed from container-runtime package](#IRootSummaryTreeWithStats-removed-from-container-runtime-package)

### FluidDataStoreRuntime.getChannel throws for channels that do not exist

Previously, calling `FluidDataStoreRuntime.getChannel(id)` for a channel that does not exist would wait for the channel to be created (possibly waiting indefinitely if never created). However, there is no safe means to dynamically create a channel in this manner without risking data corruption. The call will instead now throw for non-existent channels.

### Upgraded Typescript target to ES2020

Upgraded typescript transpilation target to ES2020. This is done in order to decrease the bundle sizes of Fluid Framework packages. This has provided size improvements across the board for ex. Loader, Driver, Runtime etc. Reduced bundle sizes helps to load lesser code in apps and hence also helps to improve the perf.
If any app wants to target any older versions of browsers with which this target version is not compatible, then they can use packages like babel to transpile to a older target.

### IRootSummaryTreeWithStats removed from container-runtime package

`IRootSummaryTreeWithStats` was the return type of `summarize` method on `ContainerRuntime`. It was an internal interface used only in `ContainerRuntime` class to to access `gcStats` from a call site. `gcStats` is not needed in the call site anymore and so, it is now removed from the container-runtime package.

# 2.0.0-internal.5.0.0

## 2.0.0-internal.5.0.0 Upcoming changes
Expand All @@ -41,6 +64,7 @@ IFluidResolvedUrl is now deprecated, all usages should move to IResolvedUrl inst
- [Container-loader deprecation removals](#Container-loader-deprecations-removals)
- [Closing Container no longer disposes](#Closing-Container-no-longer-disposes)
- [IContainer.dispose is now required](#IContainer.dispose-is-now-required)
- [ContainerRuntime.closeFn no longer disposes](#containerruntimeclosefn-no-longer-disposes)
- [ISummarizerRuntime on/off op required](#isummarizerruntime-onoff-op-required)
- [Driver param removed from appendToMergeTreeDeltaRevertibles](#Driver-param-removed-from-appendToMergeTreeDeltaRevertibles)
- [PureDataObject.getFluidObjectFromDirectory removed](#PureDataObject.getFluidObjectFromDirectory-removed)
Expand Down Expand Up @@ -110,6 +134,14 @@ Please see the [Closure](packages/loader/container-loader/README.md#Closure) sec

Please see the [Closure](packages/loader/container-loader/README.md#Closure) section of Loader README.md for more details.

### ContainerRuntime.closeFn no longer disposes

Calling `ContainerRuntime.closeFn(...)` will no longer call `ContainerContext.disposeFn(...)` as well. This means the `ContainerRuntime` will no longer be disposed by calling this method.

To achieve the `ContainerRuntime` being disposed, use the exposed `ContainerRuntime.disposeFn` method.

For more information about close vs. dispose expectations, see the [Closure](packages/loader/container-loader/README.md#Closure) section of Loader README.md.

### ISummarizerRuntime on/off op required

The `on("op")` and `off("op")` methods on `ISummarizerRuntime` are now required. These listener methods are needed to accurately run summary heuristics.
Expand Down
28 changes: 0 additions & 28 deletions api-report/container-definitions.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
```ts

import { ConnectionMode } from '@fluidframework/protocol-definitions';
import { EventEmitter } from 'events';
import { FluidObject } from '@fluidframework/core-interfaces';
import { IAnyDriverError } from '@fluidframework/driver-definitions';
Expand All @@ -24,7 +23,6 @@ import { IResolvedUrl } from '@fluidframework/driver-definitions';
import { IResponse } from '@fluidframework/core-interfaces';
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
import { ISequencedProposal } from '@fluidframework/protocol-definitions';
import { ISignalClient } from '@fluidframework/protocol-definitions';
import { ISignalMessage } from '@fluidframework/protocol-definitions';
import { ISnapshotTree } from '@fluidframework/protocol-definitions';
import { ISummaryContent } from '@fluidframework/protocol-definitions';
Expand Down Expand Up @@ -115,18 +113,6 @@ export interface IConnectionDetails {
serviceConfiguration: IClientConfiguration;
}

// @public @deprecated
export interface IConnectionDetailsInternal extends IConnectionDetails {
// @deprecated (undocumented)
initialClients: ISignalClient[];
// @deprecated (undocumented)
mode: ConnectionMode;
// @deprecated (undocumented)
reason: string;
// @deprecated (undocumented)
version: string;
}

// @public
export interface IContainer extends IEventProvider<IContainerEvents>, IFluidRouter {
attach(request: IRequest): Promise<void>;
Expand Down Expand Up @@ -179,8 +165,6 @@ export interface IContainerContext {
readonly disposed: boolean;
// (undocumented)
readonly disposeFn?: (error?: ICriticalContainerError) => void;
// @deprecated (undocumented)
readonly existing: boolean | undefined;
getAbsoluteUrl?(relativeUrl: string): Promise<string | undefined>;
// (undocumented)
getLoadedFromVersion(): IVersion | undefined;
Expand Down Expand Up @@ -246,14 +230,6 @@ export interface IContainerLoadMode {
// @public
export type ICriticalContainerError = IErrorBase;

// @public @deprecated
export interface IDeltaHandlerStrategy {
// @deprecated
process: (message: ISequencedDocumentMessage) => void;
// @deprecated
processSignal: (message: ISignalMessage) => void;
}

// @public
export interface IDeltaManager<T, U> extends IEventProvider<IDeltaManagerEvents>, IDeltaSender, IDisposable {
readonly active: boolean;
Expand Down Expand Up @@ -283,11 +259,7 @@ export interface IDeltaManagerEvents extends IEvent {
(event: "submitOp", listener: (message: IDocumentMessage) => void): any;
(event: "op", listener: (message: ISequencedDocumentMessage, processingTime: number) => void): any;
// @deprecated (undocumented)
(event: "allSentOpsAckd", listener: () => void): any;
// @deprecated (undocumented)
(event: "pong", listener: (latency: number) => void): any;
// @deprecated (undocumented)
(event: "processTime", listener: (latency: number) => void): any;
(event: "connect", listener: (details: IConnectionDetails, opsBehind?: number) => void): any;
(event: "disconnect", listener: (reason: string, error?: IAnyDriverError) => void): any;
(event: "readonly", listener: (readonly: boolean) => void): any;
Expand Down
7 changes: 1 addition & 6 deletions api-report/container-runtime.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ export class ContainerRuntime extends TypedEventEmitter<IContainerRuntimeEvents>
runGC?: boolean;
fullGC?: boolean;
runSweep?: boolean;
}): Promise<IRootSummaryTreeWithStats>;
}): Promise<ISummaryTreeWithStats>;
// (undocumented)
readonly summarizeOnDemand: ISummarizer["summarizeOnDemand"];
get summarizerClientId(): string | undefined;
Expand Down Expand Up @@ -437,11 +437,6 @@ export interface IRefreshSummaryAckOptions {
readonly summaryRefSeq: number;
}

// @public
export interface IRootSummaryTreeWithStats extends ISummaryTreeWithStats {
gcStats?: IGCStats;
}

// @public @deprecated (undocumented)
export function isRuntimeMessage(message: ISequencedDocumentMessage): boolean;

Expand Down
Loading

0 comments on commit 1fb4cb9

Please sign in to comment.