Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(tree): rename getAllowedContentIncompatibilities to getAllow… #7

Open
wants to merge 87 commits into
base: normalize-to-forbidden
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
533de79
feat(build-tools): Add generate:node10Entrypoints command (#22937)
sonalideshpandemsft Nov 1, 2024
ebfbfaa
(docs): add compile time braces around parameter (#22963)
zhenmichael Nov 1, 2024
18a23e8
tree: Import / Export APIs and demo (#22566)
CraigMacomber Nov 1, 2024
5bea3f1
Update to React18 APIs for separate-container example (#22956)
ChumpChief Nov 4, 2024
3340e52
[bump] build-tools: 0.50.0 => 0.51.0 (minor) (#22971)
tylerbutler Nov 4, 2024
47a42fc
Skip summarize e2e test for r11s (#22961)
kian-thompson Nov 4, 2024
621aed6
refactor(build-infrastructure): Rename FluidRepo to BuildProject (#22…
tylerbutler Nov 4, 2024
4488bcb
feat(build-infrastructure): Add setVersion API (#22919)
tylerbutler Nov 4, 2024
80ed028
Add refreshed SharedTree alpha branching API (#22970)
noencke Nov 4, 2024
6096657
fix(client-presence): ISessionClient naming consistency (#22973)
jason-ha Nov 4, 2024
fd6ce8b
build(client): Generate release notes for 2.5.0 release (#22965)
tylerbutler Nov 5, 2024
fa035e0
build(client): Tag asserts for release 2.5.0 (#22975)
jatgarg Nov 5, 2024
54f2a18
build(client): changelog generation for minor release 2.5.0 (#22976)
jatgarg Nov 5, 2024
1197126
Bump client minor 2.10.0 (#22978)
jatgarg Nov 5, 2024
2ccf16a
improvement(release): Simplify code with a map instead of a switch st…
tylerbutler Nov 5, 2024
a475dc4
build(build-cli): Upgrade @rushstack/node-core-library to 5.x (#22915)
tylerbutler Nov 5, 2024
d7658b5
build(eslint-config-fluid): Upgrade deps to latest semver-compatible …
tylerbutler Nov 5, 2024
0b57176
build(client): Update build-tools to latest release 0.50.0 (#22974)
tylerbutler Nov 5, 2024
75937e1
build(client, build-tools): Bump Biome to 1.9.4 (lockfile only) (#22908)
tylerbutler Nov 5, 2024
e51c94d
feat(tree): adds a `changed` event on `TreeBranchEvents` (#22977)
jenn-le Nov 5, 2024
7abf5cf
fix(gitrest): Handle FileSystem Errors in HTTP Responses (#22986)
znewton Nov 5, 2024
468164d
Fix type test generation issues (#22989)
CraigMacomber Nov 5, 2024
99fbaf4
build(client): Update typetests after minor release 2.5.0 (#22983)
jatgarg Nov 5, 2024
2aa0b5e
MergeTree `Client` Legacy API Removed (#22697)
anthony-murphy Nov 5, 2024
e3ae396
doc(tree): move merge semantics doc to user-facing folder (#22988)
yann-achard-MS Nov 6, 2024
a909e19
(ci): update pattern matching in perch benchmark install (#22995)
zhenmichael Nov 6, 2024
c6453cb
Update sample screenshots for devtools extension browser store pages …
Josmithr Nov 6, 2024
00062eb
Disable stashed ops tests (#23000)
scarlettjlee Nov 6, 2024
760afc7
refactor(local-server-tests): Clean-up dependencies (#22984)
alexvy86 Nov 6, 2024
0b158c8
ci: Update upload/download artifact actions to v4 latest (#23001)
tylerbutler Nov 6, 2024
85d0e82
(ci): update pattern matching for perf benchmark install (#23009)
zhenmichael Nov 6, 2024
d252af5
ContainerRuntime: Remove the contents property of batchBegin/batchEnd…
markfields Nov 6, 2024
0a2c31f
build(client): Add release notes section for legacy API changes (#23003)
tylerbutler Nov 6, 2024
aae7184
Update changeset from PR#22791 (#23015)
kian-thompson Nov 6, 2024
0a66346
refactor: Remove TreeArrayNodeBase (#22998)
CraigMacomber Nov 6, 2024
b70e394
fix(ci): Fix pattern so the Performance Benchmarks pipeline doesn't c…
alexvy86 Nov 7, 2024
7a03253
Unsupported Merge-Tree Types and Exposures Removed (#22696)
anthony-murphy Nov 7, 2024
168db7e
refactor(telemetry-utils): Remove deprecated internal type (#23019)
alexvy86 Nov 7, 2024
0cb597e
Update to React18 APIs for separate-container example tests (#23018)
ChumpChief Nov 7, 2024
25935ec
build(eslint-config-fluid): Add no-unchecked-record-access to minimal…
RishhiB Nov 7, 2024
8d47008
feat: Add compareHandle (#22997)
CraigMacomber Nov 7, 2024
713f4e1
refactor(eslint-config-fluid): Disable formatting-related rules (#22959)
tylerbutler Nov 7, 2024
45a5769
Remove deprecated inbound and outbound queues on IDeltaManager (#22282)
jatgarg Nov 7, 2024
365c5c0
improvement(client-presence): move `PresenceStates` entries under `pr…
jason-ha Nov 7, 2024
99d6b8c
fix(eslint-plugin-fluid): no-unchecked-record-access should catch pro…
RishhiB Nov 7, 2024
509d6a1
Add changeset for removing the inbound and outbound queues on IDeltaM…
jatgarg Nov 7, 2024
cd3bd91
remove(docs): Remove unused draft documents (#23025)
Josmithr Nov 7, 2024
412923b
improvement(eslint-config-fluid): Better support our existing test pa…
Josmithr Nov 7, 2024
6085ff4
Reenable skipped migration test (#22987)
ChumpChief Nov 8, 2024
abba260
(build-tools): setDependencyRange function (#22944)
zhenmichael Nov 8, 2024
b25db00
chore(build-tools): Update release group changelog (#22972)
tylerbutler Nov 8, 2024
610d942
Ai collab explicit (#22836)
seanimam Nov 8, 2024
04a3314
improvement(client-presence): make `events` private (#23029)
jason-ha Nov 8, 2024
935c7e7
[AFR Ask] Send the reason when making getDeltas calls (#22821)
MarioJGMsoft Nov 8, 2024
32ff6b9
refactor(telemetry-utlis): Make MockLogger internal (#23010)
alexvy86 Nov 8, 2024
8f74d00
refactor(tree): rename getAllowedContentIncompatibilities to getAllow…
Nov 6, 2024
ed87f54
build: Update some dependencies on `@fluidframework/eslint-config-flu…
Josmithr Nov 8, 2024
8367272
Adjust missed rename
Nov 8, 2024
bb64a8e
fix(tree): Resolve several inconsistencies in allowsRepoSuperset and …
Abe27342 Nov 8, 2024
aa84db1
Update internal SharedTree types to use the `.events` pattern (#23038)
noencke Nov 8, 2024
92515fa
refactor(tree): Promote eslint config from minimal base (deprecated) …
Josmithr Nov 9, 2024
d1ba184
docs: Add more ImplicitAllowedTypes docs (#23045)
CraigMacomber Nov 9, 2024
5405422
docs: More scope docs (#23026)
CraigMacomber Nov 9, 2024
25913c7
Revert "refactor(telemetry-utlis): Make MockLogger internal" (#23035)
alexvy86 Nov 11, 2024
9f60ea3
docs(tree): fix broken link (#23047)
yann-achard-MS Nov 11, 2024
3c27751
docs(client-presence): SessionClientStatus Docs (#23008)
WillieHabi Nov 11, 2024
f3eeaf1
Repro stashed upload blob issue when processing reuploaded blob (#22981)
dannimad Nov 11, 2024
5156eb4
Odsp create new module (#23049)
anthony-murphy Nov 11, 2024
c9697ec
Save obliterate sequence number on zero-length obliterates (#23011)
titrindl Nov 11, 2024
e0e9c89
refactor(build-tools): Replace chalk with picocolors (#23034)
tylerbutler Nov 11, 2024
c59225d
Add `off()` method to Listenable event interface (#23046)
noencke Nov 12, 2024
c7730cc
fix(client-presence): export SessionClientStatus type and constant (#…
WillieHabi Nov 12, 2024
66d3bd4
Disable no-unchecked-record-access for client (#23071)
RishhiB Nov 12, 2024
c699aee
Improve summary documentation (#23036)
tyler-cai-microsoft Nov 12, 2024
3b51758
Fix race condition while establishing connection due to multiplexing …
jatgarg Nov 12, 2024
cc3fb6d
chore(tree): Simplify getAllowedContentIncompatibilities output (#23041)
Abe27342 Nov 12, 2024
861bc29
Moves fluid-experimental/ai-collab package to the fluidframework/ai-c…
seanimam Nov 13, 2024
0185a08
feat: Allow recursive maps from objects (#23070)
CraigMacomber Nov 13, 2024
cc41c41
Revert "Fix race condition while establishing connection due to multi…
alexvy86 Nov 13, 2024
d48c3b8
Add missing eslint warns for no-unchecked-record-access (#23074)
RishhiB Nov 13, 2024
2427fe3
Refactor TreeNodeKernel to make undemanded node case explicit (#23076)
noencke Nov 13, 2024
c7d9c18
docs(tree): merge semantics docs for each node kind (#23040)
yann-achard-MS Nov 13, 2024
db9f29e
docs: Improve chunk comments (#23080)
CraigMacomber Nov 13, 2024
952e805
PropertiesManager Update to Support SharedString DDS annotateAdjustRa…
anthony-murphy Nov 13, 2024
c4ef138
docs(devtools-browser-extension): Update image assets for the devtool…
Josmithr Nov 13, 2024
3aff19a
Remove back-compat code related to the op reentry checks (#22842)
MarioJGMsoft Nov 14, 2024
6af0f8e
merge main
Nov 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
34 changes: 0 additions & 34 deletions .changeset/clever-birds-wear.md

This file was deleted.

29 changes: 0 additions & 29 deletions .changeset/few-cobras-sing.md

This file was deleted.

34 changes: 34 additions & 0 deletions .changeset/fifty-showers-divide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
"fluid-framework": minor
"@fluidframework/merge-tree": minor
"@fluidframework/sequence": minor
---
---
"section": deprecation
---

Unsupported merge-tree types and related exposed internals have been removed

As part of ongoing improvements, several internal types and related APIs have been removed. These types are unnecessary for any supported scenarios and could lead to errors if used. Since directly using these types would likely result in errors, these changes are not likely to impact any Fluid Framework consumers.

Removed types:
- IMergeTreeTextHelper
- MergeNode
- ObliterateInfo
- PropertiesManager
- PropertiesRollback
- SegmentGroup
- SegmentGroupCollection

In addition to removing the above types, they are no longer exposed through the following interfaces and their implementations: `ISegment`, `ReferencePosition`, and `ISerializableInterval`.

Removed functions:
- addProperties
- ack

Removed properties:
- propertyManager
- segmentGroups

The initial deprecations of the now changed or removed types were announced in Fluid Framework v2.2.0:
[Fluid Framework v2.2.0](https://github.com/microsoft/FluidFramework/blob/main/RELEASE_NOTES/2.2.0.md)
14 changes: 0 additions & 14 deletions .changeset/floppy-forks-attack.md

This file was deleted.

10 changes: 10 additions & 0 deletions .changeset/fruity-sites-boil.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@fluidframework/runtime-definitions": minor
---
---
"section": other
---

Changes to the batchBegin and batchEnd events on ContainerRuntime

The 'batchBegin'/'batchEnd' events on ContainerRuntime indicate when a batch is beginning or finishing being processed. The `contents` property on the event argument `op` is not useful or relevant when reasoning over incoming changes at the batch level. Accordingly, it has been removed from the `op` event argument.
13 changes: 0 additions & 13 deletions .changeset/hot-falcons-grab.md

This file was deleted.

14 changes: 14 additions & 0 deletions .changeset/icy-webs-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
"@fluidframework/container-runtime": minor
"@fluidframework/runtime-definitions": minor
"@fluidframework/test-runtime-utils": minor
---
---
"section": legacy
---

"Remove `IFluidParentContext.ensureNoDataModelChanges` and its implementations

- `IFluidParentContext.ensureNoDataModelChanges` has been removed. [prior deprecation commit](https://github.com/microsoft/FluidFramework/commit/c9d156264bdfa211a3075bdf29cde442ecea234c)

- `MockFluidDataStoreContext.ensureNoDataModelChanges` has also been removed.
58 changes: 0 additions & 58 deletions .changeset/lazy-onions-know.md

This file was deleted.

10 changes: 10 additions & 0 deletions .changeset/loud-lemons-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@fluidframework/runtime-utils": minor
---
---
"section": feature
---

New compareFluidHandle function for comparing FluidHandles

The new `compareFluidHandle` function has been added to allow comparing handles without having to inspect their internals.
27 changes: 27 additions & 0 deletions .changeset/lovely-taxis-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
"fluid-framework": minor
"@fluidframework/tree": minor
---
---
"section": tree
---

SharedTree event listeners that implement `Listenable` now allow deregistration of event listeners via an `off()` function.

The ability to deregister events via a callback returned by `on()` remains the same.
Both strategies will remain supported and consumers of SharedTree events may choose which method of deregistration they prefer in a given instance.

```typescript
// The new behavior
function deregisterViaOff(view: TreeView<MySchema>): {
const listener = () => { /* ... */ };
view.events.on("commitApplied", listener); // Register
view.events.off("commitApplied", listener); // Deregister
}

// The existing behavior (still supported)
function deregisterViaCallback(view: TreeView<MySchema>): {
const off = view.events.on("commitApplied", () => { /* ... */ }); // Register
off(); // Deregister
}
```
26 changes: 26 additions & 0 deletions .changeset/moody-flies-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
"fluid-framework": minor
"@fluidframework/tree": minor
---
---
"section": tree
---

Allow constructing recursive maps from objects

Previously only non-recursive maps could be constructed from objects.
Now all maps nodes can constructed from objects:

```typescript
class MapRecursive extends sf.mapRecursive("Map", [() => MapRecursive]) {}
{
type _check = ValidateRecursiveSchema<typeof MapRecursive>;
}
// New:
const fromObject = new MapRecursive({ x: new MapRecursive() });
// Existing:
const fromIterator = new MapRecursive([["x", new MapRecursive()]]);
const fromMap = new MapRecursive(new Map([["x", new MapRecursive()]]));
const fromNothing = new MapRecursive();
const fromUndefined = new MapRecursive(undefined);
```
14 changes: 0 additions & 14 deletions .changeset/neat-lights-worry.md

This file was deleted.

32 changes: 32 additions & 0 deletions .changeset/nice-flies-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
"@fluidframework/aqueduct": minor
"@fluidframework/container-definitions": minor
"@fluidframework/container-loader": minor
"@fluidframework/container-runtime": minor
"@fluidframework/container-runtime-definitions": minor
"@fluidframework/datastore": minor
"@fluidframework/devtools-core": minor
"@fluidframework/fluid-static": minor
"@fluidframework/runtime-definitions": minor
"@fluidframework/runtime-utils": minor
"@fluid-private/test-end-to-end-tests": minor
"@fluidframework/test-runtime-utils": minor
"@fluidframework/test-utils": minor
---
---
"section": legacy
---

The inbound and outbound properties have been removed from IDeltaManager

The inbound and outbound properties were [deprecated in version 2.0.0-rc.2.0.0](https://github.com/microsoft/FluidFramework/blob/main/RELEASE_NOTES/2.0.0-rc.2.0.0.md#container-definitions-deprecate-ideltamanagerinbound-and-ideltamanageroutbound) and have been removed from `IDeltaManager`.

`IDeltaManager.inbound` contained functionality that could break core runtime features such as summarization and processing batches if used improperly. Data loss or corruption could occur when `IDeltaManger.inbound.pause()` or `IDeltaManager.inbound.resume()` were called.

Similarly, `IDeltaManager.outbound` contained functionality that could break core runtime features such as generation of batches and chunking. Data loss or corruption could occur when `IDeltaManger.inbound.pause()` or `IDeltaManager.inbound.resume()` were called.

#### Alternatives

- Alternatives to `IDeltaManager.inbound.on("op", ...)` are `IDeltaManager.on("op", ...)`
- Alternatives to calling `IDeltaManager.inbound.pause`, `IDeltaManager.outbound.pause` for `IContainer` disconnect use `IContainer.disconnect`.
- Alternatives to calling `IDeltaManager.inbound.resume`, `IDeltaManager.outbound.resume` for `IContainer` reconnect use `IContainer.connect`.
30 changes: 30 additions & 0 deletions .changeset/rude-views-bake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
"fluid-framework": minor
"@fluidframework/merge-tree": minor
"@fluidframework/sequence": minor
---
---
"section": legacy
---

MergeTree `Client` Legacy API Removed

The `Client` class in the merge-tree package has been removed. Types that directly or indirectly expose the merge-tree `Client` class have also been removed.

The removed types were not meant to be used directly, and direct usage was not supported:

- AttributionPolicy
- IClientEvents
- IMergeTreeAttributionOptions
- SharedSegmentSequence
- SharedStringClass

Some classes that referenced the `Client` class have been transitioned to interfaces. Direct instantiation of these classes was not supported or necessary for any supported scenario, so the change to an interface should not impact usage. This applies to the following types:

- SequenceInterval
- SequenceEvent
- SequenceDeltaEvent
- SequenceMaintenanceEvent

The initial deprecations of the now changed or removed types were announced in Fluid Framework v2.4.0:
[Several MergeTree Client Legacy APIs are now deprecated](https://github.com/microsoft/FluidFramework/blob/main/RELEASE_NOTES/2.4.0.md#several-mergetree-client-legacy-apis-are-now-deprecated-22629)
Loading