You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release introduces two breaking changes in the TypeScript definitions. The shape of the published data.json has not changed.
Summary: The published TypeScript definitions (types.d.ts) now fully match the actual shape of the published data.json. Two existing types are now stricter.
1. source_file is now required on CompatStatement (#29041)
Previously, the CompatStatement.source_file property was optional in the TypeScript definitions, even though it is always present in published data.json releases (it is generated at build time).
Now, source_file is typed as required, matching the actual shape of the data.
Impact: You may need to remove checks for a missing source_file (e.g. if (compat.source_file)).
2. BrowserStatement.upstream is narrowed to UpstreamBrowserName (#29041)
Previously, the BrowserStatement.upstream property was typed as BrowserName, allowing any of the 17 known browser keys.
Now, upstream is typed as the new UpstreamBrowserName, a subset of BrowserName containing only the browsers that other browsers actually derive from: "chrome" | "chrome_android" | "firefox" | "safari" | "safari_ios".
Impact: You may need to widen the type when passing upstream into functions expecting a full BrowserName, or switch on the narrower set.
Statistics
2 contributors have changed 91 files with 1,681 additions and 784 deletions in 1 commit (v7.3.17...v8.0.0)
b76220 Reconcile Safari Reporting-Endpointsdefault data (#29720)
Safari doesn't support any of the report types that are known to use default, so I don't think Safari actually does anything with default. This also reconciles the support data with api.ReportingObserver.ReportingObserver.options_parameter.types_property.deprecation.
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated Packages