The web framework for content-driven websites. ⭐️ Star to support our work!
OTHER License
Published by astrobot-houston about 1 year ago
1f58a7a1b
Thanks @natemoo-re! - Automatically unmount islands when astro:unmount
is firedPublished by astrobot-houston about 1 year ago
1f58a7a1b
Thanks @natemoo-re! - Automatically unmount islands when astro:unmount
is firedPublished by astrobot-houston about 1 year ago
1f58a7a1b
Thanks @natemoo-re! - Automatically unmount islands when astro:unmount
is firedPublished by astrobot-houston about 1 year ago
#8234 0c7b42dc6
Thanks @natemoo-re! - Update telemetry notice
#8263 9e021a91c
Thanks @Princesseuh! - Add a type param to AstroGlobal to type params. This will eventually be used automatically by our tooling to provide typing and completions for Astro.params
#8264 1f58a7a1b
Thanks @natemoo-re! - Fire astro:unmount
event when island is disconnected
#8258 1db4e92c1
Thanks @matthewp! - Allow fallback animations on html element
Updated dependencies [0c7b42dc6
]:
Published by astrobot-houston about 1 year ago
#8239 52f0837bd
Thanks @matthewp! - Vercel adapter now defaults to functionPerRoute
.
With this change, @astrojs/vercel/serverless
now splits each route into its own function. By doing this, the size of each function is reduced and startup time is faster.
You can disable this option, which will cause the code to be bundled into a single function, by setting functionPerRoute
to false
.
Published by astrobot-houston about 1 year ago
Published by astrobot-houston about 1 year ago
#8251 46c4c0e05
Thanks @Princesseuh! - Adds a link to the error reference in the CLI when an error occurs
#8253 1048aca55
Thanks @matthewp! - Fix, lazily initialize ResponseWithEncoding
#8229 ffc9e2d3d
Thanks @Princesseuh! - Paginate will now return exact types instead of a naive Record
#8237 3674584e0
Thanks @Princesseuh! - Fix astro check
not finding the @astrojs/check
package
Published by astrobot-houston about 1 year ago
Published by astrobot-houston about 1 year ago
Published by astrobot-houston about 1 year ago
#8198 cb95aa5f8
Thanks @bluwy! - Update the rss()
default export to return a Response
instead of a simple object, which is deprecated in Astro 3.0. If you were directly returning the rss()
result from an endpoint before, this breaking change should not affect you.
You can also import getRssString()
to get the RSS string directly and use it to return your own Response:
// src/pages/rss.xml.js
import { getRssString } from '@astrojs/rss';
export async function get(context) {
const rssString = await getRssString({
title: 'Buzz’s Blog',
...
});
return new Response(rssString, {
headers: {
'Content-Type': 'application/xml',
},
});
}
Published by astrobot-houston about 1 year ago
#8207 e45f30293
Thanks @natemoo-re! - Change the View Transition built-in animation options.
The transition:animate
value morph
has been renamed to initial
. Also, this is no longer the default animation.
If no transition:animate
directive is specified, your animations will now default to fade
.
Astro also supports a new transition:animate
value, none
. This value can be used on a page's <html>
element to disable animated full-page transitions on an entire page.
#8218 44f7a2872
Thanks @matthewp! - View Transitions unflagged
View Transition support in Astro is now unflagged. For those who have used the experimental feature you can remove the flag in your Astro config:
import { defineConfig } from 'astro'
export default defineConfig({
- experimental: {
- viewTransitions: true,
- }
})
After removing this flag, please also consult the specific upgrade to v3.0 advice as some API features have changed and you may have breaking changes with your existing view transitions.
See the View Transitions guide to learn how to use the API.
#8181 a8f35777e
Thanks @matthewp! - Finalize View Transition event names
#8217 c37632a20
Thanks @martrapp! - Specify data-astro-reload
(no value) on an anchor element to force the browser to ignore view transitions and fall back to default loading.
This is helpful when navigating to documents that have different content-types, e.g. application/pdf, where you want to use the build in viewer of the browser.
Example: <a href='/my.pdf' data-astro-reload>...</a>
#8156 acf652fc1
Thanks @kurtextrem! - The scrollend mechanism is a better way to record the scroll position compared to throttling, so we now use it whenever a browser supports it.
#8196 632579dc2
Thanks @bluwy! - Prevent bundling sharp as it errors in runtime
#8214 55c10d1d5
Thanks @Princesseuh! - Automatically update user's env.d.ts with the proper types to help out migrating away from assets being experimental
Published by astrobot-houston about 1 year ago
#8190 0be8d9bfa
Thanks @ematipico! - Improve documentation and export the types needed to type the runtime
object.
Updated dependencies [52606a390
]:
Published by astrobot-houston about 1 year ago
Published by astrobot-houston about 1 year ago
Published by astrobot-houston about 1 year ago
#8152 582132328
Thanks @andremralves! - Displays a new config error if outDir
is placed within publicDir
.
#8166 fddd4dc71
Thanks @martrapp! - ViewTransitions: Fixes in the client-side router
#8182 cfc465dde
Thanks @martrapp! - View Transitions: self link (href=""
) does not trigger page reload
#8171 95120efbe
Thanks @Princesseuh! - Fix missing type for imageConfig
export from astro:assets
#8187 273335cb0
Thanks @bluwy! - Fix Astro components parent-child render order
#8184 9142178b1
Thanks @martrapp! - Fix: The scrolling behavior of ViewTransitions is now more similar to the expected browser behavior
#8163 179796405
Thanks @delucis! - Make typing of defineCollection
more permissive to support advanced union and intersection types
Published by astrobot-houston about 1 year ago
Published by astrobot-houston about 1 year ago
Published by astrobot-houston about 1 year ago
#8179 6011d52d3
Thanks @matthewp! - Astro 3.0 Release Candidate
#8169 e79e3779d
Thanks @bluwy! - Remove pre-shiki v0.14 theme names for compatibility. Please rename to the new theme names to migrate:
material-darker
-> material-theme-darker
material-default
-> material-theme
material-lighter
-> material-theme-lighter
material-ocean
-> material-theme-ocean
material-palenight
-> material-theme-palenight
Published by astrobot-houston about 1 year ago
Published by astrobot-houston about 1 year ago