Skip to content

Commit

Permalink
Merge branch 'main' into bt-task-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerbutler authored Jan 8, 2025
2 parents a0084c8 + 46abe82 commit c504acb
Show file tree
Hide file tree
Showing 1,705 changed files with 38,360 additions and 31,860 deletions.
11 changes: 0 additions & 11 deletions .changeset/dull-words-work.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/free-lights-start.md

This file was deleted.

13 changes: 13 additions & 0 deletions .changeset/green-readers-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@fluidframework/telemetry-utils": minor
---
---
"section": legacy
---

MockLogger has been removed from the alpha+legacy API surface

The `MockLogger` class previously exposed in the alpha+legacy API surface of `@fluidframework/telemetry-utils` has
been removed.
No replacement is provided, as this class was only intended for use in testing scenarios, and should be trivial to
re-implement in any codebase that still uses it.
24 changes: 0 additions & 24 deletions .changeset/long-hats-smile.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/new-hats-learn.md

This file was deleted.

45 changes: 45 additions & 0 deletions .changeset/nice-grapes-show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
---
"@fluidframework/merge-tree": minor
"@fluidframework/sequence": minor
---
---
"section": legacy
---

Remove deprecated Merge-Tree and SharedString ISegment members

The current ISegment interface over-exposes a number of properties which do not have an external use case, and any external usage could result in damage to the underlying merge-tree including data corruption.
[In Fluid Framework release 2.12.0 these properties and associated types were deprecated.](https://github.com/microsoft/FluidFramework/blob/main/RELEASE_NOTES/2.12.0.md#merge-tree-and-sharedstring-isegment-deprecations-23323)

The only use case that will continue to be supported is determining if a segment is removed. For this purpose we've added the free function `segmentIsRemoved(segment: ISegment): boolean`.

For example, checking if a segment is not removed would change as follows:

```diff
- if(segment.removedSeq === undefined){
+ if(!segmentIsRemoved(segment)){
```

The following properties are removed from ISegment and its implementations:

- clientId
- index
- localMovedSeq
- localRefs
- localRemovedSeq
- localSeq
- movedClientsIds
- movedSeq
- movedSeqs
- ordinal
- removedClientIds
- removedSeq
- seq
- wasMovedOnInsert

Additionally, the following types are also removed:

- IMergeNodeCommon
- IMoveInfo
- IRemovalInfo
- LocalReferenceCollection
12 changes: 12 additions & 0 deletions .changeset/quiet-days-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@fluidframework/container-runtime": minor
---
---
"section": legacy
---

Grouped batching is enabled by default and cannot be disabled

The Grouped Batching feature in the container runtime has stabilized and is now enabled by default.

The `IContainerRuntimeOptions.enableGroupedBatching` option, which allowed an application to disable grouped batching, has been removed. Grouped Batching is now considered a core part of the container runtime, and as such can no longer be disabled.
16 changes: 16 additions & 0 deletions .changeset/shy-socks-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
"@fluid-experimental/property-changeset": patch
---
---
"section": fix
---

Fix 'Error: PR-008: Trying to remove a non-existing entry' error in IndexedCollection class

The IndexedCollection class would throw the following error when applying a changeset:

```
Error: PR-008: Trying to remove a non-existing entry:
```

The underlying problem has been fixed and this error should no longer occur.
65 changes: 0 additions & 65 deletions .changeset/solid-keys-agree.md

This file was deleted.

33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/breaking_change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Breaking Change
about: Track plans for a breaking change
title: "Removal of ? in v#.#"
labels: "breaking change"
assignees: ""
---

## Broken API or pattern

<!-- Name the APIs involved specifically, etc. Examples: `IContainerRuntimeOptions.flushMode` or Calling `AzureClient.createContainer` with compatibilityMode set to "1". -->

**Preparation References**

<!-- A URL to the deprecation release notes. Alternatively, describe actions required where broken API or pattern is in use. Release notes can be found browsing https://github.com/microsoft/FluidFramework/releases. Example: [Deprecation notes](https://github.com/microsoft/FluidFramework/releases/tag/client_v2.12.0#user-content-summarizerstopreason-isummarizeeventprops-and-isummarizerevents-are-now-deprecated-23217) -->

**Packages**

<!-- A simple list of impacted packages -->

**Expected Timeline**

<!-- When you expect this API/pattern will be fully removed/unsupported. If possible, give a release version. -->

**Reminders**

<!-- Reminder: Assign this issue to somebody (see below), if you are unsure who, assign it to yourself. -->

<!-- After creating associate a PR: link a PR from test/... branch in this repo (not in a fork). -->

<!-- By filing an Issue, you are expected to comply with the Code of Conduct: https://github.com/microsoft/FluidFramework/blob/main/CODE_OF_CONDUCT.md -->

<!-- Lastly, be sure to preview your issue before saving, then remove this reminders section. Thanks! -->
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,16 @@
"fluidframework",
"handlecache",
"handletable",
"incrementality",
"injective",
"insertable",
"losslessly",
"mitigations",
"mocharc",
"multinomial",
"nonfinite",
"pseudorandomly",
"reconnections",
"Routerlicious",
"runtimes",
"snapshotlegacy",
Expand Down
Loading

0 comments on commit c504acb

Please sign in to comment.