[ci] release#9307
Merged
Merged
Conversation
sarah11918
reviewed
Dec 5, 2023
b59ef1a to
89cf082
Compare
89cf082 to
454aa37
Compare
Member
|
LGTM |
ematipico
pushed a commit
that referenced
this pull request
Feb 5, 2025
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
ematipico
pushed a commit
that referenced
this pull request
Feb 5, 2025
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
ematipico
pushed a commit
that referenced
this pull request
Feb 6, 2025
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
astro@4.0.0
Major Changes
#9138
abf601233Thanks @bluwy! - Updates the unified, remark, and rehype dependencies to latest. Make sure to update your custom remark and rehype plugins as well to be compatible with the latest versions.Potentially breaking change: The default value of
markdown.remarkRehype.footnoteBackLabelis changed from"Back to content"to"Back to reference 1". See themdast-util-to-hastcommit for more information.#9181
cdabf6ef0Thanks @bluwy! - Removes support for returning simple objects from endpoints (deprecated since Astro 3.0). You should return aResponseinstead.ResponseWithEncodingis also removed. You can refactor the code to return a response with an array buffer instead, which is encoding agnostic.The types for middlewares have also been revised. To type a middleware function, you should now use
MiddlewareHandlerinstead ofMiddlewareResponseHandler. If you useddefineMiddleware()to type the function, no changes are needed.#9263
3cbd8ea75Thanks @bluwy! - Removes additional deprecated APIs:astro/client-imagetype. You should use theastro/clienttype instead.rsssupport ingetStaticPaths. You should use@astrojs/rssinstead.Astro.request.paramssupport. You should useAstro.paramsinstead.#9271
47604bd5bThanks @matthewp! - Renames Dev Overlay to Dev ToolbarThe previously named experimental Dev Overlay is now known as the Astro Dev Toolbar. Plugins have been renamed as Toolbar Apps. This updates our references to reflect.
To not break existing APIs, aliases for the Toolbar-based names have been created. The previous API names will continue to function but will be deprecated in the future. All documentation has been updated to reflect Toolbar-based names.
#9122
1c48ed286Thanks @bluwy! - Adds Vite 5 support. There are no breaking changes from Astro. Check the Vite migration guide for details of the breaking changes from Vite instead.#9225
c421a3d17Thanks @natemoo-re! - Removes the opt-inhandleFormsproperty for<ViewTransitions />. Form submissions are now handled by default and can be disabled by settingdata-astro-reloadon relevant<form />elements.#9196
37697a2c5Thanks @bluwy! - Removes support for Shiki custom language'spathproperty. The language JSON file should be imported and passed to the option instead.#9199
49aa215a0Thanks @lilnasy! - This change only affects maintainers of third-party adapters. In the Integration API, theapp.render()method of theAppclass has been simplified.Instead of two optional arguments, it now takes a single optional argument that is an object with two optional properties:
routeDataandlocals.The current signature is deprecated but will continue to function until next major version.
#9212
c0383ea0cThanks @alexanderniebuhr! - Removes deprecatedapp.match()option,matchNotFound#9168
153a5abb9Thanks @bluwy! - Removes deprecated features from Astro 3.0supportedAstroFeaturesto specify a list of features they support.build.splitandbuild.excludeMiddlewareoptions are removed. UsefunctionPerRouteandedgeMiddlewarefrom adapters instead.markdown.draftsoption and draft feature is removed. Use content collections instead.getHeaders()exported from markdown files is removed. UsegetHeadings()instead.Minor Changes
#9105
6201bbe96Thanks @FredKSchott! - Update CLI logging experience#9200
b4b851f5aThanks @ematipico! - Adds a new way to configure thei18n.localesarray.Developers can now assign a custom URL path prefix that can span multiple language codes:
With the above configuration, the URL prefix of the default locale will be
/english/. When computingAstro.preferredLocale, Astro will use thecodes.#9115
3b77889b4Thanks @natemoo-re! - Adds theastro preferencescommand to manage user preferences. User preferences are specific to individual Astro users, unlike theastro.config.mjsfile which changes behavior for everyone working on a project.User preferences are scoped to the current project by default, stored in a local
.astro/settings.jsonfile. Using the--globalflag, user preferences can also be applied to every Astro project on the current machine. Global user preferences are stored in an operating system-specific location.#9139
459b26436Thanks @bluwy! - Reworks Vite's logger to use Astro's logger to correctly log HMR messages#9279
6a9669b81Thanks @martrapp! - Improves consistency between navigations with and without<ViewTransitions>. See #9279 for more details.#9161
bd0c2e9aeThanks @bluwy! - Renames theentryPointproperty of theinjectRouteintegrations API toentrypointfor consistency. A warning will be shown prompting you to update your code when using the old name.#9129
8bfc20511Thanks @FredKSchott! - Update error log formattingPatch Changes
#9118
000e8f465Thanks @Princesseuh! - Redesign Dev Overlay main screen to show more information, such as the coolest integrations, your current Astro version and more.#9118
000e8f465Thanks @Princesseuh! - Fixes an issue where links with the same pathname as the current page, but different search params, were not prefetched.#9275
0968cb1a3Thanks @lilnasy! - Fixes an issue where html annotations relevant only to the dev server were included in the production build.#9252
7b74ec4baThanks @ematipico! - Consistently emit fallback routes in the correct folders, and emit routes thatconsider
trailingSlash#9222
279e3c1b3Thanks @matthewp! - Ensure the dev-overlay-window is anchored to the bottom#9292
5428b3da0Thanks @natemoo-re! - Improves display forastro preferences listcommand#9235
9c2342c32Thanks @Princesseuh! - Fix SVG icons not showing properly in the extended dropdown menu of the dev overlay#9218
f4401c8c1Thanks @matthewp! - Improve high contrast mode with the Dev Overlay#9254
b750a161eThanks @matthewp! - Improve highlight/tooltip positioning when in fixed positions#9230
60cfa49e4Thanks @FredKSchott! - Update the look and feel of the dev overlay#9248
43ddb5217Thanks @martrapp! - Adds properties of the submit button (name, value) to the form data of a view transition#9170
8a228fce0Thanks @natemoo-re! - Adds new accessibility audits to the Dev Toolbar's built-in Audits app.The audits Astro performs are non-exhaustive and only capable of detecting a handful of common accessibility issues. Please take care to perform a thorough, manual audit of your site to ensure compliance with the Web Content Accessibility Guidelines (WCAG) international standard before publishing your site.
🧡 Huge thanks to the Svelte team for providing the basis of these accessibility audits!
#9149
0fe3a7ed5Thanks @bluwy! - Removes vendored Vite'simportMeta.d.tsfile in favour of Vite 5's newvite/types/import-meta.d.tsexport#9295
3d2dbb0e5Thanks @matthewp! - Remove aria-query packageThis is another CJS-only package that breaks usage.
#9274
feaba2c7fThanks @TheOtterlord! - Fix routing prefixes whenprefixDefaultLocaleistrue#9273
9887f2412Thanks @alexanderniebuhr! - Exports type for Dev Toolbar App under correct name#9150
710be505cThanks @bluwy! - Refactors virtual modules exports. This should not break your project unless you import Astro's internal modules, including:astro/middleware/namespaceastro/transitionsastro/transitions/routerastro/transitions/eventsastro/transitions/typesastro/prefetchastro/i18n#9227
4b8a42406Thanks @matthewp! - Ensure overlay x-ray z-index is higher than the island#9255
9ea3e0b94Thanks @matthewp! - Adds instructions on how to hide the dev overlay#9293
cf5fa4376Thanks @matthewp! - Removes the 'a11y-role-has-required-aria-props' audit ruleThis audit rule depends on a CommonJS module. To prevent blocking the 4.0 release the rule is being removed temporarily.
#9214
4fe523b00Thanks @Princesseuh! - Fixes a number of small user experience bugs with the dev overlay#9013
ff8eadb95Thanks @bayssmekanique! - Returns the updated config in the integrationastro:config:setuphook'supdateConfig()APIUpdated dependencies [
abf601233,addb57c8e,c7953645e]:@astrojs/rss@4.0.0
Major Changes
153a5abb9Thanks @bluwy! - Removes thedraftsoption as the feature is deprecated in Astro 3.0@astrojs/mdx@2.0.0
Major Changes
#9138
abf601233Thanks @bluwy! - Updates the unified, remark, and rehype dependencies to latest. Make sure to update your custom remark and rehype plugins as well to be compatible with the latest versions.Potentially breaking change: The default value of
markdown.remarkRehype.footnoteBackLabelis changed from"Back to content"to"Back to reference 1". See themdast-util-to-hastcommit for more information.Patch Changes
abf601233,addb57c8e,c7953645e]:@astrojs/node@7.0.0
Major Changes
49aa215a0Thanks @lilnasy! - The internals of the integration have been updated to support Astro 4.0. Make sure to upgrade your Astro version as Astro 3.0 is no longer supported.@astrojs/svelte@5.0.0
Major Changes
#9122
1c48ed286Thanks @bluwy! - Adds Vite 5 support. There are no breaking changes from Astro. Check the Vite migration guide for details of the breaking changes from Vite instead.#9122
1c48ed286Thanks @bluwy! - Drops support for Svelte 3 as@sveltejs/vite-plugin-svelteis updated to3.0.0which does not support Svelte 3@astrojs/vercel@6.0.0
Major Changes
#9199
49aa215a0Thanks @lilnasy! - The internals of the integration have been updated to support Astro 4.0. Make sure to upgrade your Astro version as Astro 3.0 is no longer supported.#9184
a145ac07eThanks @bluwy! - Removes deprecatedanalyticsoption. Use thewebAnalyticsoption instead.#9263
3cbd8ea75Thanks @bluwy! - Removes the deprecated@astrojs/vercel/edgeexport. You should use@astrojs/vercel/serverlessinstead with theedgeMiddlewareoption.@astrojs/markdown-remark@4.0.0
Major Changes
#9138
abf601233Thanks @bluwy! - Updates the unified, remark, and rehype dependencies to latest. Make sure to update your custom remark and rehype plugins as well to be compatible with the latest versions.Potentially breaking change: The default value of
markdown.remarkRehype.footnoteBackLabelis changed from"Back to content"to"Back to reference 1". See themdast-util-to-hastcommit for more information.#9182
c7953645eThanks @bluwy! - Removes deprecated APIs. All Astro packages had been refactored to not use these APIs.Patch Changes
addb57c8eThanks @bluwy! - FixesRemarkRehypetype'shandlerandhandlersproperties@astrojs/markdoc@0.8.0
Minor Changes
3cbd8ea75Thanks @bluwy! - Removes internalpropagatorshandling for Astro 3@astrojs/upgrade@0.2.0
Minor Changes
#9118
000e8f465Thanks @Princesseuh! - Initial release!@astrojs/upgradeis an automated command-line tool for upgrading Astro and your official Astro integrations together.Inside of your existing
astroproject, run the following command to install thelatestversion of your integrations.With NPM:
With Yarn:
With PNPM:
create-astro@4.5.2
Patch Changes
6201bbe96Thanks @FredKSchott! - Stop clearing the console on start@astrojs/react@3.0.7
Patch Changes
1c48ed286Thanks @bluwy! - Adds Vite 5 support. There are no breaking changes from Astro. Check the Vite migration guide for details of the breaking changes from Vite instead.@astrojs/vue@4.0.0
Patch Changes
1c48ed286Thanks @bluwy! - Adds Vite 5 support. There are no breaking changes from Astro. Check the Vite migration guide for details of the breaking changes from Vite instead.