Conversation
# Conflicts: # nuxt.config.ts # pnpm-lock.yaml
6.3.6 fixes: - Hash propagation: buildOgImageUrl result.hash is now written to opts._hash so the prerender plugin stores it in prerenderOptionsCache - Orphaned hash URLs are gracefully skipped (prerender:generate hook clears error) instead of failing the build - Signed dynamic URLs when strict+secret are set (from 6.3.5) Removed workarounds that are no longer needed: - nitro.prerender.ignore for /_og/ paths - @nuxtjs/html-validator patch for /_og/ route skip
6.3.7 root-fixes the hash propagation bug: options._hash is now set on the original payload (not just the local copy), so the prerender plugin stores hashes and OG image prerender succeeds without orphans. Also fixes orphan cleanup (route.contents cleared for downstream hooks) so module ordering (og-image before html-validator) prevents long-title errors without needing the rule disabled. No workarounds remain: no nitro.prerender.ignore, no html-validator patch, no long-title: off.
docus 5.8.1 has OG image components without the v6 renderer suffix, which breaks the docs build with nuxt-og-image 6.x.
This reverts commit 434ed43.
docus 5.8.1 ships OG image components incompatible with nuxt-og-image v6 (missing renderer suffix). Disable og-image in docs rather than bumping docus, which introduced other CI regressions.
|
Just a heads up on this, I can't spend any more of my time resolving the ongoing conflicts. If you're interested in this work, then let's merge and improve anything else in subsequent PRs; otherwise, let's close it off. |
nuxt.config.ts
Outdated
| '/_og/d/**': getISRConfig(60 * 60 * 24), // 1 day | ||
| '/_avatar/**': { isr: 3600, proxy: 'https://www.gravatar.com/avatar/**' }, |
There was a problem hiding this comment.
Looks like it still needs allowQuery for this route
/_og/d/a_Compare+npm+packages+side-by-side,c_Compare.takumi,q_eyJwYWNrYWdlcyI6InJlYWN0LHR5cGUifQ,props_eyJwYWNrYWdlcyI6WyJyZWFjdCIsInR5cGUiXX0,emptyDescription_Compare+npm+packages+side-by-side,title_Compare+react+vs+type+-+npmx,description_~U2lkZS1ieS1zaWRlIGNvbXBhcmlzb24gb2YgcmVhY3QsIHR5cGU,p_Ii9jb21wYXJlIg.png?_query={"packages":"react,type"}
There was a problem hiding this comment.
Hm this was actually conflicting with og images native caching so we can remove it
There was a problem hiding this comment.
Yup, so we can re-implement but og image internally already provides ISR headers based on the resolved request, so it should be behaving the same. Let me confirm the logic for this, though.
There was a problem hiding this comment.
Can you please add the number of downloads, because right now the graph shows a trend, but not a specific value (which is important)
There was a problem hiding this comment.
I have re-added that, having some issues regenerating the snapshots currently with the downloads. Will return to this in a few hours.
There was a problem hiding this comment.
Snapshots updated
| }) | ||
| .catch(err => { | ||
| console.error('[og-image-package] downloads fetch failed:', downloadUrl, err?.message || err) | ||
| }) |
There was a problem hiding this comment.
Is this different with the last point in weeklyValues?
There was a problem hiding this comment.
Cleaned that up 👍
|
| 📦 Package | 📋 Versions |
|---|---|
| h3 | 5 versions
h3@2.0.1-rc.11 h3@2.0.1-rc.16 h3@2.0.1-rc.20 |
| oxc-parser | 5 versions
|
| @oxc-parser/binding-wasm32-wasi | 5 versions
|
| glob | 5 versions
|
| @rolldown/pluginutils | 5 versions
@rolldown/pluginutils@1.0.0-rc.9 |
| @oxc-project/types | 7 versions
|
| @oxc-parser/binding-android-arm64 | 5 versions
|
| @oxc-parser/binding-darwin-arm64 | 5 versions
|
| @oxc-parser/binding-darwin-x64 | 5 versions
|
| @oxc-parser/binding-freebsd-x64 | 5 versions
|
| @oxc-parser/binding-linux-arm-gnueabihf | 5 versions
|
| @oxc-parser/binding-linux-arm-musleabihf | 5 versions
|
| @oxc-parser/binding-linux-arm64-gnu | 5 versions
|
| @oxc-parser/binding-linux-arm64-musl | 5 versions
|
| @oxc-parser/binding-linux-riscv64-gnu | 5 versions
|
| @oxc-parser/binding-linux-s390x-gnu | 5 versions
|
| @oxc-parser/binding-linux-x64-gnu | 5 versions
|
| @oxc-parser/binding-linux-x64-musl | 5 versions
|
| @oxc-parser/binding-win32-arm64-msvc | 5 versions
|
| @oxc-parser/binding-win32-x64-msvc | 5 versions
|
💡 To find out what depends on a specific package, run: pnpm -r why example-package
📊 Dependency Size Changes
Warning
This PR adds 28.4 MB of new dependencies, which exceeds the threshold of 200 kB.
| 📦 Package | 📏 Size |
|---|---|
| @takumi-rs/core-linux-x64-gnu@1.0.1 | 6.9 MB |
| @napi-rs/wasm-runtime@1.1.3 | 6.2 MB |
| @takumi-rs/wasm@1.0.1 | 5.2 MB |
| nuxt-og-image@6.3.8 | 2.8 MB |
| @oxc-parser/binding-linux-x64-gnu@0.124.0 | 2.6 MB |
| nuxt-site-config@4.0.8 | 1.4 MB |
| oxc-parser@0.124.0 | 1.4 MB |
| culori@4.0.2 | 1.1 MB |
| @nuxt/devtools-kit@4.0.0-alpha.3 | 109.3 kB |
| @takumi-rs/core@1.0.1 | 70.3 kB |
| @takumi-rs/helpers@1.0.1 | 54.4 kB |
| devalue@5.7.1 | 48.8 kB |
| nuxtseo-shared@5.1.2 | 48 kB |
| @oxc-project/types@0.124.0 | 44.5 kB |
| tinyglobby@0.2.16 | 38.7 kB |
| @eslint/core@1.2.0 → @eslint/core@1.2.1 | 37.9 kB |
| tinyexec@1.1.1 | 35.4 kB |
| site-config-stack@4.0.8 | 27.4 kB |
| nuxt-site-config-kit@4.0.8 | 25.3 kB |
| call-bind@1.0.9 | 24.1 kB |
| defu@6.1.7 | 20.7 kB |
| @eslint/plugin-kit@0.7.0 → @eslint/plugin-kit@0.7.1 | 14.6 kB |
| @eslint/object-schema@3.0.4 → @eslint/object-schema@3.0.5 | 7.9 kB |
| @eslint/config-array@0.23.4 → @eslint/config-array@0.23.5 | 7.9 kB |
| @eslint/config-helpers@0.5.4 → @eslint/config-helpers@0.5.5 | 2.3 kB |
| es-abstract@1.24.1 → es-abstract@1.24.2 | 1.5 kB |
Total size change: 28.4 MB

🔗 Linked issue
#1654
🧭 Context
The previous PR was rolled back due to some Takumi stability issues. These are now solved afaik and OG Image got a v6 stable release so it's a good time to reintroduce it. (Takumi is v1 beta now so also likely stable very soon)
📚 Description
Same as before, I've resynced the UI to match recent branding changes.
sample - check PR files for more
https://npmx.dev/

https://npmx.dev/accessibility

https://npmx.dev/blog/alpha-release

https://npmx.dev/package/@nuxt/kit

https://npmx.dev/package-docs/ufo/v/1.6.3

Supersedes #2122 (rebased on latest main with CI fixes).