-
-
Notifications
You must be signed in to change notification settings - Fork 1
fix(deps): update astro monorepo #1233
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
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1233 +/- ##
=======================================
Coverage 65.53% 65.53%
=======================================
Files 53 53
Lines 2498 2498
Branches 246 245 -1
=======================================
Hits 1637 1637
Misses 856 856
Partials 5 5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
📦 依存関係更新レビューこのPRは複数のAstroパッケージの更新を含んでいます。以下の観点からレビューしました: ✅ 肯定的な点
|
| パッケージ | 旧バージョン | 新バージョン | 変更タイプ |
|---|---|---|---|
| astro | 5.15.9 | 5.16.5 | Patch(セキュリティ含む) |
| @astrojs/db | 0.15.1 | 0.18.3 | Minor(破壊的変更含む) |
| @astrojs/mdx | 4.3.5 | 4.3.13 | Patch |
| @astrojs/react | 4.3.1 | 4.4.2 | Minor |
| @astrojs/rss | 4.0.12 | 4.0.14 | Patch |
| @astrojs/check | 0.9.4 | 0.9.6 | Patch |
🎯 結論
この更新は承認推奨です。特にセキュリティパッチとパフォーマンス改善が含まれており、早期のマージが望ましいです。ただし、データベース関連の変更が大きいため、CIでのテスト結果の確認後にマージすることを推奨します。
🚨 Changes to the artifactsbuilding commit:
|
| "@tailwindcss/aspect-ratio": "0.4.2", | ||
| "@tailwindcss/typography": "0.5.19", | ||
| "astro": "5.15.9", | ||
| "astro": "5.16.5", |
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.
[email protected]には以下のセキュリティパッチが含まれています:
- 認証バイパスの脆弱性修正(v5.16.3): 多重URLエンコーディング(例:
/%2561dmin)による認証回避の問題が修正されました - パフォーマンス改善(v5.16.5): コンテンツ処理時のO(n²)問題が解決され、中規模サイトでのOOMエラーが回避されます
この更新はセキュリティ上重要なため、早期のマージを推奨します。
| "@astrojs/db": "0.15.1", | ||
| "@astrojs/mdx": "4.3.5", | ||
| "@astrojs/check": "0.9.6", | ||
| "@astrojs/db": "0.18.3", |
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.
📊 @astrojs/db メジャー更新の影響確認
@astrojs/dbが0.15.1から0.18.3へ更新されています。主な変更点:
- Astro Studioサポート終了(v0.16.0)- 既にTursoへ移行済みなら影響なし
- 新機能: libSQL webドライバー追加(v0.18.0)- Cloudflare/Deno環境のサポート
- 新機能: テキスト列のenum型サポート(v0.17.0)
- 型定義の変更: optional/primary key列の型が修正されています
推奨アクション: データベース関連の機能(特にGA4データ更新処理)の動作確認を推奨します。
npm run db:update| "@astrojs/partytown": "2.1.4", | ||
| "@astrojs/react": "4.3.1", | ||
| "@astrojs/rss": "4.0.12", | ||
| "@astrojs/react": "4.4.2", |
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.
🎉 React 19統合の安定化
@astrojs/[email protected]で、React 19のuseActionState()フックとAstro Actionsの統合機能が実験的機能から安定版になりました。
withState()とgetActionState()が正式にサポート- フォーム送信とプログレッシブエンハンスメントの改善
このプロジェクトでAstro Actionsを使用している場合、より安定した動作が期待できます。
7ac7701 to
c9165fc
Compare
This PR contains the following updates:
0.9.4->0.9.60.15.1->0.18.34.3.5->4.3.134.3.1->4.4.24.0.12->4.0.145.15.9->5.16.5Release Notes
withastro/astro (@astrojs/check)
v0.9.6Patch Changes
#14740
abfed97Thanks @ArmandPhilippot! - Fixes link targets in documentation following repository relocation.Updated dependencies [
abfed97]:v0.9.5Patch Changes
d415d4e: When no errors or warnings are detected, display "0 errors" or "0 warnings" in a dimmed color on the console instead of red or yellow.withastro/astro (@astrojs/db)
v0.18.3Compare Source
Patch Changes
e1dd377Thanks @ematipico! - Removespicocolorsas dependency in favor of the forkpiccolore.v0.18.2Compare Source
Patch Changes
e3175d9Thanks @GameRoMan! - Updatesviteversion to fix CVEv0.18.1Compare Source
Patch Changes
7b45c65Thanks @delucis! - Reduces terminal text styling dependency size by switching fromkleurtopicocolorsv0.18.0Compare Source
Minor Changes
#14204
d71448eThanks @Adammatthiesen! - Adds a new libSQL web driver to support environments that require a non-Node.js libSQL client such as Cloudflare or Deno. Also adds a newmodeconfiguration option to allow you to set your client connection type:node(default) orweb.The default db
nodedriver mode is identical to the previous AstroDB functionality. No changes have been made to how AstroDB works in Node.js environments, and this is still the integration's default behavior. If you are currently using AstroDB, no changes to your project code are required and setting amodeis not required.However, if you have previously been unable to use AstroDB because you required a non-Node.js libSQL client, you can now install and configure the libSQL web driver by setting
mode: 'web'in yourdbconfiguration:For more information, see the
@astrojs/dbdocumentation.v0.17.2Compare Source
Patch Changes
c24a8f4Thanks @jsparkdev! - Updatesviteversion to fix CVEv0.17.1Compare Source
Patch Changes
91283b5Thanks @Adammatthiesen! - Fixes inferred types for Astro DB tables usingcolumn.textfields.v0.17.0Compare Source
Minor Changes
#14190
438adabThanks @Adammatthiesen! - Adds support for enum support for text columns in Astro DB tables.v0.16.1Compare Source
Patch Changes
9fe883eThanks @Adammatthiesen! - Fixes types for optional and primary key columns in Astro DB tables.v0.16.0Compare Source
Minor Changes
#13894
b36e72fThanks @florian-lefebvre! - Removes support for Astro StudioAstro Studio has been discontinued since September 2024. If you still haven't migrated yet to Turso, check our guide.
withastro/astro (@astrojs/mdx)
v4.3.13Compare Source
Patch Changes
d8305f8]:v4.3.12Compare Source
Patch Changes
e1dd377Thanks @ematipico! - Removespicocolorsas dependency in favor of the forkpiccolore.v4.3.11Compare Source
Patch Changes
v4.3.10Compare Source
Patch Changes
#14715
3d55c5dThanks @ascorbic! - Adds support for client hydration ingetContainerRenderer()The
getContainerRenderer()function is exported by Astro framework integrations to simplify the process of rendering framework components when using the experimental Container API inside a Vite or Vitest environment. This update adds the client hydration entrypoint to the returned object, enabling client-side interactivity for components rendered using this function. Previously this required users to manually callcontainer.addClientRenderer()with the appropriate client renderer entrypoint.See the
container-with-vitestdemo for a usage example, and the Container API documentation for more information on using framework components with the experimental Container API.v4.3.9Patch Changes
e3175d9Thanks @GameRoMan! - Updatesviteversion to fix CVEv4.3.8Patch Changes
#14591
3e887ecThanks @matthewp! - Adds TypeScript support for thecomponentsprop on MDXContentcomponent when usingawait render(). Developers now get proper IntelliSense and type checking when passing custom components to override default MDX element rendering.#14598
7b45c65Thanks @delucis! - Reduces terminal text styling dependency size by switching fromkleurtopicocolorsv4.3.7Compare Source
Patch Changes
v4.3.6Compare Source
Patch Changes
withastro/astro (@astrojs/react)
v4.4.2Compare Source
Patch Changes
#14715
3d55c5dThanks @ascorbic! - Adds support for client hydration ingetContainerRenderer()The
getContainerRenderer()function is exported by Astro framework integrations to simplify the process of rendering framework components when using the experimental Container API inside a Vite or Vitest environment. This update adds the client hydration entrypoint to the returned object, enabling client-side interactivity for components rendered using this function. Previously this required users to manually callcontainer.addClientRenderer()with the appropriate client renderer entrypoint.See the
container-with-vitestdemo for a usage example, and the Container API documentation for more information on using framework components with the experimental Container API.v4.4.1Compare Source
Patch Changes
e3175d9Thanks @GameRoMan! - Updatesviteversion to fix CVEv4.4.0Compare Source
Minor Changes
#14386
f75f446Thanks @yanthomasdev! - Stabilizes the formerly experimentalgetActionState()andwithState()functions introduced in@astrojs/reactv3.4.0 used to integrate Astro Actions with React 19'suseActionState()hook.This example calls a
likeaction that accepts apostIdand returns the number of likes. Pass this action to thewithState()function to apply progressive enhancement info, and apply touseActionState()to track the result:You can also access the state stored by
useActionState()from your action handler. CallgetActionState()with the API context, and optionally apply a type to the result:If you were previously using this experimental feature, you will need to update your code to use the new stable exports:
// src/components/Form.jsx import { actions } from 'astro:actions'; -import { experimental_withState } from '@​astrojs/react/actions'; +import { withState } from '@​astrojs/react/actions'; import { useActionState } from "react";// src/actions/index.ts import { defineAction, type SafeResult } from 'astro:actions'; import { z } from 'astro:schema'; -import { experimental_getActionState } from '@​astrojs/react/actions'; +import { getActionState } from '@​astrojs/react/actions';withastro/astro (@astrojs/rss)
v4.0.14Compare Source
Patch Changes
e1dd377Thanks @ematipico! - Removespicocolorsas dependency in favor of the forkpiccolore.v4.0.13Compare Source
Patch Changes
7b45c65Thanks @delucis! - Reduces terminal text styling dependency size by switching fromkleurtopicocolorswithastro/astro (astro)
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"] }] } })Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) 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 has been generated by Renovate Bot.