2023-01-15
週刊 Astro 9
[email protected]
[email protected] がプレリリースされました:
Release [email protected] · withastro/astro · GitHub
The all-in-one web framework designed for speed. ⭐️ Star to support our work! - Release [email protected] · withastro/astro
github.com
予告されていた変更がいくつか取り込まれたようです:
- Content Collections の experimental が外れた
- Content Collections により生成された型の格納先が
.astro
ディレクトリへと変更された - Content Collections のスキーマ定義を
z.object
によりラップする必要が生じた - Node 14 サポートがドロップされた (>=16.12.0 がミニマムのサポート対象)
- ビルドしたアセットの格納先が
_assets
ディレクトリへと固定された
などが主な変更点のようです。
Upgrade Guide
v2 へのアップグレードガイドが以下の PR にてドラフト公開されました:
[upgrade guide] [i18nIgnore] Add upgrade to v2 guide + moving pieces by sarah11918 · Pull Request #2330 · withastro/docs · GitHub
Creates an "Upgrade v1 -> v2" guide, and makes all the necessary infrastructure changes:
adds "Upgrade to v2" in the Start Here section of the nav bar
creates a new /guides/upgrade-to/v2.mdx page
renames the previous migrate.mdx file to /guides/upgrade-to/v1.mdx (this can eventually be deleted if we decide. "migrating to older versions?" link will go to a fixed GitHub commit version of this file so that it can be removed from docs)
redirects /en/migrate/ and older existing /en/migrate/0.21.0 redirect to /en/guides/upgrade-to/v2 in netlify.toml instead of an Astro page file.
references this guide on the Getting Started docs landing page
Thank you @delucis for suggestions re: finer strategy points!
[x ] TODO: Write the content! 😅
(Will start by mostly faithfully reproducing Changelog content; update to better "guide" content incrementally.)
ALSO TODO:
Convert code samples to Docs (not GitHub) format
Decide/consitenc-ize how we refer to Astro versions
~~[x] reference new guide on main Getting Started page ~~ (Will make separate PR that's not ignored by translators)
decide for sure if this belongs in root, or under "guides"
if under guides, then update netlify.toml redirects
decide whether to link to old v1 upgrade guide on GitHub or in docs (currently GitHub)
github.com
現時点で v2 の変更内容が最もよくまとまっている資料となっています。まだマージされておらず、コミュニティからのコメントも受け付けておりこれから調整が入るかとは思いますが、一読の価値はあります。以下の URL からご確認ください:
State of JS 2022
State of JS 2022 の結果が公開されました:
State of JavaScript 2022
The 2022 edition of the annual survey about the latest trends in the JavaScript ecosystem.
2022.stateofjs.com
Astro は開発者の Retention や Interest で首位となるなど、非常に高い評価を得ているようです。
その他
- Astro Community Call 10th January 2023