api-specs
api-specs copied to clipboard
fix(deps): update dependency astro to v4.8.5
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| astro (source) | 4.7.0 -> 4.8.5 |
Release Notes
withastro/astro (astro)
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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] 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 openpodcastapi ready!
| Name | Link |
|---|---|
| Latest commit | e351cd17636124b8ff9302208d5beb2a43334178 |
| Latest deploy log | https://app.netlify.com/sites/openpodcastapi/deploys/6655bcd19c6a1d0008b5be95 |
| Deploy Preview | https://deploy-preview-79--openpodcastapi.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.