The Network tab in the UI mode and trace viewer has several nice improvements:
filtering by asset type and URL
better display of query string parameters
preview of font assets
Credit to @kubajanik for these wonderful improvements!
--tsconfig CLI option
By default, Playwright will look up the closest tsconfig for each imported file using a heuristic. You can now specify a single tsconfig file in the command line, and Playwright will use it for all imported files, not only test files:
# Pass a specific tsconfig
npx playwright test --tsconfig tsconfig.test.json
test('query params', async ({ request }) => {
const searchParams = new URLSearchParams();
searchParams.set('userId', 1);
const response = await request.get(
'https://jsonplaceholder.typicode.com/posts',
{
params: searchParams // or as a string: 'userId=1'
}
);
// ...
});
Miscellaneous
The mcr.microsoft.com/playwright:v1.47.0 now serves a Playwright image based on Ubuntu 24.04 Noble.
To use the 22.04 jammy-based image, please use mcr.microsoft.com/playwright:v1.47.0-jammy instead.
The :latest tag for Playwright Docker images is no longer being published. Pin to a specific version for better stability and reproducibility.
TLS client certificates can now be passed from memory by passing cert and key as buffers instead of file paths.
Attachments with a text/html content type can now be opened in a new tab in the HTML report. This is useful for including third-party reports or other HTML content in the Playwright test report and distributing it to your team.
For Server islands Astro creates a cryptography key in order to hash props for the islands, preventing accidental leakage of secrets.
If you deploy to an environment with rolling updates then there could be multiple instances of your app with different keys, causing potential key mismatches.
To fix this you can now pass the ASTRO_KEY environment variable to your build in order to reuse the same key.
To generate a key use:
astro create-key
This will print out an environment variable to set like:
For Server islands Astro creates a cryptography key in order to hash props for the islands, preventing accidental leakage of secrets.
If you deploy to an environment with rolling updates then there could be multiple instances of your app with different keys, causing potential key mismatches.
To fix this you can now pass the ASTRO_KEY environment variable to your build in order to reuse the same key.
To generate a key use:
astro create-key
This will print out an environment variable to set like:
To install Sass 1.78.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
The meta.feature-exists function is now deprecated. This deprecation is named feature-exists.
Fix a crash when using @at-root without any queries or children in the indented syntax.
JS API
Backport the deprecation options (fatalDeprecations, futureDeprecations, and silenceDeprecations) to the legacy JS API. The legacy JS API is itself deprecated, and you should move off of it if possible, but this will allow users of bundlers and other tools that are still using the legacy API to still control deprecation warnings.
Fix a bug where accessing SourceSpan.url would crash when a relative URL was passed to the Sass API.
Embedded Sass
Explicitly expose a sass executable from the sass-embedded npm package. This was intended to be included in 1.63.0, but due to the way platform-specific dependency executables are installed it did not work as intended. Now users can run npx sass for local installs or just sass when sass-embedded is installed globally.
Add linux-riscv64, linux-musl-riscv64, and android-riscv64 support for the sass-embedded npm package.
Fix an edge case where the Dart VM could hang when shutting down when requests were in flight.
Fix a race condition where the embedded host could fail to shut down if it was closed around the same time a new compilation was started.
Fix a bug where parse-time deprecation warnings could not be controlled by the deprecation options in some circumstances.
The meta.feature-exists function is now deprecated. This deprecation is
named feature-exists.
Fix a crash when using @at-root without any queries or children in the
indented syntax.
JS API
Backport the deprecation options (fatalDeprecations, futureDeprecations,
and silenceDeprecations) to the legacy JS API. The legacy JS API is itself
deprecated, and you should move off of it if possible, but this will allow
users of bundlers and other tools that are still using the legacy API to
still control deprecation warnings.
Fix a bug where accessing SourceSpan.url would crash when a relative URL was
passed to the Sass API.
Embedded Sass
Explicitly expose a sass executable from the sass-embedded npm package.
This was intended to be included in 1.63.0, but due to the way
platform-specific dependency executables are installed it did not work as
intended. Now users can run npx sass for local installs or just sass when
sass-embedded is installed globally.
Add linux-riscv64, linux-musl-riscv64, and android-riscv64 support for the
sass-embedded npm package.
Fix an edge case where the Dart VM could hang when shutting down when requests
were in flight.
Fix a race condition where the embedded host could fail to shut down if it was
closed around the same time a new compilation was started.
Fix a bug where parse-time deprecation warnings could not be controlled by
the deprecation options in some circumstances.
Commits
90a70ef Fix failing double check test for sass-parser (#2330)
b1d5f98 Backport deprecation API to legacy JS API (#2293)
#12556f3202b Thanks @Fryuni! - Adds support for server-rendered Starlight pages.
When building a project with hybrid or server output mode, a new prerender option on Starlight config can be set to false to make all Starlight pages be rendered on-demand:
#2242756e85e Thanks @delucis! - Refactors the logic for persisting and restoring sidebar state across navigations for better performance on slow or busy devices
#12556f3202b Thanks @Fryuni! - Improves performance of computing the last updated times from Git history.
Instead of executing git for each docs page, it is now executed twice regardless of the number of pages.
#12556f3202b Thanks @Fryuni! - Fixes last updated times on projects with custom srcDir
#22815062d30 Thanks @HiDeoo! - Fixes a potential text rendering issue that could include extra whitespaces for text containing colons.
#227962d59e2 Thanks @HiDeoo! - Fixes an issue with frontmatter schemas containing collection references used with the <StarlightPage /> component and an Astro version greater than 4.14.0.
#2303f92791a Thanks @delucis! - Fixes resolution for the internal module Git virtual module in projects with special characters in the file path
0.27.0
Minor Changes
#12556f3202b Thanks @Fryuni! - Adds support for server-rendered Starlight pages.
When building a project with hybrid or server output mode, a new prerender option on Starlight config can be set to false to make all Starlight pages be rendered on-demand:
#2242756e85e Thanks @delucis! - Refactors the logic for persisting and restoring sidebar state across navigations for better performance on slow or busy devices
#12556f3202b Thanks @Fryuni! - Improves performance of computing the last updated times from Git history.
Instead of executing git for each docs page, it is now executed twice regardless of the number of pages.
#12556f3202b Thanks @Fryuni! - Fixes last updated times on projects with custom srcDir
Prevents bugs where errors without the .received props would through and cause builds to fail unnecessarily.
0.26.3
Patch Changes
#22815062d30 Thanks @HiDeoo! - Fixes a potential text rendering issue that could include extra whitespaces for text containing colons.
#227962d59e2 Thanks @HiDeoo! - Fixes an issue with frontmatter schemas containing collection references used with the <StarlightPage /> component and an Astro version greater than 4.14.0.
The version upload API returns a field indicating whether
a preview exists for that version. If a preview exists and
workers.dev is enabled, wrangler will now log the full
URL on version upload.
This does not impact wrangler deploy, which only prints the
workers.dev route of the latest deployment.
#65508d1d464 Thanks @Pedr0Rocha! - feature: add RateLimit type generation to the ratelimit unsafe binding.
Patch Changes
#661521a09e0 Thanks @RamIdeas! - chore: avoid potential double-install of create-cloudflare
When wrangler init delegates to C3, it did so via npm create cloudflare@2.5.0. C3's v2.5.0 was the first to include auto-update support to avoid npx's potentially stale cache. But this also guaranteed a double install for users who do not have 2.5.0 cached. Now, wrangler delegates via npm create cloudflare@^2.5.0 which should use the latest version cached on the user's system or install and use the latest v2.x.x.
Bumps the dependencies group with 10 updates:
2.27.7
2.27.8
12.2.0
12.2.1
23.2.1
23.3.0
1.46.1
1.47.0
22.5.2
22.5.4
5.4.2
5.4.3
4.15.1
4.15.4
1.77.8
1.78.0
0.26.1
0.27.1
3.73.0
3.75.0
Updates
@changesets/cli
from 2.27.7 to 2.27.8Release notes
Sourced from
@changesets/cli
's releases.Commits
c867f32
Version Packages (#1439)bc75c1a
Replacechalk
withpicocolors
(#1417)52c302a
Remove unused@babel/runtime
dependency (#1445)5150fc1
switch frompreferred-pm
topackage-manager-detector
(#1446)4efc038
Fix logging --version flag (#1419)Updates
lighthouse
from 12.2.0 to 12.2.1Release notes
Sourced from lighthouse's releases.
Changelog
Sourced from lighthouse's changelog.
Commits
31bdd8a
v12.2.1 (#16179)c212128
deps: upgrade puppeteer to 23.3.0 (#16178)3682be9
core(third-party-cookies): update description for 3PCD updates (#16177)8a2f18a
clients(devtools): require third-party-web to be provided (#16166)ba1a46c
tests: pass logger to smokehouse runners to get log even on timeout (#16175)21e4444
tests(devtools): sync e2e (#16174)7e64d56
core(uses-text-compression): ignore percent threshold for large savings (#16165)4b36705
core(third-party-cookies): update description for 3PCD updates (#16158)948fc61
misc: format lighthouse-result.proto (#16170)36dd86c
tests: update BUILD.gn due to upstream CDT change (#16171)Updates
puppeteer
from 23.2.1 to 23.3.0Release notes
Sourced from puppeteer's releases.
... (truncated)
Commits
aaf7cfe
chore: release main (#13040)1276787
test: add screenshot call into docker test (#13049)afe77af
fix: incorrect y-coordinate in ElementHandle.boxModel() (#13045)96b3a8b
fix: revert the use of structuredClone (#13044)dce61f9
test: Sync expectations for Bug 1903060 (#12850)6068b56
test: Sync expectations for Bug 1882803 (#12846)f311a65
feat: roll to Firefox 130.0 (#13046)b832417
feat: support --install-deps flag in the browsers CLI (#12580)2724218
ci: update comment on the same day (#13039)dc27ec6
chore: release main (#13036)Updates
@playwright/test
from 1.46.1 to 1.47.0Release notes
Sourced from
@playwright/test
's releases.... (truncated)
Commits
d5943de
cherry-pick(#32475): docs: update browsers version in release notes (#32476)73fdd25
cherry-pick(#32470): feat(chromium): roll to r1134 (#32473)13f4531
chore: mark 1.47 (#32472)0a49c05
chore(test runner): document that --only-changed on CI needs history (#32461)a8139b5
docs: add release notes for 1.47 (#32463)9101283
chore: move 'dev-server' extensibility point to plugin (#32448)255143e
feat(webkit): roll to r2070 (#32451)9a2c60a
chore: identify largest gaps in Bidi API (#32434)a87426e
Update bug.ymlee91bdc
feat(ui-mode): display list of query params in request tab (#32443)Updates
@types/node
from 22.5.2 to 22.5.4Commits
Updates
vite
from 5.4.2 to 5.4.3Changelog
Sourced from vite's changelog.
Commits
ccbfc1a
release: v5.4.39b001ba
fix(css): fix directory index import in sass modern api (#17960)5c5f82c
fix: improve CJS warning trace information (#17926)15871c7
fix(preload): add crossorigin attribute in CSS link tags (#17930)413c86a
fix(html): rewrite assets url in <template> (#17988)dc3c14f
fix: cjs warning respect the logLevel flag (#17993)0ca53cf
chore(deps): update all non-major dependencies (#17991)ebfaa7e
fix: only remove entry assets handled by Vite core (#17916)d428e7e
fix(css): fix sass modern source map (#17938)ad13760
fix: waitForRequestIdle locked (#17982)Updates
astro
from 4.15.1 to 4.15.4Release notes
Sourced from astro's releases.
Changelog
Sourced from astro's changelog.
Commits
0d50d75
[ci] release (#11936)c0c9645
[ci] formatbd1d4aa
Allow passing into the crypto key via ASTRO_KEY (#11879)4a44e82
fix: explicitly check for null props inserializeSignals
(#11930)c58193a
fix(add): Use proper export names when adding adapters (#11935)65bfefb
[ci] release (#11909)ca54e3f
perf(astro/assets): avoid downloading original image when using cache (#11904)5d7bc70
[ci] format7ff7134
Provide an error message when Actions throws in setup (#11886)f696051
[ci] formatUpdates
sass
from 1.77.8 to 1.78.0Release notes
Sourced from sass's releases.
Changelog
Sourced from sass's changelog.
Commits
90a70ef
Fix failing double check test for sass-parser (#2330)b1d5f98
Backport deprecation API to legacy JS API (#2293)56a4237
Delete unreachabledefault
clause. (#2323)a7f623d
Bump bufbuild/buf-setup-action in /.github/util/initialize (#2319)9f82850
Ignore newunreachable_switch_default
warning. (#2318)798cd7c
Update pubspec.yaml (#2321)2bf3ae0
Fix a comment (#2316)eb6c19e
Initial implementation of a PostCSS-compatible parser JS API (#2304)c3cccef
Bump dartdoc from 8.0.7 to 8.0.8 (#2300)f0a0182
docs: Fix link to custom importer (#2315)Updates
@astrojs/starlight
from 0.26.1 to 0.27.1Release notes
Sourced from
@astrojs/starlight
's releases.... (truncated)
Changelog
Sourced from
@astrojs/starlight
's changelog.... (truncated)
Commits
73389fe
[ci] release (#2304)f92791a
Convert URL to file path correctly for Git virtual module (#2303)c96395e
i18n(fr): updateguides/authoring-content
(#2297)14992f7
[ci] release (#2292)6f3202b
Add support for SSR (#1255)20cbf3b
Add Markdoc preset and example (#2249)756e85e
Refactor sidebar persistence logic for better slow device performance (#2242)ccf8d79
Update astro dependency to 4.15.3 across monorepo (#2289)eea6ba4
[ci] release (#2290)b15f725
Prevent Zod errors from crashing build (#2288)Updates
wrangler
from 3.73.0 to 3.75.0Release notes
Sourced from wrangler's releases.