arcjet-js
arcjet-js copied to clipboard
deps(dev): bump astro from 5.15.9 to 5.16.0
Bumps astro from 5.15.9 to 5.16.0.
Release notes
Sourced from astro's releases.
[email protected]
Minor Changes
#13880
1a2ed01Thanks@azat-io! - Adds experimental SVGO optimization support for SVG assetsAstro now supports automatic SVG optimization using SVGO during build time. This experimental feature helps reduce SVG file sizes while maintaining visual quality, improving your site's performance.
To enable SVG optimization with default settings, add the following to your
astro.config.mjs:import { defineConfig } from 'astro/config';export default defineConfig({ experimental: { svgo: true, }, });
To customize optimization, pass a SVGO configuration object:
export default defineConfig({ experimental: { svgo: { plugins: [ 'preset-default', { name: 'removeViewBox', active: false, }, ], }, }, });For more information on enabling and using this feature in your project, see the experimental SVG optimization docs.
#14810
2e845feThanks@ascorbic! - Adds a hint for code agents to use the--yesflag to skip prompts when runningastro add#14698
f42ff9bThanks@mauriciabad! - Adds theActionInputSchemautility type to automatically infer the TypeScript type of an action's input based on its Zod schemaFor example, this type can be used to retrieve the input type of a form action:
import { type ActionInputSchema, defineAction } from 'astro:actions'; import { z } from 'astro/zod';const action = defineAction({
... (truncated)
Changelog
Sourced from astro's changelog.
5.16.0
Minor Changes
#13880
1a2ed01Thanks@azat-io! - Adds experimental SVGO optimization support for SVG assetsAstro now supports automatic SVG optimization using SVGO during build time. This experimental feature helps reduce SVG file sizes while maintaining visual quality, improving your site's performance.
To enable SVG optimization with default settings, add the following to your
astro.config.mjs:import { defineConfig } from 'astro/config';export default defineConfig({ experimental: { svgo: true, }, });
To customize optimization, pass a SVGO configuration object:
export default defineConfig({ experimental: { svgo: { plugins: [ 'preset-default', { name: 'removeViewBox', active: false, }, ], }, }, });For more information on enabling and using this feature in your project, see the experimental SVG optimization docs.
#14810
2e845feThanks@ascorbic! - Adds a hint for code agents to use the--yesflag to skip prompts when runningastro add#14698
f42ff9bThanks@mauriciabad! - Adds theActionInputSchemautility type to automatically infer the TypeScript type of an action's input based on its Zod schemaFor example, this type can be used to retrieve the input type of a form action:
import { type ActionInputSchema, defineAction } from 'astro:actions'; import { z } from 'astro/zod';
... (truncated)
Commits
e878679[ci] release (#14808)78ed8b5refactor(fonts): match cli structure (#14806)1a2ed01feat: add SVGO optimization support for SVG assets (#13880)3030556[ci] formate1dd377fix: remove picocolors (#14813)4356485feat(cli): Add preview shortcuts (#14574)2e845fefeat: add hint about astro add --yes flag (#14810)f42ff9bfeat: AddActionInputSchemautility type (#14698)c29a785feat(fonts)!: update default subsets (#14796)ca359f2[ci] format- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Merging to main in this repository is managed by Trunk.
- [ ] To merge this pull request, check the box to the left or comment
/trunk mergebelow.
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
| Diff | Package | Supply Chain Security |
Vulnerability | Quality | Maintenance | License |
|---|---|---|---|---|---|---|
| astro@5.15.9 ⏵ 5.16.0 |