Releases: withastro/astro
@astrojs/[email protected]
Patch Changes
- #9704
b325fada567892b63ecae87c1ff845c8514457baThanks @andremralves! - Fixes generated URLs when using abasewith a SSR adapter
@astrojs/[email protected]
Major Changes
-
#9661
d6edc7540864cf5d294d7b881eb886a3804f6d05Thanks @ematipico! - If host is unset in standalone mode, the server host will now fallback tolocalhostinstead of127.0.0.1. Whenlocalhostis used, the operating system can decide to use either::1(ipv6) or127.0.0.1(ipv4) itself. This aligns with how the Astro dev and preview server works by default.If you relied on
127.0.0.1(ipv4) before, you can set theHOSTenvironment variable to127.0.0.1to explicitly use ipv4. For example,HOST=127.0.0.1 node ./dist/server/entry.mjs. -
#9661
d6edc7540864cf5d294d7b881eb886a3804f6d05Thanks @ematipico! - Breaking: Minimum required Astro version is now 4.2.0.
Reorganizes internals to be more maintainable.
Patch Changes
- #9661
d6edc7540864cf5d294d7b881eb886a3804f6d05Thanks @ematipico! - Fixes an issue where the preview server appeared to be ready to serve requests before binding to a port.
@astrojs/[email protected]
Patch Changes
-
#9706
1539e04a8e5865027b3a8718c6f142885e7c8d88Thanks @bluwy! - Removes redundant HMR handling code -
Updated dependencies [
165cfc154be477337037185c32b308616d1ed6fa,e9a72d9a91a3741566866bcaab11172cb0dc7d31]:- @astrojs/[email protected]
@astrojs/[email protected]
Minor Changes
-
#9566
165cfc154be477337037185c32b308616d1ed6faThanks @OliverSpeir! - Allows remark plugins to pass options specifying how images in.mdfiles will be optimized -
#9643
e9a72d9a91a3741566866bcaab11172cb0dc7d31Thanks @blackmann! - Adds a newmarkdown.shikiConfig.transformersconfig option. You can use this option to transform the Shikiji hast (AST format of the generated HTML) to customize the final HTML. Also updates Shikiji to the latest stable version.See Shikiji's documentation for more details about creating your own custom transformers, and a list of common transformers you can add directly to your project.
@astrojs/[email protected]
Patch Changes
- #9643
e9a72d9a91a3741566866bcaab11172cb0dc7d31Thanks @blackmann! - Removes unnecessaryshikijidependency
[email protected]
Patch Changes
-
#9665
d02a3c48a3ce204649d22e17b1e26fb5a6a60bcfThanks @bluwy! - Disables internal file watcher for one-off Vite servers to improve start-up performance -
#9664
1bf0ddd2777ae5f9fde3fd854a9e75aa56c080f2Thanks @bluwy! - Improves HMR for Astro style and script modules -
#9668
74008cc23853ed507b144efab02300202c5386edThanks @Princesseuh! - Fix the passthrough image service not generatingsrcsetvalues properly -
#9693
d38b2a4fe827e956662fcf457d1f1f84832c2f15Thanks @kidylee! - Disables View Transition form handling when theactionproperty points to an external URL -
#9678
091097e60ef38dadb87d7c8c1fc9cb939a248921Thanks @ematipico! - Adds an error during the build phase in casei18n.routing.prefixDefaultLocaleis set totrueand the index page is missing. -
#9659
39050c6e1f77dc21e87716d95e627a654828ee74Thanks @Princesseuh! - Fix Astro wrongfully deleting certain images imported with?urlwhen used in tandem withastro:assets -
#9685
35d54b3ddb3310ab4c505d49bd4937b2d25e4078Thanks @lilnasy! - Fixes an issue where anchor elements within a custom component could not trigger a view transition.
@astrojs/[email protected]
Patch Changes
- #9666
cdf8ce06271b8b5e474186a3cd6d7925c423a4a6Thanks @martrapp! - Fixes an issue where Partytown scripts didn't execute after view transition
[email protected]
Patch Changes
- #9476
651f45b4010ad9b8d9f61fdc748618e220fe5375Thanks @ElianCodes! - Improves seasonal message handling by automatically detecting the local date
[email protected]
Patch Changes
-
#9642
cdb7bfa66260afc79b829b617492a01a709a86efThanks @martrapp! - Fixes an issue where View Transitions did not work when navigating to the 404 page -
#9637
5cba637c4ec39c06794146b0c7fd3225d26dcabbThanks @bluwy! - Improves environment variables replacement in SSR -
#9658
a3b5695176cd0280438938c1d6caef478a571415Thanks @martrapp! - Fixes an issue caused by trying to load text/partytown scripts during view transitions -
#9657
a4f90d95ff97abe59f2a1ef0956cab257ae36838Thanks @ematipico! - Fixes a bug where the custom status code wasn't correctly computed in the dev server -
#9627
a700a20291e19cde23705e8e661e833aec7d3095Thanks @lilnasy! - Adds a warning when setting cookies will have no effect -
#9652
e72efd6a9a1e2a70488fd225529617ffd8418534Thanks @bluwy! - Improves environment variables handling by using esbuild to perform replacements -
#9560
8b9c4844f7b302380835154fab1c3489979fc07dThanks @bluwy! - Fixes tsconfig alias with import.meta.glob -
#9653
50f39183cfec4a4522c1f935d710e5d9b724993bThanks @Princesseuh! - Pin Sharp to 0.32.6 until we can raise our semver requirements. To use the latest version of Sharp, you can add it to your project's dependencies.
@astrojs/[email protected]
Patch Changes
- #9648
d7f1903cded3e864b392d1dd7502672d37936f11Thanks @lilnasy! - Fixes an issue where the serverless function could not respond with a prerendered 404 page.