You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Astro 4.0, the `app.render()` signature allowing to pass`routeData` and `locals` as optional arguments was deprecated in favor of a single optional `renderOptions` argument.
286
+
In Astro 4.0, the `app.render()` signature that allowed passing`routeData` and `locals` as optional arguments was deprecated in favor of a single optional `renderOptions` argument.
In Astro 4.0, the `handleForms` prop of the `<ClientRouter />` component was deprecated.
305
+
In Astro 4.0, the `handleForms` prop of the `<ClientRouter />` component was deprecated, as it was no longer necessary to opt in to handling `submit` events for `form` elements. This functionality has been built-in by default and the property, if still included in your project, silently had no impact on form submission.
306
306
307
-
Astro 6.0 removes this prop entirely, as it had no impact on form submission anymore.
307
+
Astro 6.0 removes this prop entirely and it now must be removed to avoid errors in your project.
308
308
309
309
#### What should I do?
310
310
311
-
Remove the `handleForms` property from your `<ClientRouter />` component. It is no longer necessary.
311
+
Remove the `handleForms` property from your `<ClientRouter />` component if it exists. It has provided no additional functionality, and so removing it should not change any behavior in your project:
In Astro 4.8.4, the `with` option of the programmatic `prefetch()` function was deprecated.
333
+
In Astro 4.8.4, the `with` option of the programmatic `prefetch()` function was deprecated in favor of a more sensible default behavior that no longer required specifying the priority of prefetching for each page.
334
334
335
-
Astro 6.0 removes this option entirely, defaulting to `link` preloading.
335
+
Astro 6.0 removes this option entirely and it is no longer possible to configure the priority of prefetching by passing the `with` option. Attempting to do so will now cause errors.
336
+
337
+
By default, Astro's prefetching now uses an automatic approach that will always try to use `<link rel="prefetch>` if supported, or will fall back to `fetch()`.
336
338
337
339
#### What should I do?
338
340
339
-
Review your `prefetch()` calls and remove the `with` option:
341
+
Review your `prefetch()` calls and remove the `with` option if it still exists:
0 commit comments