Skip to content

v1.7.5

Choose a tag to compare

@kieranmansfield kieranmansfield released this 04 Jun 22:17
· 86 commits to main since this release

Bug Fixes

  • Fix hydration mismatch in Progress/Circular.vue: Replaced Math.random() SVG gradient ID with Nuxt's useId() for deterministic server/client IDs
  • Fix hydration mismatch in Blog/Article.vue: Pass explicit locale to toLocaleDateString() so server and client format dates identically
  • Fix hydration mismatch in Mast/Footer.vue: Use useState for year so server value is serialised to payload rather than recomputed independently on client
  • Fix hydration mismatch in DiagnosticsPage.vue: Wrap browser capability detection in <ClientOnly> to prevent server/client content divergence
  • Fix theme layer hydration mismatches: Replaced useLocalStorage with useState in all four theme composables (useAccentColor, useThemeContrast, useThemeMotion, useThemeTransparency). Server renders with SSR-safe defaults; client plugin restores persisted preferences from localStorage post-hydration
  • Fix shader pipeline TSL errors: Wrapped all stage reduce chains in Fn(() => ...)() in Pipeline.client.vue to provide the required TSL stack context for operations like .toVar() and .assign() inside noise functions