FluidFramework/.changeset
Craig Macomber (Microsoft) 6a75bd0616
tree: Cleanup object property tests, and fix bug (#22748)
## Description

This cleans up a section of the object node tests which used schema
types in a complicated generic way that's fragile and hard to work with.

When rewriting these tests, I focused the new ones on testing aspects
that actually have special logic and are likely to break instead of just
different value types. Thus the tests now cover the odd normalization
cases of numbers.

These tests found a couple of issues:
- unhydrated node handling of null was incorrect (see changeset)
- Some type errors were thrown for invalid user input. TO help keep it
easy to tell which errors are our bugs and which are app bugs I've made
these fluid usage errors.
- A needless check for NaN was included where the check for isFinaite
would handle it correctly (Number.isFinite considers NaNs to not be
finite: comment already calls out NaN and it has test coverage so this
seems like a safe change.)
2024-10-08 17:58:09 +00:00
..
README.md build: Config changes to accommodate @fluid-private scope (#17665) 2023-10-06 16:12:20 -07:00
clever-dancers-post.md tree: Add alpha tree configuration APIs (#22701) 2024-10-03 13:09:02 -07:00
common-jokes-press.md Tree: Add Schema export and compare APIs (#22733) 2024-10-04 23:44:42 +00:00
config.json build: Generate per-package changelogs for RC3 (#20679) 2024-04-16 08:11:46 -07:00
curvy-tables-kiss.md tree: Cleanup object property tests, and fix bug (#22748) 2024-10-08 17:58:09 +00:00
dark-circles-whine.md tree: Expose the view schema on TreeView (#22547) 2024-09-17 19:07:44 +00:00
light-rectangles-rejoice.md refactor(tree): Make properties of `FieldSchemaMetadata` readonly (#22564) 2024-09-18 21:00:24 +00:00
lucky-goats-find.md Branching APIs (#22550) 2024-09-18 16:35:17 -07:00
poor-islands-battle.md Emit events from Unhydrated SharedTree Nodes (#22661) 2024-09-27 19:51:35 -07:00
purple-hats-roll.md tree: Replace RestrictiveReadonlyRecord with RestrictiveStringRecord (#22479) 2024-09-23 20:12:05 +00:00
seven-women-pick.md tree Fix structurally named map and array creation (#22522) 2024-09-23 12:24:25 -07:00
shaggy-pens-occur.md Further MergeTree Client Legacy Deprecations (#22629) 2024-09-27 10:31:40 -07:00
small-months-heal.md Generate revertibles for commits incoming from a merge (#22644) 2024-09-26 14:49:05 -07:00
spicy-candles-smash.md Optimize anchorset and flex tree traversal (#22717) 2024-10-03 11:35:22 -07:00
witty-suits-worry.md tree: Promote schemaCreationUtilities to alpha (#20035) 2024-10-03 22:36:04 +00:00

README.md

Changesets

This folder contains changesets, which are markdown files that hold two key bits of information:

  1. a version type (following semver), and
  2. change information to be added to a changelog. You can find the full documentation for it in the changesets section of our wiki or in the official changesets documentation.

There is also a list of frequently asked questions in the wiki.

Updating changelogs from changesets

See flub generate changelog, which is built on top of @fluid-private/changelog-generator.