v2.14.0 - Test Framework Migration & Dependency Updates
What's Changed
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 testcommand - Improved test execution performance with Bun's native test runner
- Migrated from Vitest to Bun's built-in 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
- Updated core dependencies to latest versions:
-
Type Safety Improvements
- Added route path type definitions (
apps/web/src/lib/types/routes.ts) - Defined
RoutePathandNavItemtypes for improved route type safety - Removed
anytypes and used appropriate type assertions - Added
@types/bunfor Bun test module type declarations - Migrated sveltekit-superforms adapter to zod4 for Zod v4 compatibility
- Added route path type definitions (
-
Project Structure
- Moved test files:
apps/web/src/index.test.ts→apps/web/src/tests/index.test.ts - Removed Vitest-related settings from Vite configuration
- Improved code organization and maintainability
- Moved test files:
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