This is part of the experimental API and doesn't follow semver. We are hoping to stabilize it for 2.1. If you are working with custom reporters, give this a go!
This is part of the experimental API and doesn't follow semver. We are hoping to stabilize it for 2.1. If you are working with custom reporters, give this a go!
#11584a65ffe3 Thanks @bholmesdev! - Removes async local storage dependency from Astro Actions. This allows Actions to run in Cloudflare and Stackblitz without opt-in flags or other configuration.
This also introduces a new convention for calling actions from server code. Instead of calling actions directly, you must wrap function calls with the new Astro.callAction() utility.
callAction() is meant to trigger an action from server code. getActionResult() usage with form submissions remains unchanged.
---
import { actions } from 'astro:actions';
const result = await Astro.callAction(actions.searchPosts, {
searchTerm: Astro.url.searchParams.get('search'),
});
{
result.data &&
{
/* render the results */
}
}
Migration
If you call actions directly from server code, update function calls to use the Astro.callAction() wrapper for pages and context.callAction() for endpoints:
---
import { actions } from 'astro:actions';
const result = await actions.searchPosts({ searchTerm: 'test' });
const result = await Astro.callAction(actions.searchPosts, { searchTerm: 'test' });
#11584a65ffe3 Thanks @bholmesdev! - Removes async local storage dependency from Astro Actions. This allows Actions to run in Cloudflare and Stackblitz without opt-in flags or other configuration.
This also introduces a new convention for calling actions from server code. Instead of calling actions directly, you must wrap function calls with the new Astro.callAction() utility.
callAction() is meant to trigger an action from server code. getActionResult() usage with form submissions remains unchanged.
---
import { actions } from 'astro:actions';
const result = await Astro.callAction(actions.searchPosts, {
searchTerm: Astro.url.searchParams.get('search'),
});
{
result.data &&
{
/* render the results */
}
}
Migration
If you call actions directly from server code, update function calls to use the Astro.callAction() wrapper for pages and context.callAction() for endpoints:
---
import { actions } from 'astro:actions';
const result = await actions.searchPosts({ searchTerm: 'test' });
const result = await Astro.callAction(actions.searchPosts, { searchTerm: 'test' });
#21540b381d5 Thanks @mktbsh! - Updates <head> logic to deduplicate <link rel="canonical"> tags. This means that custom canonicals set via frontmatter now override the default canonical generated by Starlight.
#21576757d97 Thanks @astrobot-houston! - Updates file tree icon mapping to correctly map .cjs and .mjs extensions in several contexts
#2156904ad47 Thanks @delucis! - Fixes builds for projects with a space in their pathname
#21540b381d5 Thanks @mktbsh! - Updates <head> logic to deduplicate <link rel="canonical"> tags. This means that custom canonicals set via frontmatter now override the default canonical generated by Starlight.
#21576757d97 Thanks @astrobot-houston! - Updates file tree icon mapping to correctly map .cjs and .mjs extensions in several contexts
#2156904ad47 Thanks @delucis! - Fixes builds for projects with a space in their pathname
#6318dc576c8 Thanks @danlapid! - feat: Add a log for worker startup time in wrangler deploy
#609764f34e8 Thanks @RamIdeas! - feat: implements the --experimental-dev-env (shorthand: --x-dev-env) flag for wrangler pages dev
Patch Changes
#637931aa15c Thanks @RamIdeas! - fix: clearer error message when trying to use Workers Sites or Legacy Assets with wrangler versions upload
#63677588800 Thanks @RamIdeas! - fix: implicitly cleanup (call stop()) in unstable_dev if the returned Promise rejected and the stop() function was not returned
#6330cfbdede Thanks @RamIdeas! - fix: when the worker's request.url is overridden using the host or localUpstream, ensure port is overridden/cleared too
When using --localUpstream=example.com, the request.url would incorrectly be "example.com:8787" but is now "example.com".
This only applies to wrangler dev --x-dev-env and unstable_dev({ experimental: { devEnv: true } }).
#636513549c3 Thanks @WalshyDev! - fix: WASM modules meant that wrangler versions secret ... could not properly update the version. This has now been fixed.
#6318dc576c8 Thanks @danlapid! - feat: Add a log for worker startup time in wrangler deploy
#609764f34e8 Thanks @RamIdeas! - feat: implements the --experimental-dev-env (shorthand: --x-dev-env) flag for wrangler pages dev
Patch Changes
#637931aa15c Thanks @RamIdeas! - fix: clearer error message when trying to use Workers Sites or Legacy Assets with wrangler versions upload
#63677588800 Thanks @RamIdeas! - fix: implicitly cleanup (call stop()) in unstable_dev if the returned Promise rejected and the stop() function was not returned
#6330cfbdede Thanks @RamIdeas! - fix: when the worker's request.url is overridden using the host or localUpstream, ensure port is overridden/cleared too
When using --localUpstream=example.com, the request.url would incorrectly be "example.com:8787" but is now "example.com".
This only applies to wrangler dev --x-dev-env and unstable_dev({ experimental: { devEnv: true } }).
#636513549c3 Thanks @WalshyDev! - fix: WASM modules meant that wrangler versions secret ... could not properly update the version. This has now been fixed.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the dependencies group with 9 updates:
22.14.0
22.15.0
22.0.0
22.1.0
2.0.4
2.0.5
8.2.3
8.2.4
2.0.4
2.0.5
0.8.3
0.9.1
4.12.2
4.13.1
0.25.2
0.25.3
3.67.1
3.68.0
Updates
puppeteer
from 22.14.0 to 22.15.0Release notes
Sourced from puppeteer's releases.
Commits
8478b43
chore: release main (#12832)4b0e889
fix: roll to Chrome 127.0.6533.88 (#12858)9a35f7b
feat: support AbortSignal in waitForNavigation (#12852)67f15e6
chore: sync firefox no-remote arg removal Bug 1906260 (#12848)9ec5f25
fix: handle the string predicate in waitForFrame (#12849)cd0eca9
ci: use standard definition (#12847)400e81c
chore: remove TODOs (#12845)f7847a1
ci: run canary only on weekdays (#12844)ea733d7
chore(deps-dev): Bump@swc/core
from 1.7.0 to 1.7.3 in /website in the all gr...3174e84
chore(deps-dev): Bump the dev-dependencies group across 1 directory with 10 u...Updates
@types/node
from 22.0.0 to 22.1.0Commits
Updates
@vitest/coverage-v8
from 2.0.4 to 2.0.5Release notes
Sourced from
@vitest/coverage-v8
's releases.Commits
99452a7
chore: release v2.0.5Updates
tsup
from 8.2.3 to 8.2.4Release notes
Sourced from tsup's releases.
Commits
49c11c3
fix: do not terminate dts worker in watch mode, closes #1172, closes #1171e9ee083
docs: CONTRIBUTING.mdUpdates
vitest
from 2.0.4 to 2.0.5Release notes
Sourced from vitest's releases.
Commits
99452a7
chore: release v2.0.59b9bdf7
chore: remove unnecessary await (#6249)40dfad8
docs: add reported tasks docs (#6245)13d85bd
feat: introduce experimental reported tasks (#6149)b76a927
refactor(vitest): move public exports to public folder (#6218)56dbfa6
refactor: make a distinction between node and runtime types (#6214)a48be6f
fix(vitest): correctly resolve mocked node:* imports in mocks folder (#6204)3aab8a1
refactor: deprecate all config types from the main Vitest entrypoint, introdu...57d23ce
docs: fix inconsistencies, remove low informative twoslash examples (#6200)8cd8272
fix(vitest): improvedefineProject
anddefineWorkspace
types (#6198)Updates
@astrojs/check
from 0.8.3 to 0.9.1Release notes
Sourced from
@astrojs/check
's releases.Changelog
Sourced from
@astrojs/check
's changelog.Commits
492b2bf
Version Packages (#926)93b5c30
Version Packages (#925)Updates
astro
from 4.12.2 to 4.13.1Release notes
Sourced from astro's releases.
... (truncated)
Changelog
Sourced from astro's changelog.
... (truncated)
Commits
2abbc28
[ci] release (#11590)d052428
[ci] format69d54b4
Remove more unused code (#11598)c2d6c1f
Remove unused code (#11592)ac72ed2
[ci] formata65ffe3
Actions: Remove async local storage dependency (#11584)2531abd
[ci] format2e9d183
fix: changelog formatting (#11589)4474887
[ci] release (#11578)6aaeec5
Update errors-data.ts for Astro.rewrite release in 4.13 (#11580)Updates
@astrojs/starlight
from 0.25.2 to 0.25.3Release notes
Sourced from
@astrojs/starlight
's releases.Changelog
Sourced from
@astrojs/starlight
's changelog.Commits
b4345ce
[ci] release (#2145)904ad47
Fix bug for projects with spaces in their pathname (#2156)6757d97
ci: update file icons (#2157)85b1ab4
[ci] format0b381d5
Merge <link rel="canonical" /> tags, quick fixes (#2153) (#2154)703903b
Deleting unnecessary twitter meta tags, quick fixes (#2137)Updates
wrangler
from 3.67.1 to 3.68.0Release notes
Sourced from wrangler's releases.
Changelog
Sourced from wrangler's changelog.
Commits
5146775
Version Packages (#6358)9f02173
Update Workers Sites/Legacy Assets error message in versions commands (#6390)31aa15c
Clearer error message when trying to use Workers Sites with `wrangler version...13549c3
Fix WASM modules in versions secrets (#6365)a9021aa
chore(deps): bump the workerd-and-workers-types group across 1 directory with...7588800
try improve fixture flakiness due to unstable_dev (#6367)64f34e8
Support --x-dev-env for Pages (#6097)dc576c8
Log worker script startup time (#6318)cfbdede
Add --x-dev-env to fixtures tests (#6330)6e14865
fix(wrangler): Rename morelegacy-assets
things (#6336)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show