-
Notifications
You must be signed in to change notification settings - Fork 535
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Squished branch: rc3-changelogs"
This reverts commit 6f4ac71.
- Loading branch information
1 parent
6f4ac71
commit 97d68aa
Showing
172 changed files
with
285 additions
and
2,493 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
"@fluidframework/tree": "minor" | ||
--- | ||
|
||
Better events | ||
|
||
We have updated the Events to make it easier to create granular event listeners for single nodes and better support the | ||
undo/redo feature. SharedTree nodes now expose `nodeChanged` and `treeChanged` events that fire in response to changes | ||
in the node, and to changes in the subtree rooted at the node, respectively. | ||
|
||
This change was originally made in [#20286](https://github.com/microsoft/FluidFramework/pull/20286) ([ac1e773960](https://github.com/microsoft/FluidFramework/commit/ac1e7739607551abb0dae7fa74dda56aec94b609)). | ||
|
||
[Read more about SharedTree Events at fluidframework.com](https://fluidframework.com/docs/data-structures/tree/#event-handling) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"@fluidframework/container-loader": minor | ||
"@fluidframework/driver-base": minor | ||
"@fluidframework/driver-definitions": minor | ||
"@fluidframework/local-driver": minor | ||
"@fluidframework/odsp-driver": minor | ||
--- | ||
|
||
driver-definitions: update submitSignal content type to string | ||
|
||
Change IDocumentDeltaConnection.submitSignal's content argument type to string which represents actual/known use. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
"fluid-framework": major | ||
"@fluidframework/map": major | ||
--- | ||
|
||
fluid-framework: DDS classes are no longer publicly exported | ||
|
||
SharedDirectory now only exports its factory and the interface type. | ||
The actual concrete classes which leak implementation details are no longer exported. | ||
Users of the `SharedDirectory` type should use `ISharedDirectory`. | ||
|
||
Most of other internal crufts are also hided within the API surface, such as the encoded format, | ||
ILocalValue, ICreateInfo, local op metadata types, etc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
"@fluidframework/tree": "minor" | ||
--- | ||
|
||
Recursive schemas | ||
|
||
Schemas are even more powerful now with the added support for recursive types, which allows you to define types that | ||
reference nodes of the same type in their subtree. | ||
|
||
Users of the beta APIs via `SchemaFactoryRecursive` can now find them on `SchemaFactory`. | ||
|
||
[Read more about Recursive Schema at fluidframework.com](https://fluidframework.com/docs/data-structures/tree/#recursive-schema) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
"@fluidframework/tree": "minor" | ||
--- | ||
|
||
Transactions | ||
|
||
You can group multiple changes such that they are applied atomically, and if they fail, they fail atomically. As a | ||
result of grouping changes in a transaction, you also get a single revertible object making it easier to undo and redo. | ||
|
||
[Read more about Transactions at fluidframework.com](https://fluidframework.com/docs/data-structures/tree/#transactions) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"@fluidframework/tree": minor | ||
--- | ||
|
||
tree: Empty optional fields on object nodes now are undefined non-enumerable own properties instead of not a property at all. | ||
|
||
Empty optional fields on object nodes now are now undefined non-enumerable own properties. | ||
This improves behavior in cases where they shadow inherited members which no longer have types which differ from the runtime behavior. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"@fluidframework/container-definitions": major | ||
"@fluidframework/container-loader": major | ||
--- | ||
|
||
container-definitions: IContainerContext.getSpecifiedCodeDetails() removed | ||
|
||
IContainerContext.getSpecifiedCodeDetails() was deprecated in 0.42 and has now been removed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"fluid-framework": minor | ||
"@fluidframework/tree": minor | ||
--- | ||
|
||
tree: Allow root editing and make TreeView parameterized over schema. | ||
|
||
TreeView now is parameterized over the field schema instead of the root field type. This was needed to infer the correct input type when reassigning the root. | ||
Code providing an explicit type to TreeView, like `TreeView<Foo>` can usually be updated by replacing that with `TreeView<typeof Foo>`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
"fluid-framework": minor | ||
"@fluidframework/fluid-static": minor | ||
"@fluidframework/map": minor | ||
"@fluidframework/shared-object-base": minor | ||
"@fluidframework/tree": minor | ||
--- | ||
|
||
fluid-framework: Replace SharedObjectClass with new ISharedObjectKind type. | ||
|
||
The static objects used as SharedObjectClass now explicitly implement the new ISharedObjectKind type. | ||
SharedObjectClass has been removed as ISharedObjectKind now fills that role. | ||
LoadableObjectCtor has been inlined as it only had one use: an external user of it can replace it with `(new (...args: any[]) => T)`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
"@fluidframework/tree": "minor" | ||
--- | ||
|
||
Undo/Redo | ||
|
||
Added the ability to listen for changes and track revertible objects on your undo/redo stacks. Revertibles allow you to | ||
undo and redo changes even if other changes have been made in remote clients. | ||
|
||
[Read more about Undo/redo at fluidframework.com](https://fluidframework.com/docs/data-structures/tree/#undoredo-support) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
"@fluidframework/runtime-definitions": major | ||
--- | ||
|
||
runtime-definitions: IFluidDataStoreContext no longer raises events, IFluidDataStoreChannel needs to implement new method | ||
|
||
This change could be ignored, unless you have custom implementations of IFluidDataStoreChannel or listened to IFluidDataStoreContext's "attached" or "attaching" events | ||
|
||
IFluidDataStoreContext no longer raises events. Instead, it will call IFluidDataStoreChannel.setAttachState(). | ||
If you are implementing data store runtme, please implement setAttachState() API and rely on this flow. | ||
If you are not data store developer, and were reaching out to context, then please stop doing it - the only purpose of IFluidDataStoreContext is | ||
communication with IFluidDataStoreChannel. Context object should not be exposed by impplementers of IFluidDataStoreChannel. | ||
If you are using stock implementations of IFluidDataStoreChannel, you can listen for same events on IFluidDataStoreRuntime instead. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
"fluid-framework": minor | ||
--- | ||
|
||
fluid-framework: Moved SharedMap to 'fluid-framework/legacy' | ||
|
||
Please use SharedTree for new containers. SharedMap is supported for loading preexisting Fluid Framework 1.x containers only. | ||
|
||
Fluid Framework 1.x users migrating to Fluid Framework 2.x will need to import SharedMap from the './legacy' import path. | ||
|
||
```ts | ||
import { SharedMap } from "fluid-framework/legacy"; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
"@fluidframework/core-interfaces": major | ||
--- | ||
|
||
core-interfaces: Code details and package API surface removed | ||
|
||
The code details and package API surface was deprecated in @fluidframework/core-interfaces in 0.53 and has now been removed. Please import them from @fluidframework/container-definitions instead. These include: | ||
|
||
- IFluidCodeDetails | ||
- IFluidCodeDetailsComparer | ||
- IFluidCodeDetailsConfig | ||
- IFluidPackage | ||
- IFluidPackageEnvironment | ||
- IProvideFluidCodeDetailsComparer | ||
- isFluidCodeDetails | ||
- isFluidPackage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@fluid-internal/test-driver-definitions": major | ||
--- | ||
|
||
test-driver-definitions: @fluidframework/test-driver-definitions moved to @fluid-internal/test-driver-definitions | ||
|
||
The test-driver-definitions package is intended to aid in testing internal to the FluidFramework repo, and should not be used outside of the repo. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
"@fluidframework/fluid-telemetry": "major" | ||
--- | ||
|
||
New package: @fluidframework/fluid-telemetry | ||
|
||
Before deploying your application at scale, it is critical to have the holistic telemetry in place to monitor its usage | ||
and look for issues and optimizations. To make this easier, we are providing a fluid-telemetry package that comes with | ||
Typed telemetry events that you can funnel to your any analytics tool of your choice. If you decide to use Azure App | ||
Insights to view this data, we also provide helper packages and dashboard queries to get you started quickly. You can | ||
learn more at <https://aka.ms/fluid/telemetry>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"fluid-framework": minor | ||
"@fluidframework/fluid-static": minor | ||
"@fluidframework/map": minor | ||
--- | ||
|
||
fluid-framework: Make some interface members readonly | ||
|
||
Remove unneeded mutability from some interface members. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
--- | ||
"fluid-framework": "major" | ||
"@fluidframework/tool-utils": "major" | ||
"@fluidframework/telemetry-utils": "major" | ||
"@fluidframework/odsp-doclib-utils": "major" | ||
"@fluidframework/fluid-runner": "major" | ||
"@fluid-tools/fetch-tool": "major" | ||
"@fluidframework/devtools-core": "major" | ||
"@fluidframework/devtools": "major" | ||
"@fluidframework/test-utils": "major" | ||
"@fluid-internal/test-driver-definitions": "major" | ||
"@fluid-internal/mocha-test-setup": "major" | ||
"@fluidframework/tinylicious-client": "major" | ||
"@fluid-experimental/odsp-client": "major" | ||
"@fluid-experimental/odsp-end-to-end-tests": "major" | ||
"@fluidframework/azure-end-to-end-tests": "major" | ||
"@fluidframework/azure-client": "major" | ||
"@fluidframework/test-runtime-utils": "major" | ||
"@fluidframework/runtime-utils": "major" | ||
"@fluidframework/runtime-definitions": "major" | ||
"@fluidframework/id-compressor": "major" | ||
"@fluidframework/datastore-definitions": "major" | ||
"@fluidframework/datastore": "major" | ||
"@fluidframework/container-runtime-definitions": "major" | ||
"@fluidframework/container-runtime": "major" | ||
"@fluidframework/driver-utils": "major" | ||
"@fluidframework/container-loader": "major" | ||
"@fluidframework/undo-redo": "major" | ||
"@fluidframework/synthesize": "major" | ||
"@fluidframework/request-handler": "major" | ||
"@fluid-experimental/oldest-client-observer": "major" | ||
"@fluidframework/fluid-static": "major" | ||
"@fluid-experimental/dds-interceptions": "major" | ||
"@fluid-experimental/data-object-base": "major" | ||
"@fluidframework/fluid-telemetry": "major" | ||
"@fluidframework/app-insights-logger": "major" | ||
"@fluid-experimental/attributor": "major" | ||
"@fluidframework/aqueduct": "major" | ||
"@fluidframework/agent-scheduler": "major" | ||
"@fluidframework/tinylicious-driver": "major" | ||
"@fluidframework/routerlicious-urlresolver": "major" | ||
"@fluidframework/routerlicious-driver": "major" | ||
"@fluidframework/replay-driver": "major" | ||
"@fluidframework/odsp-urlresolver": "major" | ||
"@fluidframework/odsp-driver-definitions": "major" | ||
"@fluidframework/odsp-driver": "major" | ||
"@fluidframework/local-driver": "major" | ||
"@fluidframework/file-driver": "major" | ||
"@fluidframework/driver-web-cache": "major" | ||
"@fluidframework/driver-base": "major" | ||
"@fluidframework/debugger": "major" | ||
"@fluidframework/tree": "major" | ||
"@fluidframework/task-manager": "major" | ||
"@fluidframework/shared-summary-block": "major" | ||
"@fluidframework/shared-object-base": "major" | ||
"@fluidframework/sequence": "major" | ||
"@fluidframework/register-collection": "major" | ||
"@fluid-experimental/pact-map": "major" | ||
"@fluidframework/ordered-collection": "major" | ||
"@fluidframework/merge-tree": "major" | ||
"@fluidframework/matrix": "major" | ||
"@fluidframework/map": "major" | ||
"@fluid-experimental/ink": "major" | ||
"@fluidframework/counter": "major" | ||
"@fluidframework/cell": "major" | ||
"@fluidframework/driver-definitions": "major" | ||
"@fluidframework/core-utils": "major" | ||
"@fluidframework/core-interfaces": "major" | ||
"@fluidframework/container-definitions": "major" | ||
"@fluid-internal/client-utils": "major" | ||
"@fluid-experimental/last-edited": "major" | ||
"@fluid-experimental/data-objects": "major" | ||
"@fluid-experimental/tree": "major" | ||
"@fluid-experimental/sequence-deprecated": "major" | ||
"@fluid-experimental/sharejs-json1": "major" | ||
"@fluid-experimental/ot": "major" | ||
"@fluid-experimental/attributable-map": "major" | ||
"@fluid-experimental/property-shared-tree-interop": "major" | ||
"@fluid-experimental/property-query": "major" | ||
"@fluid-experimental/property-proxy": "major" | ||
"@fluid-experimental/property-properties": "major" | ||
"@fluid-experimental/property-inspector-table": "major" | ||
"@fluid-experimental/property-dds": "major" | ||
"@fluid-experimental/property-common": "major" | ||
"@fluid-experimental/property-changeset": "major" | ||
"@fluid-experimental/property-binder": "major" | ||
"@fluid-experimental/azure-scenario-runner": "major" | ||
"@fluidframework/azure-service-utils": "major" | ||
"@fluidframework/azure-local-service": "major" | ||
--- | ||
|
||
Packages now use package.json "exports" and require modern module resolution | ||
|
||
Fluid Framework packages have been updated to use the [package.json "exports" | ||
field](https://nodejs.org/docs/latest-v18.x/api/packages.html#exports) to define explicit entry points for both | ||
TypeScript types and implementation code. | ||
|
||
This means that using Fluid Framework packages require the following TypeScript settings in tsconfig.json: | ||
|
||
- `"moduleResolution": "Node16"` with `"module": "Node16"` | ||
- `"moduleResolution": "Bundler"` with `"module": "ESNext"` | ||
|
||
We recommend using Node16/Node16 unless absolutely necessary. That will produce transpiled JavaScript that is suitable | ||
for use with modern versions of Node.js _and_ Bundlers. | ||
[See the TypeScript documentation](https://www.typescriptlang.org/tsconfig#moduleResolution) for more information | ||
regarding the module and moduleResolution options. | ||
|
||
**Node10 moduleResolution is not supported; it does not support Fluid Framework's API structuring pattern that is used | ||
to distinguish stable APIs from those that are in development.** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.