#111294bb9269 Thanks @matthewp! - Prevent errors from adapters when i18n domains is not used
astro@4.9.0
Minor Changes
#1105112a1bcc Thanks @ematipico! - Introduces an experimental Container API to render .astro components in isolation.
This API introduces three new functions to allow you to create a new container and render an Astro component returning either a string or a Response:
create(): creates a new instance of the container.
renderToString(): renders a component and return a string.
renderToResponse(): renders a component and returns the Response emitted by the rendering phase.
The first supported use of this new API is to enable unit testing. For example, with vitest, you can create a container to render your component with test data and check the result:
import { experimental_AstroContainer as AstroContainer } from 'astro/container';
import { expect, test } from 'vitest';
import Card from '../src/components/Card.astro';
#110212d4c8fa Thanks @ematipico! - The CSRF protection feature that was introduced behind a flag in v4.6.0 is no longer experimental and is available for general use.
To enable the stable version, add the new top-level security option in astro.config.mjs. If you were previously using the experimental version of this feature, also delete the experimental flag:
#111294bb9269 Thanks @matthewp! - Prevent errors from adapters when i18n domains is not used
4.9.0
Minor Changes
#1105112a1bcc Thanks @ematipico! - Introduces an experimental Container API to render .astro components in isolation.
This API introduces three new functions to allow you to create a new container and render an Astro component returning either a string or a Response:
create(): creates a new instance of the container.
renderToString(): renders a component and return a string.
renderToResponse(): renders a component and returns the Response emitted by the rendering phase.
The first supported use of this new API is to enable unit testing. For example, with vitest, you can create a container to render your component with test data and check the result:
import { experimental_AstroContainer as AstroContainer } from 'astro/container';
import { expect, test } from 'vitest';
import Card from '../src/components/Card.astro';
#110212d4c8fa Thanks @ematipico! - The CSRF protection feature that was introduced behind a flag in v4.6.0 is no longer experimental and is available for general use.
To enable the stable version, add the new top-level security option in astro.config.mjs. If you were previously using the experimental version of this feature, also delete the experimental flag:
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 astro group with 4 updates in the / directory: @astrojs/check, astro, astro-expressive-code and sharp.
Updates
@astrojs/check
from 0.5.10 to 0.7.0Release notes
Sourced from
@astrojs/check
's releases.Changelog
Sourced from
@astrojs/check
's changelog.Commits
260167f
Version Packages (#873)2a86df7
Version Packages (#865)65d3425
feat: Upgrade to Volar 2.2 (#863)Updates
astro
from 4.6.1 to 4.9.1Release notes
Sourced from astro's releases.
... (truncated)
Changelog
Sourced from astro's changelog.
... (truncated)
Commits
4c7949d
[ci] release (#11132)4bb9269
Prevent errors from adapters when i18n domains is not used (#11129)5077592
[ci] release (#11116)9566fa0
Actions: Allow actions to be called on the server (#11088)e71348e
[docs] fix config reference code formatting (#11119)7bfe8aa
[ci] formatc7386ef
[docs] update heading level in config reference (#11118)ae42bf3
[ci] format5cb68d8
[docs] updates security.checkOrigin config reference (#11117)7be7b1a
[ci] formatUpdates
astro-expressive-code
from 0.35.0 to 0.35.3Release notes
Sourced from astro-expressive-code's releases.
Changelog
Sourced from astro-expressive-code's changelog.
Commits
93505dc
[CI] Release (#206)1e3870b
Apply consistent style to changelog messages1d54970
[CI] Release (#202)d1a4f19
[CI] Release (#199)Updates
sharp
from 0.33.3 to 0.33.4Changelog
Sourced from sharp's changelog.
Commits
19d0e27
Release v0.33.416b764f
Prerelease v0.33.4-rc.01593ee3
Bump devDeps668b5ba
Docs: changelog and credit for #409629336f4
Ensure negate op occurs after profile conversion (#4096)b5fddd7
Install: log node-addon-api version if availableda655a1
Reduce default concurrency for musl thread over-subscription93c615d
Bump devDepsf325dc3
Refactor to use C++ boolean literals rather than macros0fde71c
Ensure all contributor email addresses are valid (#4088)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