Skip to content

Commit f553b51

Browse files
Changeset edits (#24893)
## Description Edit changesets for consistency before release.
1 parent d9500a4 commit f553b51

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.changeset/fuzzy-turkeys-help.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@fluidframework/driver-definitions": minor
55
"__section": breaking
66
---
7-
The reason parameter on the disconnect event is now optional to allow for clean, non-error disconnections.
7+
The reason parameter on the disconnect event is now optional to allow for clean, non-error disconnections
88

99
To enable better handling of intentional disconnects (for example [`Container.dispose()`](https://fluidframework.com/docs/api/container-loader/container/dispose)), the `reason` parameter of the `disconnect` event on [`IDocumentDeltaConnectionEvents`](https://fluidframework.com/docs/api/driver-definitions/idocumentdeltaconnectionevents) is being deprecated as a required parameter.
1010

.changeset/six-steaks-clean.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"@fluidframework/tree": minor
44
"__section": tree
55
---
6-
Rename and change type of `annotatedAllowedTypeSet` on `FieldSchemaAlpha` to more closely align with `allowedTypesSet`
6+
Rename and change type of annotatedAllowedTypeSet on FieldSchemaAlpha to more closely align with allowedTypesSet
77

88
This changes the `annotatedAllowedTypeSet` property on [`FieldSchemaAlpha`](https://fluidframework.com/docs/api/fluid-framework/fieldschemaalpha-class).
99
It is now called `annotatedAllowedTypesNormalized` and stores evaluated schemas along with their annotations in a list of objects rather than as a mapping from the schemas to their annotations. This makes the API easier to use and better aligns with the current public APIs.

.changeset/spotty-bottles-rest.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const MyContainerSchema = {
4747
const schemaFactory = new SchemaFactoryAlpha("com.example");
4848

4949
// Define metadata. This can take the shape of any JSON-serializable object.
50-
const persistedMetadata = { "a": 2 };
50+
const persistedMetadata = { a: 2 };
5151

5252
// Foo is an object type with metadata
5353
class Foo extends schemaFactory.objectAlpha("Foo", {
@@ -67,7 +67,7 @@ class Foo extends schemaFactory.objectAlpha("Foo", {
6767
const schemaFactory = new SchemaFactoryAlpha("com.example");
6868

6969
// Define metadata. This can take the shape of any JSON-serializable object.
70-
const persistedMetadata = { "a": 2 };
70+
const persistedMetadata = { a: 2 };
7171

7272
// Recursive object schema with persisted metadata
7373
class RecursiveObject extends schemaFactory.objectRecursive("RecursiveObject", {
@@ -87,7 +87,7 @@ const recursiveField = schemaFactory.optionalRecursive(
8787
const schemaFactory = new SchemaFactoryAlpha("com.example");
8888

8989
// Define metadata. This can take the shape of any JSON-serializable object.
90-
const persistedMetadata = { "a": 2 };
90+
const persistedMetadata = { a: 2 };
9191

9292
// Recursive array schema
9393
class Foos extends schemaFactory.arrayRecursive(

0 commit comments

Comments
 (0)