Modernizes testing infrastructure with dedicated Cloudflare Workers test pool:
- Replaces Nuxt Test Utils with @cloudflare/vitest-pool-workers
- Adds structured test organization for API endpoints
- Introduces comprehensive testing patterns and examples
- Implements schema-based test data generation with zod-mock
- Enhances test utilities with proper CF Workers environment
The new testing setup provides better isolation, more realistic worker runtime environment, and improved test data management through structured schemas and generators.
Refactors time-based filtering by combining startAt/endAt into a single time object
Adds support for additional filter types in stats API queries
Implements deep watching for both time and filter changes
Improves code organization and maintainability while enabling more flexible data filtering
Refactors URL slug case sensitivity implementation:
- Moves case conversion to creation time instead of lookup
- Updates middleware to handle case sensitivity more efficiently
- Adds configuration docs for case sensitivity and list query limits
- Simplifies nanoid implementation to always use lowercase
This change improves performance and consistency in URL handling while maintaining backwards compatibility with existing links.
Extracts list query limit into runtime configuration
Updates default pagination limit in query schema
Makes the list query limit configurable across the application rather than hardcoding it to 500, improving flexibility for different deployment scenarios.