Skip to content

Releases: zth/rescript-relay-router

[email protected]

07 Oct 16:57
ecb9fec

Choose a tag to compare

Patch Changes

  • 61d1fde: Add exact (defaulting to false) arg to route usePathParams fns.

[email protected]

23 Sep 12:02
757765f

Choose a tag to compare

Patch Changes

  • 470e89c: fix prepare route when route renderer still pending

[email protected]

25 Aug 19:52

Choose a tag to compare

Major Changes

  • 0f2bf63: Require Rescript v12 and remove usage of Core

[email protected]

23 Jun 14:41
bd755c9

Choose a tag to compare

Patch Changes

  • 496ebe9: Make rescript-relay-router compatible with rescript v12

[email protected]

17 Jan 11:50
91cbc22

Choose a tag to compare

Major Changes

  • 0a1281d: use dict instead of Dict.t, requires rescript >= v11.1.0
  • 104c199: remove the unused href parameter from RelayRouter.Utils.useIsRouteActive

Minor Changes

  • 31a300e: useMemo for every query params when parsing URL
  • 0add510: use URLSearchParams to decode and encode query params
  • 1ea570a: remove query param from URL when its value is default
  • 0a1281d: remove Belt and Js and use Core (bundle CLI/vite plugins so they can be used with any suffix)

Patch Changes

  • ea3ae28: remove double en/decodeURIComponent for query params
  • 0add510: fix parseRoute for routes with only query params or only path params

[email protected]

14 Dec 20:42
5fd8e1c

Choose a tag to compare

Patch Changes

  • dd572e9: Fix issue with latest Relay version where a maximum callstack would happen.

[email protected]

13 Sep 06:38
5e522d5

Choose a tag to compare

Patch Changes

  • 561844b: Ensure query params are always fresh when updated. Removes stale closure problems, reduces generated code size, and make query param setter fns stable.
  • 2d4f46c: Optimize useMakeLinkWithPreservedPath

[email protected]

13 Sep 05:32
e9075ca

Choose a tag to compare

Minor Changes

  • 60ee186: Experimental support for query param default values.

[email protected]

19 Aug 13:46
5597e09

Choose a tag to compare

Patch Changes

  • f23f920: Fix clean needed to remove path param type annotations in route patterns emitted.

[email protected]

19 Aug 12:30
31a9631

Choose a tag to compare

Minor Changes

  • 06b041a: Allow mapping path params to type coercable from string.

Patch Changes

  • 41607a6: Allow hyphens in polyvariant match branches.