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.
- Changes fallback image path from sink.png to icon.png
- Adds lazy loading attribute to improve performance
- Fixes v-slot syntax in metrics list component
- Updates "No more" text to "No more links" for clarity
- Downgrade @nuxthub/core from ^0.8.10 to 0.7.11 for compatibility.
- Upgrade nuxt from ~3.12.4 to ~3.13.2 to incorporate recent improvements.
- Update rollup version in various dependencies to 4.18.0 for better performance and stability.
- Adjust pnpm-lock.yaml to reflect changes in package versions and dependencies.
These updates aim to enhance stability and performance while ensuring compatibility across the project.
Reverts nuxt to a more stable version by downgrading from 3.14.1592 to 3.12.4 to avoid potential breaking changes and instability issues with the beta release.
Adjusts pnpm lockfile to reflect version change and dependencies.
Integrates @number-flow/vue for smoother counter animations
Improves visibility state with opacity and blur adjustments
Removes unused static increment comments
Improves reliability of link loading functionality:
- Adds error state and handling for failed API requests
- Implements retry mechanism with user-facing error message
- Prevents infinite loading when errors occur
- Defers search API call to mounted hook
These changes enhance user experience by providing clear feedback and recovery options when link loading fails.
Expands the limit of the KV.list call from 1 to 1000.
This enhancement allows for more efficient data retrieval, reducing the number of requests needed to fetch all relevant entries.
Improves performance in scenarios with a large number of links.
Substitutes the existing search component with a lazy-loading version to improve performance and loading times.
Enhances user experience by ensuring that search functionality loads only when needed.
Merges the case sensitivity feature description into the customizable slug feature section for better organization and clarity. This consolidation simplifies the feature list while maintaining all functionality information
Adds logging when a case-insensitive URL slug fallback is attempted. This helps track when and how often the fallback mechanism is used.
Also improves code readability by renaming variable to match camelCase convention.
Enhances link edit endpoint by including a fully-qualified short link URL in the response, constructed from request protocol and host alongside the slug
Returns link object separately from shortLink in response to maintain clearer API structure and prevent unnecessary data duplication in the response payload
Enhances the link creation API response by including a formatted short link URL
Combines protocol, host, and slug to create a complete, ready-to-use short URL
Moves undefined fallback from client to server side for cursor parameter
Ensures consistent pagination behavior when fetching links from KV storage
This prevents potential edge cases where undefined cursor values could be handled differently between client and server.
Replaces the cursor value in the API request with `undefined` if it is falsy. This prevents potential issues with null values being sent in the query, ensuring a more reliable API interaction.
Improves overall stability when fetching link data from the server.