Skip to content

Commit

Permalink
Automation: main-next integrate
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerbutler committed Dec 13, 2023
2 parents ef49d00 + 3698ee6 commit 9a451d4
Show file tree
Hide file tree
Showing 230 changed files with 4,809 additions and 1,313 deletions.
11 changes: 0 additions & 11 deletions .changeset/brown-roses-drive.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/cool-goats-open.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/happy-pens-lie.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/loose-comics-wonder.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/lovely-stave-squad.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/smol-kittens-blep.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/soft-taxis-thank.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/spicy-laws-pick.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/swift-geese-tap.md

This file was deleted.

18 changes: 0 additions & 18 deletions .changeset/wet-bees-scream.md

This file was deleted.

75 changes: 75 additions & 0 deletions RELEASE_NOTES/2.0.0-internal.7.4.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<!-- THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -->

# Upcoming changes in Fluid Framework v2.0.0-internal.7.4.0

## container-runtime: (GC) Tombstoned objects will fail to load by default

Previously, Tombstoned objects would only trigger informational logs by default, with an option via config to also cause errors to be thrown on load. Now, failure to load is the default with an option to disable it if necessary. This reflects the purpose of the Tombstone stage which is to mimic the user experience of objects being deleted.

## container-runtime/runtime-definitions: `IdCompressor` and related types deprecated

`IdCompressor` and related types from the @fluidframework/container-runtime and @fluidframework/runtime-definitions packages have been deprecated. They can now be found in a new package, @fluidframework/id-compressor.

The `IdCompressor` class is deprecated even in the new package. Consumers should use the interfaces, `IIdCompressor` and `IIdCompressorCore`, in conjunction with the factory function `createIdCompressor` instead.

## telemetry-utils: Deprecate ConfigTypes and IConfigProviderBase

The types `ConfigTypes` and `IConfigProviderBase` have been deprecated in the @fluidframework/telemetry-utils package. The types can now be found in the @fluidframework/core-interfaces package. Please replace any uses with the types from @fluidframework/core-interfaces.

## telemetry-utils: Deprecated logIfFalse

This functionality was not intended for export and will be removed in a future release. No replacement API is offered because the logic is trivial to reproduce as needed.

## sequence: Deprecated findOverlappingIntervals API

The `findOverlappingIntervals` API from `IntervalCollection` has been deprecated. This functionality is moved to the `OverlappingIntervalsIndex`. Users should independently attach the index to the collection and utilize the API accordingly, for instance:

```typescript
const overlappingIntervalsIndex = createOverlappingIntervalsIndex(sharedString);
collection.attachIndex(overlappingIntervalsIndex);
const result = overlappingIntervalsIndex.findOverlappingIntervals(start, end);
```

## sequence: Deprecated previousInterval and nextInterval APIs

The `previousInterval` and `nextInterval` APIs from `IntervalCollection` have been deprecated. These functions are moved to the `EndpointIndex`. Users should independently attach the index to the collection and utilize the API accordingly, for instance:

```typescript
const endpointIndex = createEndpointIndex(sharedString);
collection.attachIndex(endpointIndex);

const result1 = endpointIndex.previousInterval(pos);
const result2 = endpointIndex.nextInterval(pos);
```

## sequence: Deprecated ICombiningOp, PropertiesRollback.Rewrite, and SharedString.annotateMarkerNotifyConsensus

The `ICombiningOp` and its usage in various APIs has been deprecated. APIs affected include `SharedSegmentSequence.annotateRange` and `SharedString.annotateMarker`. `SharedString.annotateMarkerNotifyConsensus` has also been deprecated, because it is related to combining ops. This functionality had no test coverage and was largely unused.

## sequence: `change` and `changeProperties` are now a single method

Instead of having two separate methods to change the endpoints of an interval and the properties, they have been combined into a single method that will change the endpoints, properties, or both, depending on the arguments passed in. The signature of this combined method is now updated as well.

The new way to use the change method is to call it with an interval id as the first parameter and an object containing the desired portions of the interval to update as the second parameter. For the object parameter, the `endpoints` field should be an object containing the new `start` and `end` values for the interval, and the `properties` field should be an object containing the new properties for the interval. Either the `endpoints` field or the `properties` field can be omitted, and if neither are present, `change` will return `undefined`.

The new usage of the change method is as follows:

Change interval endpoints: `change(id, { endpoints: { start: 1, end: 4 } });`

Change interval properties: `change(id { props: { a: 1 } });`

Change interval endpoints and properties: `change(id, { endpoints: { start: 1, end: 4 }, props: { a: 1 } });`

## aqueduct: Deprecated IRootDataObjectFactory

The `IRootDataObjectFactory` interface has been deprecated and will be removed in a future major release. Please remove all usage of it.

## azure-client: Deprecated FluidStatic Classes

Several FluidStatic classes were unnecessarily exposed. They have been replaced with creation functions. This helps us keep implementations decoupled from usage which is easier to maintain and extend. It has very minimal impact on the public surface area of downstream packages. The deprecated classes are as follows:

- `AzureAudience` (use `IAzureAudience` instead)
- `TinyliciousAudience` (use `ITinyliciousAudience` instead)
- `DOProviderContainerRuntimeFactory`
- `FluidContainer`
- `ServiceAudience`
16 changes: 16 additions & 0 deletions azure/packages/azure-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @fluidframework/azure-client

## 2.0.0-internal.7.4.0

### Minor Changes

- azure-client: Deprecated FluidStatic Classes ([#18402](https://github.com/microsoft/FluidFramework/issues/18402)) [589ec39de5](https://github.com/microsoft/FluidFramework/commits/589ec39de52116c7f782319e6f6aa61bc5aa9964)

Several FluidStatic classes were unnecessarily exposed. They have been replaced with creation functions. This helps us
keep implementations decoupled from usage which is easier to maintain and extend. It has very minimal impact on the
public surface area of downstream packages. The deprecated classes are as follows:

- `AzureAudience` (use `IAzureAudience` instead)
- `TinyliciousAudience` (use `ITinyliciousAudience` instead)
- `DOProviderContainerRuntimeFactory`
- `FluidContainer`
- `ServiceAudience`

## 2.0.0-internal.7.3.0

Dependency updates only.
Expand Down
4 changes: 4 additions & 0 deletions azure/packages/azure-local-service/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @fluidframework/azure-local-service

## 2.0.0-internal.7.4.0

Dependency updates only.

## 2.0.0-internal.7.3.0

Dependency updates only.
Expand Down
4 changes: 4 additions & 0 deletions azure/packages/azure-service-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @fluidframework/azure-service-utils

## 2.0.0-internal.7.4.0

Dependency updates only.

## 2.0.0-internal.7.3.0

Dependency updates only.
Expand Down
4 changes: 4 additions & 0 deletions azure/packages/external-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @fluid-example/app-integration-external-controller

## 2.0.0-internal.7.4.0

Dependency updates only.

## 2.0.0-internal.7.3.0

Dependency updates only.
Expand Down
4 changes: 4 additions & 0 deletions azure/packages/test/end-to-end-tests/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @fluidframework/azure-end-to-end-tests

## 2.0.0-internal.7.4.0

Dependency updates only.

## 2.0.0-internal.7.3.0

Dependency updates only.
Expand Down
4 changes: 4 additions & 0 deletions azure/packages/test/scenario-runner/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# @fluid-experimental/azure-scenario-runner

## 2.0.0-internal.7.4.0

Dependency updates only.

## 2.0.0-internal.7.3.0

Dependency updates only.
Expand Down
8 changes: 7 additions & 1 deletion common/build/build-common/tsc-multi.esm.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"targets": [
{ "extname": ".mjs", "module": "ESNext", "moduleResolution": "node10", "outDir": "./lib" }
{
"extname": ".mjs",
"rewriteDtsImports": true,
"module": "ESNext",
"moduleResolution": "Node16",
"outDir": "./lib"
}
],
"projects": ["tsconfig.json"]
}
4 changes: 2 additions & 2 deletions common/build/build-common/tsconfig.esm.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "Node10",
"module": "Node16",
"moduleResolution": "Node16",
},
}
10 changes: 9 additions & 1 deletion common/lib/protocol-definitions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,15 @@

## [3.1.0](https://github.com/microsoft/FluidFramework/releases/tag/protocol-definitions_v3.1.0)

`ISequencedDocumentMessage` properties `compression` and `expHash1` are deprecated. They have been extracted into a separate interface `ISequencedDocumentMessageExperimental` and should be used from there instead.
### Deprecated properties on ISequencedDocumentMessage

`ISequencedDocumentMessage` properties `compression` and `expHash1` are deprecated. They have been extracted into a
separate interface `ISequencedDocumentMessageExperimental` and should be used from there instead.

### Package now works properly with TypeScript's node16 moduleResolution

The package now has an "exports" field in its package.json so node16 moduleResolution will work
for both CJS and ESM.

## [3.0.0](https://github.com/microsoft/FluidFramework/releases/tag/protocol-definitions_v3.0.0)

Expand Down
Loading

0 comments on commit 9a451d4

Please sign in to comment.