Tentative list of deprecations and breaking changes for Astro 3.0 #502
Replies: 6 comments 7 replies
-
Something to think / talk about. CSS ordering bugs continue to happen. We need to investigate if there's an architectural issue where we cannot ensure the exact same CSS order between dev and build. This would be because of code splitting. If it turns out we cannot fix this, then we need to reconsider where to use |
Beta Was this translation helpful? Give feedback.
-
Implicit head injectionAstro will inject our head content (links and scripts) into the head, even if your page never has an explicit head tag. This causes bugs, especially with the introduction of content collections and its head propagation. Knowing that all pages have an explicit We could create a |
Beta Was this translation helpful? Give feedback.
-
What's the reason for removing the TS dependency? |
Beta Was this translation helpful? Give feedback.
-
A feature we had in the Snowpack days but dropped in the switch to Vite was requiring the Reason: I've spent a bunch of time debugging very weird issues with folks only to realize that they had installed a package that used the |
Beta Was this translation helpful? Give feedback.
-
Endpoints have a legacy 2 argument form that we still have code for in the codebase. We can remove that in 3.0 |
Beta Was this translation helpful? Give feedback.
-
3.0 is out... |
Beta Was this translation helpful? Give feedback.
-
Body
As we're heading towards 3.0, @matthewp and I thought it would be neat to have a discussion / document talking about the plans regarding deprecations in Astro 3.0. Previously, we would've had this in private among us maintainers, but we figured there was no downsides to having this public. So here we are.
Core
Response
s is better in all cases apart from one (SSG, files that need specific encoding) and supporting both is leading to user confusion, maintenance burden and bugs.astro check
to a separate package, or at least its TypeScript dependency, in order to significantly reduce the size of theastro
package and allow users more autonomy over the TypeScript version.Beta Was this translation helpful? Give feedback.
All reactions