chore(deps): update astro
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @astrojs/check (source) | ^0.5.0 -> ^0.7.0 |
||||
| @astrojs/starlight (source) | ^0.21.0 -> ^0.23.0 |
||||
| astro (source) | 4.7.0 -> 4.8.6 |
Release Notes
withastro/language-tools (@astrojs/check)
v0.7.0
Minor Changes
-
c8af6db: Upgrades the language server to use the latest version of Volar. This changes should have no negative impacts on the experience.
Patch Changes
- Updated dependencies [
c8af6db]
v0.6.0
Minor Changes
-
65d3425: Upgrades the language server to use Volar 2.2. This changes should have no negative impacts on the experience.
Patch Changes
- Updated dependencies [
65d3425]
withastro/starlight (@astrojs/starlight)
v0.23.0
Minor Changes
-
#1846
2de67039Thanks @delucis! - Updates@astrojs/mdxto v3 and enables MDX optimization by default⚠️ Potentially breaking change: MDX optimization speeds up builds (Starlight’s docs are building ~40% faster for example), but restricts some advanced MDX features. See full details in the MDX optimization documentation.
Most Starlight users should be unaffected, but if you are using MDX files outside of Starlight pages with the
componentsprop, you may see issues. You can disable optimization by adding MDX manually to yourintegrationsarray inastro.config.mjs:import { defineConfig } from 'astro/config'; + import mdx from '@​astrojs/mdx'; import starlight from '@​astrojs/starlight'; // https://astro.build/config export default defineConfig({ integrations: [ starlight({ title: 'My docs', // ... }), + mdx(), ], }); -
#1735
1a9ab50dThanks @HiDeoo! - Adds custom styles for<details>and<summary>elements in Markdown content. -
#1846
2de67039Thanks @delucis! - ⚠️ BREAKING CHANGE: The minimum supported version of Astro is now 4.8.6Please update Astro and Starlight together:
npx @​astrojs/upgrade
v0.22.4
Patch Changes
-
#1871
03bb126bThanks @delucis! - Adds ablueSkyicon and social link option -
#1873
13f33b81Thanks @ekfuhrmann! - Adds 1 new icon:alpine -
#1857
32cdfaf0Thanks @tarikcoskun! - Updates Turkish UI translations -
#1736
cfa94a34Thanks @julien-deramond! - Prevent list items from overflowing Markdown content
v0.22.3
Patch Changes
-
#1838
9fe84754Thanks @delucis! - Adds extra information to the errors thrown by the<Steps>component to help locate misformatted code -
#1863
50be60bbThanks @torn4dom4n! - Update Vietnamese translation -
#1837
a33a1223Thanks @delucis! - Adds three new icons:comment,comment-alt,heart -
#1842
c7838636Thanks @delucis! - Moves thehrefused in the site title link to Starlight’s route data object. This makes it possible for overrides to change the title link while reusing Starlight’s default component implemenation. -
#1840
cb85563cThanks @MiahaCybersec! - Adds 1 new icon:hackerone
v0.22.2
Patch Changes
-
#1811
fe06aa13Thanks @HiDeoo! - Fixes a<Tabs>sync issue when inconsistently using theiconprop or not on<TabItem>components. -
#1826
52ea7381Thanks @dragomano! - Updates Russian UI translations
v0.22.1
Patch Changes
-
1c0fc384Thanks @HiDeoo! - Fixes an issue where thesiteTitleproperty would not be set when using the<StarlightPage />component.
v0.22.0
Minor Changes
-
#640
7dc503eaThanks @HiDeoo! - Adds support for syncing multiple sets of tabs on the same page. -
#1620
ca0678caThanks @emjio! - Adds support for translating the site title⚠️ Potentially breaking change: The shape of the
titlefield on Starlight’s internal config object has changed. This used to be a string, but is now an object.If you are relying on
config.title(for example in a custom<SiteTitle>or<Head>component), you will need to update your code. We recommend using the newsiteTitleprop available to component overrides:
withastro/astro (astro)
v4.8.6
Patch Changes
-
#11084
9637014Thanks @bluwy! - Fixes regression when handling hoisted scripts from content collections
v4.8.5
Patch Changes
-
#11065
1f988edThanks @ematipico! - Fixes a bug in the Astro rewrite logic, where rewriting the index with parameters -next("/?foo=bar")- didn't work as expected. -
#10924
3a0c02aThanks @Its-Just-Nans! - Handle image-size errors by displaying a clearer message -
#11058
749a7acThanks @matthewp! - Fix streaming in Node.js fast path -
#11052
a05ca38Thanks @florian-lefebvre! - Fixes a case where rewriting would conflict with the actions internal middleware -
#11062
16f12e4Thanks @ematipico! - Fixes a bug whereastro builddidn't create custom404.htmland500.htmlwhen a certain combination of i18n options was applied -
#10965
a8f0372Thanks @Elias-Chairi! - Update generator.ts to allow %23 (#) in dynamic urls -
#11069
240a70aThanks @ematipico! - Improves debug logging for on-demand pages
v4.8.4
Patch Changes
-
#11026
8dfb1a2Thanks @bluwy! - Skips rendering script tags if it's inlined and empty whenexperimental.directRenderScriptis enabled -
#11043
d0d1710Thanks @bholmesdev! - Fixes minor type issues in actions component example -
#10999
5f353e3Thanks @bluwy! - The prefetch feature is updated to better support different browsers and different cache headers setup, including:- All prefetch strategies will now always try to use
<link rel="prefetch">if supported, or will fall back tofetch(). - The
prefetch()programmatic API'swithoption is deprecated in favour of an automatic approach that will also try to use<link rel="prefetch>if supported, or will fall back tofetch().
This change shouldn't affect most sites and should instead make prefetching more effective.
- All prefetch strategies will now always try to use
-
#11041
6cc3fb9Thanks @bholmesdev! - Fixes 500 errors when sending empty params or returning an empty response from an action. -
#11028
771d1f7Thanks @bholmesdev! - Throw on missing server output when using Astro Actions. -
#11029
bd34452Thanks @bholmesdev! - Actions: include validation error in thrown error message for debugging. -
#11046
086694aThanks @HiDeoo! - FixesgetViteConfig()type definition to allow passing an inline Astro configuration as second argument -
#11026
8dfb1a2Thanks @bluwy! - Fixes CSS handling if imported in a script tag in an Astro file whenexperimental.directRenderScriptis enabled -
#11020
2e2d6b7Thanks @xsynaptic! - Add type declarations forimport.meta.env.ASSETS_PREFIXwhen defined as an object for handling different file types. -
#11030
18e7f33Thanks @bholmesdev! - Actions: Fix missing message for custom Action errors. -
#10981
ad9227cThanks @mo! - Adds deprecated HTML attribute "name" to the list of valid attributes. This attribute has been replaced by the globalidattribute in recent versions of HTML. -
#11013
4ea38e7Thanks @QingXia-Ela! - Prevents unhandledrejection error when checking for latest Astro version -
#11034
5f2dd45Thanks @arganaphang! - Addpopovertargetactionto the attribute that can be passed to thebuttonandinputelement
v4.8.3
Patch Changes
-
#11006
7418bb0Thanks @bholmesdev! - Fixlocalsaccess from action handlers
v4.8.2
Patch Changes
-
#10990
4161a2aThanks @liruifengv! - fix incorrect actions path on windows -
#10979
6fa89e8Thanks @BryceRussell! - Fix loading of non-index routes that end withindex.html
v4.8.1
Patch Changes
-
#10987
05db5f7Thanks @ematipico! - Fix a regression where the flagexperimental.rewritingwas marked mandatory. Is is now optional. -
#10975
6b640b3Thanks @bluwy! - Passes the scoped style attribute or class to the<picture>element in the<Picture />component so scoped styling can be applied to the<picture>element
v4.8.0
Minor Changes
-
#10935
ddd8e49Thanks @bluwy! - Exportsastro/jsx/rehype.jswith utilities to generate an Astro metadata object -
#10625
698c2d9Thanks @goulvenclech! - Adds the ability for multiple pages to use the same component as anentrypointwhen building an Astro integration. This change is purely internal, and aligns the build process with the behaviour in the development server. -
#10906
7bbd664Thanks @Princesseuh! - Adds a new radio checkbox component to the dev toolbar UI library (astro-dev-toolbar-radio-checkbox) -
#10963
61f47a6Thanks @delucis! - Adds support for passing an inline Astro configuration object togetViteConfig()If you are using
getViteConfig()to configure the Vitest test runner, you can now pass a second argument to control how Astro is configured. This makes it possible to configure unit tests with different Astro options when using Vitest’s workspaces feature.// vitest.config.ts import { getViteConfig } from 'astro/config'; export default getViteConfig( /* Vite configuration */ { test: {} }, /* Astro configuration */ { site: 'https://example.com', trailingSlash: 'never', } ); -
#10867
47877a7Thanks @ematipico! - Adds experimental rewriting in Astro with a newrewrite()function and the middlewarenext()function.The feature is available via an experimental flag in
astro.config.mjs:export default defineConfig({ experimental: { rewriting: true, }, });When enabled, you can use
rewrite()to render another page without changing the URL of the browser in Astro pages and endpoints.
v4.7.1
Patch Changes
-
#10911
a86dc9dThanks @bluwy! - Skips adding CSS dependencies of CSS Vite modules as style tags in the HTML -
#10900
36bb3b6Thanks @martrapp! - Detects overlapping navigation and view transitions and automatically aborts all but the most recent one. -
#10933
007d17fThanks @Princesseuh! - Fixesapp.toggleStatenot working correctly -
#10931
4ce5cedThanks @ktym4a! - FixestoggleNotification()'s parameter type for the notification level not using the proper levels
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
Deploy Preview for knope ready!
| Name | Link |
|---|---|
| Latest commit | 7714c02bf7cd4590cf9fffe8a9a8644dc456711f |
| Latest deploy log | https://app.netlify.com/sites/knope/deploys/6668518a9484db0008ffaffd |
| Deploy Preview | https://deploy-preview-1038--knope.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.