-
Notifications
You must be signed in to change notification settings - Fork 0
fix(deps): update astro monorepo (major) #189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
c91c3a2 to
a985b84
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Device | URL |
|---|---|
| mobile | https://92ee263b.asis-quest.pages.dev |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
a985b84 to
218f5fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Device | URL |
|---|---|
| mobile | https://64a5fb0e.asis-quest.pages.dev |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
35886df to
bdfc12d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Device | URL |
|---|---|
| mobile | https://9ea1e840.asis-quest.pages.dev |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
bdfc12d to
52a1b6e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Device | URL |
|---|---|
| mobile | https://d184dd4a.asis-quest.pages.dev |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
52a1b6e to
23fb86a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Device | URL |
|---|---|
| mobile | https://3b2ad62a.asis-quest.pages.dev |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
23fb86a to
fea2764
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Device | URL |
|---|---|
| mobile | https://468b92a0.asis-quest.pages.dev |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
fea2764 to
4d84d7d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Device | URL |
|---|---|
| mobile | https://09effdbf.asis-quest.pages.dev |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
4d84d7d to
b932d06
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Device | URL |
|---|---|
| mobile | https://1da6f0ef.asis-quest.pages.dev |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
b932d06 to
dd6197d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Device | URL |
|---|---|
| mobile | https://e9971389.asis-quest.pages.dev |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
dd6197d to
13c1123
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Device | URL |
|---|---|
| mobile | https://3a581354.asis-quest.pages.dev |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
403c44d to
f415f8a
Compare
c623826 to
84be4ca
Compare
84be4ca to
bfdab75
Compare
23acec0 to
286de95
Compare
ff509e8 to
aba5981
Compare
aba5981 to
2700a1b
Compare
35afa74 to
e4f9a84
Compare
1ac038d to
b726d71
Compare
6a94138 to
0effcde
Compare
db5c66c to
a0967b7
Compare
a58b4d6 to
e70f12e
Compare
964df2c to
aca00e3
Compare
aca00e3 to
d1274f4
Compare
d1274f4 to
ab3fce1
Compare
This PR contains the following updates:
11.2.0→12.6.124.16.19→5.16.8Release Notes
withastro/astro (@astrojs/cloudflare)
v12.6.12Compare Source
Patch Changes
#14777
9720b70Thanks @iclectic! - Updates assets handling to use@astrojs/internal-helpersUpdated dependencies []:
v12.6.11Compare Source
Patch Changes
9e9c528,0f75f6b]:v12.6.10Compare Source
Patch Changes
b8ca69bThanks @ascorbic! - Refactor remote path detectionUpdated dependencies [
b8ca69b]:v12.6.9Compare Source
Patch Changes
1e2499e]:v12.6.8Compare Source
Patch Changes
#14326
c24a8f4Thanks @jsparkdev! - Updatesviteversion to fix CVEUpdated dependencies []:
v12.6.7Compare Source
Patch Changes
#14281
dfd88deThanks @ascorbic! - Fixes a regression that broke sites that used the compile image service without nodejs_compat setUpdated dependencies []:
v12.6.6Compare Source
Patch Changes
9ecf359Thanks @alexanderniebuhr! - Improves the image proxy endpoint when using the default compile option to adhere to user configuration regarding the allowed remote domainsUpdated dependencies []:
v12.6.5Compare Source
Patch Changes
#14259
02366e9Thanks @ascorbic! - Removes warning when using the adapter with a static build.The Cloudflare adapter now has several uses outside of on-demand rendered pages, so this warning is misleading. Similar warnings have already been removed from other adapters.
#14234
15b55f3Thanks @yanthomasdev! - Fixes an issue that could cause duplicate exports when configuringworkerEntrypoint.namedExports#14240
77b18fbThanks @delucis! - Increases the minimum supported version of Astro to 5.7.0Updated dependencies []:
v12.6.4Compare Source
Patch Changes
4d16de7]:v12.6.3Compare Source
Patch Changes
#14066
7abde79Thanks @alexanderniebuhr! - Refactors the internal solution which powers Astro Sessions when running local development with ˋastro devˋ.The adapter now utilizes Cloudflare's local support for Cloudflare KV. This internal change is a drop-in replacement and does not require any change to your projectct code.
However, you now have the ability to connect to the remote Cloudflare KV Namespace if desired and use production data during local development.
Updated dependencies []:
v12.6.2Compare Source
Patch Changes
#13894
b36e72fThanks @florian-lefebvre! - Removes special handling of theASTRO_STUDIO_APP_TOKENenvironment variableUpdated dependencies [
0567fb7]:v12.6.1Compare Source
Patch Changes
#14777
9720b70Thanks @iclectic! - Updates assets handling to use@astrojs/internal-helpersUpdated dependencies []:
v12.6.0Compare Source
Minor Changes
#13837
7cef86fThanks @alexanderniebuhr! - Adds new configuration options to allow you to set a customworkerEntryPointfor Cloudflare Workers. This is useful if you want to use features that require handlers (e.g. Durable Objects, Cloudflare Queues, Scheduled Invocations) not supported by the basic generic entry file.This feature is not supported when running the Astro dev server. However, you can run
astro buildfollowed by eitherwrangler deploy(to deploy it) orwrangler devto preview it.The following example configures a custom entry file that registers a Durable Object and a queue handler:
Patch Changes
#13963
c667c55Thanks @florian-lefebvre! - Fixes a case where the platform proxy would not be disposed when the dev process endedUpdated dependencies []:
v12.5.5Compare Source
Patch Changes
#13930
acb9b30Thanks @alexanderniebuhr! - Fixes an issue where setting values forAstro.responseresulted in a Cloudflare runtime exception.Updated dependencies [
de82ef2,de82ef2,de82ef2]:v12.5.4Compare Source
Patch Changes
#13817
b7258f1Thanks @yanthomasdev! - Clarifies and reduces a few logs when starting the dev server with@astrojs/cloudflare.Warnings about sharp support will now be suppressed when you have explicitly set an
imageServiceoption.Updated dependencies []:
v12.5.3Compare Source
Patch Changes
#13792
7910feaThanks @alexeyzimarev! - Unify imported images detection across adaptersUpdated dependencies []:
v12.5.2Compare Source
Patch Changes
#13731
c3e80c2Thanks @jsparkdev! - update vite to latest version for fixing CVEUpdated dependencies []:
v12.5.1Compare Source
Patch Changes
#13591
5dd2d3fThanks @florian-lefebvre! - Removes unused codeUpdated dependencies [
5dd2d3f]:v12.5.0Compare Source
Minor Changes
#13527
2fd6a6bThanks @ascorbic! - The experimental session API introduced in Astro 5.1 is now stable and ready for production use.Sessions are used to store user state between requests for on-demand rendered pages. You can use them to store user data, such as authentication tokens, shopping cart contents, or any other data that needs to persist across requests:
v12.4.1Compare Source
Patch Changes
#13596
3752519Thanks @jsparkdev! - update vite to latest version to fix CVE#13547
360cb91Thanks @jsparkdev! - Updates vite to the latest versionUpdated dependencies []:
v12.4.0Compare Source
Minor Changes
#13514
a9aafecThanks @ascorbic! - Automatically configures Cloudflare KV storage when experimental sessions are enabledIf the
experimental.sessionflag is enabled when using the Cloudflare adapter, Astro will automatically configure the session storage using the Cloudflare KV driver. You can still manually configure the session storage if you need to use a different driver or want to customize the session storage configuration. If you want to use sessions, you will need to create the KV namespace and declare it in your wrangler config. You can do this using the Wrangler CLI:This will log the id of the created namespace. You can then add it to your
wrangler.json/wrangler.tomlfile like this:By default it uses the binding name
SESSION, but if you want to use a different binding name you can do so by passing thesessionKVBindingNameoption to the adapter. For example:See the Cloudflare KV docs for more details on setting up KV namespaces.
See the experimental session docs for more information on configuring session storage.
Patch Changes
#13526
ff9d69eThanks @jsparkdev! - updateviteto the latest versionUpdated dependencies []:
v12.3.1Compare Source
Patch Changes
#13505
a98ae5bThanks @ematipico! - Updates the dependencyviteto the latest.Updated dependencies []:
v12.3.0Compare Source
Minor Changes
#13444
9721f4aThanks @florian-lefebvre! - Adds globalastro:envsupportCloudflare workers now support importing
envin the global scope. Until now, callingastro:envAPIs had to be done within request scope or the values wereundefined.With this release, they can be called anywhere server-side, like any other official adapter.
Patch Changes
#13463
d5ad591Thanks @ascorbic! - Fixes a bug that caused builds to fail when a base directory is configuredUpdated dependencies []:
v12.2.4Compare Source
Patch Changes
042d1de]:v12.2.3Compare Source
Patch Changes
#13323
80926faThanks @ematipico! - Updatesesbuildandviteto the latest to avoid false positives audits warnings caused byesbuild.Updated dependencies [
1e11f5e]:v12.2.2Patch Changes
#13304
6efd57dThanks @ematipico! - Fixes a small issue where the package was pulling an outdated version of its internal dependencies.#13201
065157cThanks @ekwoka! - Includes onerror passthrough param for Cloudflare Image Service#13299
2e1321eThanks @bluwy! - Usestinyglobbyfor globbing filesUpdated dependencies []:
v12.2.1Patch Changes
ce66003Thanks @bluwy! - Removes internalvuehandlingv12.2.0Minor Changes
4b5cd22Thanks @florian-lefebvre! - Stabilizesastro:envsecrets supportPatch Changes
#454
83cedadThanks @alexanderniebuhr! - Improves Astro 5 support#501
012b31dThanks @florian-lefebvre! - Refactor of the redirects logicv12.1.0Minor Changes
1d4e6fcThanks @meyer! - Addswrangler.jsoncto the default watched config files. If a config file is specified inplatformProxy.configPath, that file location is watched instead of the defaults.Patch Changes
a8a8ab1Thanks @bluwy! - Removes resolving with "node" conditionto fix Vue importsv12.0.1Patch Changes
70e0054Thanks @bluwy! - Fixes setting customworkerdandworkerconditions for the ssr environment onlyv12.0.0Major Changes
#367
e02b54aThanks @alexanderniebuhr! - Removed support for the Squoosh image service. As the underlying librarylibsquooshis no longer maintained, and the image service sees very little usage we have decided to remove it from Astro.Our recommendation is to use the base Sharp image service, which is more powerful, faster, and more actively maintained.
If you are using this service, and cannot migrate to the base Sharp image service, a third-party extraction of the previous service is available here: https://github.com/Princesseuh/astro-image-service-squoosh
#367
e02b54aThanks @alexanderniebuhr! - Deprecates thefunctionPerRouteoptionThis option is now deprecated, and will be removed entirely in Astro v5.0. We suggest removing this option from your configuration as soon as you are able to:
import { defineConfig } from 'astro/config'; import vercel from '@​astrojs/vercel/serverless'; export default defineConfig({ // ... output: 'server', adapter: vercel({ - functionPerRoute: true, }), });#375
e7881f7Thanks @Princesseuh! - Updates internal code to works with Astro 5 changes to hybrid rendering. No changes are necessary to your project, apart from using Astro 5#397
776a266Thanks @Princesseuh! - Welcome to the Astro 5 beta! This release has no changes from the latest alpha of this package, but it does bring us one step closer to the final, stable release.Starting from this release, no breaking changes will be introduced unless absolutely necessary.
To learn how to upgrade, check out the Astro v5.0 upgrade guide in our beta docs site.
#451
f248546Thanks @ematipico! - Updates esbuild dependency to v0.24.0#392
3a49eb7Thanks @Princesseuh! - Updates internal code for Astro 5 changes. No changes is required to your project, apart from using Astro 5Patch Changes
9cedc9bThanks @renovate! - InheritsplatformProxyoption types fromwranglerwithastro/astro (astro)
v5.16.8Compare Source
Patch Changes
#15124
81db3c0Thanks @leonace924! - Fixes an issue where requests with query parameters to thebasepath would return a 404 if trailingSlash was not'ignore'in development#15152
39ee41fThanks @rururux! - Fixes a case wherecontext.cookies.set()would be overriden when setting cookies via response headers in development#15140
6f6f8f8Thanks @cameronraysmith! - Fixes esbuild warning due to dead code in assets virtual module#15127
2cff904Thanks @Princesseuh! - Updates "Unsupported page types found" error to only appear in more realistic cases#15149
34f84c2Thanks @rahuld109! - Skips "Use the Image component" audit warning for images inside framework components (React, Vue, Svelte, etc.)v5.16.7Compare Source
Patch Changes
#15122
b137946Thanks @florian-lefebvre! - Improves JSDoc annotations forAstroGlobal,AstroSharedContextandAPIContexttypes#15123
3f58fa2Thanks @43081j! - Improves rendering performance by grouping render chunks when emitting from async iterables to avoid encoding costs#14954
7bec4bdThanks @volpeon! - Fixes remote imagesEtagheader handling by disabling internal cache#15052
b2bcd5aThanks @Princesseuh! - Fixes images not working in development when using setups with port forwarding#15028
87b19b8Thanks @Princesseuh! - Fixes certain aliases not working when using images in JSON files with the content layer#15118
cfa382bThanks @florian-lefebvre! - BREAKING CHANGE to the experimental Fonts API onlyRemoves the
defineAstroFontProvider()type helper.If you are building a custom font provider, remove any occurrence of
defineAstroFontProvider()and use theFontProvidertype instead:#15055
4e28db8Thanks @delucis! - Reduces Astro’s install size by around 8 MB#15088
a19140fThanks @martrapp! - Enables the ClientRouter to preserve the original hash part of the target URL during server side redirects.#15117
b1e8e32Thanks @florian-lefebvre! - BREAKING CHANGE to the experimental Fonts API onlyChanges the font format downloaded by default when using the experimental Fonts API. Additionally, adds a new
formatsconfiguration option to specify which font formats to download.Previously, Astro was opinionated about which font sources would be kept for usage, mainly keeping
woff2andwofffiles.You can now specify what font formats should be downloaded (if available). Only
woff2files are downloaded by default.What should I do?
If you were previously relying on Astro downloading the
woffformat, you will now need to specify this explicitly with the newformatsconfiguration option. Additionally, you may also specify any additional file formats to download if available:// astro.config.mjs import { defineConfig, fontProviders } from 'astro/config' export default defineConfig({ experimental: { fonts: [{ name: 'Roboto', cssVariable: '--font-roboto', provider: fontProviders.google(), + formats: ['woff2', 'woff', 'otf'] }] } })8115752Thanks @florian-lefebvre! - Fixes a vite warning log during builds when using npmv5.16.6Compare Source
Patch Changes
#14982
6849e38Thanks @Princesseuh! - Fixes images outside the project directory not working when using astro:assets in development mode#14987
9dd9fcaThanks @Princesseuh! - Fixes SVGs not working in dev mode when using the passthrough image service#15014
a178422Thanks @delucis! - Adds support for extending the type of the props accepted by Astro’s<Image>component,<Picture>component, andgetImage()API.v5.16.5Compare Source
Patch Changes
#14985
c016f10Thanks @florian-lefebvre! - Fixes a case where JSDoc annotations wouldn't show for fonts related APIs in the Astro config#14973
ed7cc2fThanks @amankumarpandeyin! - Fixes performance regression and OOM errors when building medium-sized blogs with many content entries. Replaced O(n²) object spread pattern with direct mutation ingenerateLookupMap.#14958
70eb542Thanks @ascorbic! - Gives a helpful error message if a user setsoutput: "hybrid"in their Astro config.The option was removed in Astro 5, but lots of content online still references it, and LLMs often suggest it. It's not always clear that the replacement is
output: "static", rather thanoutput: "server". This change adds a helpful error message to guide humans and robots.#14901
ef53716Thanks @Darknab! - Updates theglob()loader to log a warning when duplicated IDs are detectedUpdated dependencies [
d8305f8]:v5.16.4Compare Source
Patch Changes
#14940
2cf79c2Thanks @ematipico! - Fixes a bug where Astro didn't properly combine CSP resources from thecspconfiguration with those added using the runtime API (Astro.csp.insertDirective()) to form grammatically correct CSP headersNow Astro correctly deduplicate CSP resources. For example, if you have a global resource in the configuration file, and then you add a
a new one using the runtime APIs.
v5.16.3Compare Source
Patch Changes
#14889
4bceeb0Thanks @florian-lefebvre! - Fixes actions types when using specific TypeScript configurations#14929
e0f277dThanks @matthewp! - Fixes authentication bypass via double URL encoding in middlewarePrevents attackers from bypassing path-based authentication checks using multi-level URL encoding (e.g.,
/%2561dmininstead of/%61dmin). Pathnames are now validated after decoding to ensure no additional encoding remains.v5.16.2Compare Source
Patch Changes
#14876
b43dc7fThanks @florian-lefebvre! - Fixes a vite warning log during builds when using npm#14884
10273e0Thanks @florian-lefebvre! - Fixes a case where setting the status of a page to404in ssr would show an empty page (or404.astropage if provided) instead of using the current pagev5.16.1Compare Source
Patch Changes
#14769
b43ee71Thanks @adriandlam! - Fixes an unhandled rejection issue when using Astro with Vercel Workflow DevKit#14761
345eb22Thanks @ooga! - Updatesbuttonattributes types to allowcommandandcommandfor#14866
65e214bThanks @GameRoMan! - FixesAstro.globto be correctly marked as deprecated#14894
1ad9a5bThanks @delucis! - Fixes support for Astro component rendering in Vitest test suites using a “client” environment such ashappy-domorjsdom#14782
abed929Thanks @florian-lefebvre! - Improves syncingv5.16.0Compare Source
Minor Changes
#13880
1a2ed01Thanks @azat-io! - Adds experimental SVGO optimization support for SVG assetsAstro now supports automatic SVG optimization using SVGO during build time. This experimental feature helps reduce SVG file sizes while maintaining visual quality, improving your site's performance.
To enable SVG optimization with default settings, add the following to your
astro.config.mjs:To customize optimization, pass a SVGO configuration object:
For more information on enabling and using this feature in your project, see the experimental SVG optimization docs.
#14810
2e845feThanks @ascorbic! - Adds a hint for code agents to use the--yesflag to skip prompts when runningastro add#14698
f42ff9bThanks @mauriciabad! - Adds theActionInputSchemautility type to automatically infer the TypeScript type of an action's input based on its Zod schemaFor example, this type can be used to retrieve the input type of a form action:
#14574
4356485Thanks @jacobdalamb! - Adds new CLI shortcuts available when runningastro preview:o+enter: open the site in your browserq+enter: quit the previewh+enter: print all available shortcutsPatch Changes
#14813
e1dd377Thanks @ematipico! - Removespicocolorsas dependency in favor of the forkpiccolore.#14609
d774306Thanks @florian-lefebvre! - Improvesastro info#14796
c29a785Thanks @florian-lefebvre! - BREAKING CHANGE to the experimental Fonts API onlyUpdates the default
subsetsto["latin"]Subsets have been a common source of confusion: they caused a lot of files to be downloaded by default. You now have to manually pick extra subsets.
Review your Astro config and update subsets if you need, for example if you need greek characters:
import { defineConfig, fontProviders } from "astro/config" export default defineConfig({ experimental: { fonts: [{ name: "Roboto", cssVariable: "--font-roboto", provider: fontProviders.google(), + subsets: ["latin", "greek"] }] } })v5.15.9Compare Source
Patch Changes
#14786
758a891Thanks @mef! - Add handling of invalid encrypted props and slots in server islands.#14783
504958fThanks @florian-lefebvre! - Improves the experimental Fonts API build log to show the number of downloaded files. This can help spotting excessive downloading because of misconfiguration#14791
9e9c528Thanks @Princesseuh! - Changes the remote protocol checks for images to require explicit authorization in order to use data URIs.In order to allow data URIs for remote images, you will need to update your
astro.config.mjsfile to include the following configuration:#14787
0f75f6bThanks @matthewp! - Fixes wildcard hostname pattern matching to correctly reject hostnames without dotsPreviousl
Configuration
📅 Schedule: Branch creation - Between 07:00 AM and 07:59 AM, only on Monday and Thursday ( * 7 * * 1,4 ) in timezone Asia/Tokyo, 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.