Skip to content

v2.14.0 - Test Framework Migration & Dependency Updates

Choose a tag to compare

@usagizmo usagizmo released this 01 Nov 21:34

What's Changed

  • ♻️ Replace vitest with bun:test in #842
  • 🔧 Fix: Update dependencies and improve type safety in #846

Improvements

  • Test Framework Migration

    • Migrated from Vitest to Bun's built-in test runner (bun:test)
    • Removed Vitest dependencies and configuration
    • Updated test scripts to use bun test command
    • Improved test execution performance with Bun's native test runner
  • Dependency Updates

    • Updated core dependencies to latest versions:
      • SvelteKit: 2.28.0 → 2.48.4
      • Svelte: 5.38.1 → 5.43.2
      • Supabase: Updated SSR and JS client libraries
      • Tailwind CSS: 4.1.11 → 4.1.16
      • Zod: 3.25.76 → 4.1.12 (major version upgrade)
    • Updated UI libraries and utilities:
      • bits-ui: 2.9.2 → 2.14.2
      • tailwind-variants: 1.0.0 → 3.1.1
      • Various ESLint plugins and development tools
  • Type Safety Improvements

    • Added route path type definitions (apps/web/src/lib/types/routes.ts)
    • Defined RoutePath and NavItem types for improved route type safety
    • Removed any types and used appropriate type assertions
    • Added @types/bun for Bun test module type declarations
    • Migrated sveltekit-superforms adapter to zod4 for Zod v4 compatibility
  • Project Structure

    • Moved test files: apps/web/src/index.test.tsapps/web/src/tests/index.test.ts
    • Removed Vitest-related settings from Vite configuration
    • Improved code organization and maintainability

Breaking Changes

  • Zod v4 Migration
    • Zod has been upgraded from v3 to v4
    • sveltekit-superforms adapter has been migrated to zod4
    • Ensure your Zod schemas are compatible with v4 API

Full Changelog: v2.13.1...v2.14.0