Skip to content

Commit 691c7a9

Browse files
Sonali Deshpandesonalivdeshpande
authored andcommitted
Merge remote-tracking branch 'origin' into add-tenantid-documentid-1
2 parents 0d5b240 + 62554e4 commit 691c7a9

File tree

732 files changed

+5263
-3463
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

732 files changed

+5263
-3463
lines changed

.changeset/deep-geckos-listen.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
"@fluidframework/sequence": minor
3+
"__section": deprecation
4+
---
5+
Deprecate unnecessary and internal APIs in `ISequenceIntervalCollection` and related interval types
6+
7+
The following APIs are now deprecated and will be removed in a future release:
8+
- `IInterval.clone`
9+
- `IInterval.modify`
10+
- `IInterval.union`
11+
- `ISerializableInterval`
12+
- `SequenceInterval.clone`
13+
- `SequenceInterval.modify`
14+
- `SequenceInterval.union`
15+
- `SequenceInterval.serialize`
16+
- `SequenceInterval.addPositionChangeListeners`
17+
- `SequenceInterval.removePositionChangeListeners`
18+
19+
20+
These APIs were never intended for public use. There is no migration path, and any usage is strongly discouraged, as it may result in severe errors or data corruption. Please remove any dependencies on these APIs as soon as possible.

.changeset/eight-ears-feel.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/fruity-laws-rule.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/social-bears-deny.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

.changeset/whole-days-argue.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"fluid-framework": minor
3+
"@fluidframework/tree": minor
4+
"__section": tree
5+
---
6+
Add overrides for more instance properties in SchemaFactoryAlpha
7+
8+
[SchemaFactoryAlpha](https://fluidframework.com/docs/api/fluid-framework/schemafactoryalpha-class) provides proposed updates to several SchemaFactory APIs.
9+
It now exposes these not only for the static members but also the redundant instance properties for `leaves`, `optional`, `required` and `optionalRecursive`.
10+
11+
Additionally an alpha override for `requiredRecursive` was added to both the statics and instance properties.

RELEASE_NOTES/2.42.0.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
<!-- THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. -->
2+
3+
# Fluid Framework v2.42.0
4+
5+
## Contents
6+
7+
- [🌳 SharedTree DDS Changes](#-sharedtree-dds-changes)
8+
- [Fix Tree.key and Tree.parent for Unhydrated nodes after edits (#24708)](#fix-treekey-and-treeparent-for-unhydrated-nodes-after-edits-24708)
9+
- [Name collisions from structurally named schema now error (#24707)](#name-collisions-from-structurally-named-schema-now-error-24707)
10+
- [Defaulted identifier fields on unhydrated nodes are now enumerable (#24739)](#defaulted-identifier-fields-on-unhydrated-nodes-are-now-enumerable-24739)
11+
12+
## 🌳 SharedTree DDS Changes
13+
14+
### Fix Tree.key and Tree.parent for Unhydrated nodes after edits ([#24708](https://github.com/microsoft/FluidFramework/issues/24708))
15+
16+
In some cases, editing [Unhydrated](https://fluidframework.com/docs/api/fluid-framework/unhydrated-typealias) nodes could result in incorrect results being returned from [Tree.key](https://fluidframework.com/docs/data-structures/tree/nodes#treekey) and [Tree.parent](https://fluidframework.com/docs/data-structures/tree/nodes#treeparent). This has been fixed.
17+
18+
#### Change details
19+
20+
Commit: [`8aa5c23`](https://github.com/microsoft/FluidFramework/commit/8aa5c233e2d59f440fd9c923bca14687bb958d66)
21+
22+
Affected packages:
23+
24+
- @fluidframework/tree
25+
- fluid-framework
26+
27+
[⬆️ Table of contents](#contents)
28+
29+
### Name collisions from structurally named schema now error ([#24707](https://github.com/microsoft/FluidFramework/issues/24707))
30+
31+
It is legal to have multiple [TreeNodeSchema](https://fluidframework.com/docs/api/fluid-framework/treenodeschema-typealias) with the same name so long as they are not used together in the same tree. Using different schema with the same name when building otherwise identical [structurally named](https://fluidframework.com/docs/api/fluid-framework/schemafactory-class#schemafactory-remarks) in the same [SchemaFactory](https://fluidframework.com/docs/api/fluid-framework/schemafactory-class) is not valid, however. Previously doing this would not error, and instead return the first structurally named schema with that name. Now this case throws an informative error:
32+
33+
```typescript
34+
const factory = new SchemaFactory(undefined);
35+
class Child1 extends factory.object("Child", {}) {}
36+
class Child2 extends factory.object("Child", {}) {}
37+
38+
const a = factory.map(Child1);
39+
40+
// Throws a UsageError with the message:
41+
// "Structurally named schema collision: two schema named "Array<["Child"]>" were defined with different input schema."
42+
const b = factory.array(Child2);
43+
```
44+
45+
#### Change details
46+
47+
Commit: [`a343f04`](https://github.com/microsoft/FluidFramework/commit/a343f0498f2039e68aa11e8ede98f32391ce727d)
48+
49+
Affected packages:
50+
51+
- @fluidframework/tree
52+
- fluid-framework
53+
54+
[⬆️ Table of contents](#contents)
55+
56+
### Defaulted identifier fields on unhydrated nodes are now enumerable ([#24739](https://github.com/microsoft/FluidFramework/issues/24739))
57+
58+
Previously, there was a special case for defaulted [identifier](https://fluidframework.com/docs/api/fluid-framework/schemafactory-class#identifier-property) fields on unhydrated nodes where they were not enumerable. This special case has been removed: they are now enumerable independent of hydration status and defaulting.
59+
60+
#### Change details
61+
62+
Commit: [`3a5d0ac`](https://github.com/microsoft/FluidFramework/commit/3a5d0acfb65f93a927405241e6047c8a04c8da58)
63+
64+
Affected packages:
65+
66+
- @fluidframework/tree
67+
- fluid-framework
68+
69+
[⬆️ Table of contents](#contents)
70+
71+
### 🛠️ Start Building Today!
72+
73+
Please continue to engage with us on GitHub [Discussion](https://github.com/microsoft/FluidFramework/discussions) and [Issue](https://github.com/microsoft/FluidFramework/issues) pages as you adopt Fluid Framework!

azure/packages/azure-local-service/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# @fluidframework/azure-local-service
22

3+
## 2.42.0
4+
5+
Dependency updates only.
6+
37
## 2.41.0
48

59
Dependency updates only.

azure/packages/azure-local-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fluidframework/azure-local-service",
3-
"version": "2.42.0",
3+
"version": "2.43.0",
44
"description": "Local implementation of the Azure Fluid Relay service for testing/development use",
55
"homepage": "https://fluidframework.com",
66
"repository": {

azure/packages/azure-service-utils/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# @fluidframework/azure-service-utils
22

3+
## 2.42.0
4+
5+
Dependency updates only.
6+
37
## 2.41.0
48

59
Dependency updates only.

azure/packages/azure-service-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fluidframework/azure-service-utils",
3-
"version": "2.42.0",
3+
"version": "2.43.0",
44
"description": "Helper service-side utilities for connecting to Azure Fluid Relay service",
55
"homepage": "https://fluidframework.com",
66
"repository": {

0 commit comments

Comments
 (0)