Closed paoloricciuti closed 1 month ago
Latest commit: 801f5f301a1070edee08052bc8dc1d02b15f62d3
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
[!CAUTION]
Review failed
The pull request is closed.
The sveltekit-search-params
package has undergone a significant update, shifting its versioning from "breaking" to "major." This change reflects enhancements in functionality, particularly in the queryParameters
function, which now ensures a non-null writable return type when a defaultValue
is specified. These improvements enhance type safety, making the package more robust and user-friendly for developers working with query parameters.
Files | Change Summary |
---|---|
.changeset/poor-birds-dance.md |
Updated versioning from "breaking" to "major"; improved return type of queryParameters(defaultValue) to Writable<NonNullable<any>> . |
In the fields where bunnies prance,
A change has comeβa new advance!
WithqueryParameters
now refined,
A safer path we all will find.
So hop along, donβt be forlorn,
A brighter code awaits, reborn! πβ¨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Name | Link |
---|---|
Latest commit | 801f5f301a1070edee08052bc8dc1d02b15f62d3 |
Latest deploy log | https://app.netlify.com/sites/sveltekit-search-params/deploys/66a6798ce798870008264d5d |
Deploy Preview | https://deploy-preview-98--sveltekit-search-params.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Summary by CodeRabbit
sveltekit-search-params
package to enhance functionality, improving handling of query parameters.queryParameters
function, ensuring a non-null writable value when a default value is specified.