Skip to content

Commit 3dc1105

Browse files
jatgargJatin Garg
andauthored
build(client): Release notes and changelogs generation for minor release 2.42.0 (#24798)
build(client): Release notes and changelogs generation for minor release 2.42.0 --------- Co-authored-by: Jatin Garg <[email protected]>
1 parent 03ccb71 commit 3dc1105

File tree

163 files changed

+767
-41
lines changed

Some content is hidden

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

163 files changed

+767
-41
lines changed

.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.

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-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.

examples/apps/ai-collab/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# @fluid-example/ai-collab
22

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

59
Dependency updates only.

examples/apps/attributable-map/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# @fluid-example/attributable-map
22

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

59
Dependency updates only.

examples/apps/blobs/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# @fluid-example/blobs
22

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

59
Dependency updates only.

examples/apps/collaborative-textarea/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# @fluid-example/collaborative-textarea
22

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

59
Dependency updates only.

0 commit comments

Comments
 (0)