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
astro@0.23.0-next.7
Patch Changes
#2586
d6d35bca
Thanks @tony-sull! - Support for non-HTML pagesThis adds support for generating non-HTML pages form
.js
and.ts
pages during the build. Built file and extensions are based on the source file's name, ex:src/pages/data.json.ts
will be built todist/data.json
.Is this different from SSR? Yes! This feature allows JSON, XML, etc. files to be output at build time. Keep an eye out for full SSR support if you need to build similar files when requested, for example as a serverless function in your deployment host.
Examples
What about
getStaticPaths()
? It just works™.#2548
ba5e2b5e
Thanks @matthewp! - Experimental SSR SupportChanges
This adds a new
--experimental-ssr
flag toastro build
which will result indist/server/
anddist/client/
directories.SSR can be used through this API:
This API will be refined over time.
This only works in Node.js at the moment.
Many features will likely not work correctly, but rendering HTML at least should.
#2581
ec6f148f
Thanks @matthewp! - Fix for resolving relative imports from hoisted scripts in the static build.#2594
085468e9
Thanks @natemoo-re! - Upgrade@astrojs/compiler
tov0.10.2