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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
main
is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exit
onmain
.Releases
[email protected]
Minor Changes
#2489
618a16f5
Thanks @natemoo-re! - Add support for theset:html
andset:text
directives.With the introduction of these directives, unescaped HTML content in expressions is now deprecated. Please migrate to
set:html
in order to continue injecting unescaped HTML in future versions of Astro—you can use<Fragment set:html={content}>
to avoid a wrapper element.set:text
allows you to opt-in to escaping now, but it will soon become the default.#2494
d7149f9b
Thanks @FredKSchott! - Refactor dev server to use vite server internally.This should be an invisible change, and no breaking changes are expected from this change. However, it is a big enough refactor that some unexpected changes may occur. If you've experienced a regression in the dev server, it is most likely a bug!
#2471
c9bb1147
Thanks @FredKSchott! - Standardize trailing subpath behavior in config.Most users are not aware of the subtle differences between
/foo
and/foo/
. Internally, we have to handle both which means that we are constantly worrying about the format of the URL, needing to add/remove trailing slashes when we go to work with this property, etc. This change transforms allsite
values to use a trailing slash internally, which should help reduce bugs for both users and maintainers.Patch Changes
#2486
6bd165f8
Thanks @matthewp! - Fix for the static build when project contains a space#2506
187d5128
Thanks @jonathantneal! - Fix an issue rendering content within HTMLElement#2511
3d2c1849
Thanks @matthewp! - Bug fix fordefine:vars
with the --experimental-static-build flag#2471
c9bb1147
Thanks @FredKSchott! - Respect subpath URL paths in the fetchContent url property.This fixes an issue where fetchContent() URL property did not include the buildOptions.site path in it.
#2497
6fe1b027
Thanks @JuanM04! - Bumped Shiki versionUpdated dependencies [
6fe1b027
]:@astrojs/[email protected]
Patch Changes
6fe1b027
Thanks @JuanM04! - Add Shiki as an alternative to Prism