-
Notifications
You must be signed in to change notification settings - Fork 0
fix(deps): update dependency astro to v4.14.2 #64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Device | URL |
|---|---|
| mobile | https://f1f83bcb.asis-docs.pages.dev |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
637f312 to
4117d05
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Device | URL |
|---|---|
| mobile | https://8337773b.asis-docs.pages.dev |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
This PR contains the following updates:
4.13.4->4.14.2Release Notes
withastro/astro (astro)
v4.14.2Compare Source
Patch Changes
391324dThanks @bluwy! - Reverts back toyargs-parserpackage for CLI argument parsingv4.14.1Compare Source
Patch Changes
#11725
6c1560fThanks @ascorbic! - Prevents content layer importing node builtins in runtime#11692
35af73aThanks @matthewp! - Prevent errant HTML from crashing server islandsWhen an HTML minifier strips away the server island comment, the script can't correctly know where the end of the fallback content is. This makes it so that it simply doesn't remove any DOM in that scenario. This means the fallback isn't removed, but it also doesn't crash the browser.
#11727
3c2f93bThanks @florian-lefebvre! - Fixes a type issue when using the Content Layer in devv4.14.0Compare Source
Minor Changes
#11657
a23c69dThanks @bluwy! - Deprecates the option for route-generating files to export a dynamic value forprerender. Only static values are now supported (e.g.export const prerender = trueor= false). This allows for better treeshaking and bundling configuration in the future.Adds a new
"astro:route:setup"hook to the Integrations API to allow you to dynamically set options for a route at build or request time through an integration, such as enabling on-demand server rendering.To migrate from a dynamic export to the new hook, update or remove any dynamic
prerenderexports from individual routing files:// src/pages/blog/[slug].astro - export const prerender = import.meta.env.PRERENDERInstead, create an integration with the
"astro:route:setup"hook and update the route'sprerenderoption:#11360
a79a8b0Thanks @ascorbic! - Adds a newinjectTypes()utility to the Integration API and refactors how type generation worksUse
injectTypes()in theastro:config:donehook to inject types into your user's project by adding a new a*.d.tsfile.The
filenameproperty will be used to generate a file at/.astro/integrations/<normalized_integration_name>/<normalized_filename>.d.tsand must end with".d.ts".The
contentproperty will create the body of the file, and must be valid TypeScript.Additionally,
injectTypes()returns a URL to the normalized path so you can overwrite its content later on, or manipulate it in any way you want.Codegen has been refactored. Although
src/env.d.tswill continue to work as is, we recommend you update it:#11605
d3d99fbThanks @jcayzac! - Adds a new propertymetato Astro's built-in<Code />component.This allows you to provide a value for Shiki's
metaattribute to pass options to transformers.The following example passes an option to highlight lines 1 and 3 to Shiki's
tranformerMetaHighlight:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.