Skip to content

Commit e7ea677

Browse files
committed
chore(deps): upgrade astro from 6.4.8 to 7.0.2
Astro 7 brings Vite 8 and the new Rust-based compiler as default. The Rust compiler is stricter about invalid HTML, so a pre-flight audit was done on the codebase: 0 occurrences of <div> inside <p>, 0 <a> inside <a>, 0 <button> inside <button>. Result: Rust compiler accepts all 10 pages (3 locales + 7 sections) without errors. compressHTML: true is set explicitly in astro.config.mjs to keep the v6 whitespace behavior (the v7 default of 'jsx' strips spaces between inline elements, which would be a visual change for any adjacent inline markup added in the future). Peer warning from @lucide/astro 1.21.0 (peer: ^4 || ^5 || ^6) is expected and non-blocking: the package works at runtime, the maintainer just hasn't bumped the peer range to include ^7 yet. Will resolve itself when @lucide/astro publishes a new version. Verified: astro check 0/0/0, all 10 pages return 200, social icons with currentColor render correctly, ClientRouter + hreflang + i18n all working.
1 parent 3f41424 commit e7ea677

3 files changed

Lines changed: 692 additions & 168 deletions

File tree

astro.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import sitemap from '@astrojs/sitemap'
55
export default defineConfig({
66
site: 'https://2026.es.pycon.org',
77
base: '/',
8+
compressHTML: true,
89
integrations: [sitemap()],
910
vite: {
1011
plugins: [tailwindcss()],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@lucide/astro": "1.21.0",
2323
"@tailwindcss/vite": "4.3.1",
2424
"animejs": "4.5.0",
25-
"astro": "6.4.8",
25+
"astro": "7.0.2",
2626
"tailwindcss": "4.3.1"
2727
},
2828
"devDependencies": {

0 commit comments

Comments
 (0)