Closed renovate[bot] closed 4 months ago
[!IMPORTANT]
Auto Review Skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai review
command.
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?
This PR contains the following updates:
3.0.2
->3.1.0
Release Notes
molefrog/wouter (wouter)
### [`v3.1.0`](https://togithub.com/molefrog/wouter/releases/tag/v3.1.0): Active links, hash location `href`, automatic `ssrSearch` [Compare Source](https://togithub.com/molefrog/wouter/compare/v3.0.2...v3.1.0) This release brings some small improvements: - `Link` can now accept a function in `className` for applying styles to currently active links. [Read more](https://togithub.com/molefrog/wouter?tab=readme-ov-file#how-do-i-make-a-link-active-for-the-current-route) [#419](https://togithub.com/molefrog/wouter/issues/419) - In SSR, search string can now be extracted directly from `ssrPath`, e.g. pass `/home?a=b` to `ssrPath` and it will pre-fill `ssrSearch` [#420](https://togithub.com/molefrog/wouter/issues/420) - Finally, after more than 2 years of waiting, links have proper `href` rendered when used with hash location. Before the fix, a link pointing to `"/#users` was rendered as `` without a hash. This now can be controlled via an `hrefs` function defined on a router, but for built-in `useHashLocation` this is done automatically. See [#421](https://togithub.com/molefrog/wouter/issues/421) - Minor improvement: use `flatMap()` method to flat child element in a switch. Thanks to [abjfdi](https://togithub.com/abjfdi). See [#254](https://togithub.com/molefrog/wouter/issues/254)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.