microsoft / FluidFramework

Library for building distributed, real-time collaborative web applications
https://fluidframework.com
MIT License
4.74k stars 536 forks source link

Support for Legacy Alpha in Build Tools #23205

Open anthony-murphy opened 5 days ago

anthony-murphy commented 5 days ago

This change adds support of an legacy-alpha export to be generated via the build-tools. This export is meant for pre-release legacy features, which do not have to abide by our legacy breaking change polices immediately. legacy-alpha features should not be used in production but can be used for testing and iteration of new features.

When this feature is used by a package, they must move all their existing @legacy exports from @alpha to @beta, as @legacy + @alpha will move to the legacy-alpha export, and @alpha + @beta will remain in the legacy export.

Here is an example of adding support to a package for legacy-alpha export: #23210

AB#25458

msfluid-bot commented 5 days ago
@fluid-example/bundle-size-tests: +245 Bytes
Metric NameBaseline SizeCompare SizeSize Diff
aqueduct.js 467.08 KB 467.11 KB +35 Bytes
azureClient.js 563.85 KB 563.9 KB +49 Bytes
connectionState.js 724 Bytes 724 Bytes No change
containerRuntime.js 263.27 KB 263.29 KB +14 Bytes
fluidFramework.js 428.71 KB 428.73 KB +14 Bytes
loader.js 134.18 KB 134.19 KB +14 Bytes
map.js 42.71 KB 42.71 KB +7 Bytes
matrix.js 150.15 KB 150.16 KB +7 Bytes
odspClient.js 530.45 KB 530.5 KB +49 Bytes
odspDriver.js 98.65 KB 98.67 KB +21 Bytes
odspPrefetchSnapshot.js 43.04 KB 43.05 KB +14 Bytes
sharedString.js 166.23 KB 166.24 KB +7 Bytes
sharedTree.js 419.17 KB 419.18 KB +7 Bytes
Total Size 3.38 MB 3.38 MB +245 Bytes

Baseline commit: abde76d8decbaf2cde8aac68b3fa061a0fe75d92

Generated by :no_entry_sign: dangerJS against e7f82da4405f133a7bd81a700263c80508eb6f02