Skip to content

Releases: erictaylor/yarr

v3.0.0

02 Jun 22:12
2832529
Compare
Choose a tag to compare

3.0.0 (2023-06-02)

Bug Fixes

  • include correct source maps to built yarr (39bb86a), closes #39
  • wildcard matchRegexRoute to $rest (08f0dac), closes #37

Features

  • upgrade minimum node version support to v16 (f00a075)

BREAKING CHANGES

  • Minimum Node version support is now v16 or greater.

v3.0.0-beta.2

02 Jun 20:17
39bb86a
Compare
Choose a tag to compare
v3.0.0-beta.2 Pre-release
Pre-release

3.0.0-beta.2 (2023-06-02)

Bug Fixes

  • include correct source maps to built yarr (39bb86a), closes #39

v3.0.0-beta.1

02 Jun 20:12
3abcf0b
Compare
Choose a tag to compare
v3.0.0-beta.1 Pre-release
Pre-release

3.0.0-beta.1 (2023-06-02)

Bug Fixes

  • wildcard matchRegexRoute to $rest (08f0dac), closes #37

Features

  • upgrade minimum node version support to v16 (f00a075)

BREAKING CHANGES

  • Minimum Node version support is now v16 or greater.

v2.0.4

01 Feb 22:31
8dafb14
Compare
Choose a tag to compare

2.0.4 (2022-02-01)

Bug Fixes

v2.0.3

24 Jan 19:36
5b6a69a
Compare
Choose a tag to compare

2.0.3 (2022-01-24)

Bug Fixes


This version does not contain any code changes and was purely documentation updates.

v2.0.2

06 Oct 09:15
Compare
Choose a tag to compare

2.0.2 (2021-10-06)

Bug Fixes

  • memoize useNavigation hook (e52efbc)

v2.0.1

16 Sep 20:23
8e6c313
Compare
Choose a tag to compare

2.0.1 (2021-09-16)

Bug Fixes

v2.0.0

16 Sep 20:24
5195bed
Compare
Choose a tag to compare

2.0.0 (2021-09-16)

Bug Fixes

  • add export for Link from index (87b8c9a)
  • cjs build write index after esbuild (cc3e672)
  • do not throw on bad preloadCode or warmRoute call (1d5a661)
  • encodeURIComponent search query values in sortAndStringifySearchParameters (0da0cb5)
  • history navigate location hash/search reset (96bacb8)
  • patch createHref with own stub (981d80f)
  • stringify search params joiner (82f6383)
  • stub history createHref push and replace (dd73957)
  • routesToEntryMap: only pass redirectRules to children from parent route (3bc0e32)

chore

  • change package version to 2.0.0 (5aeae0e)

Features

  • add logger (5f11fbc)
  • add Redirect compatibility component (efd6952)
  • add rendererInitialized to context (35e83cb)
  • add RouteProps type and export types from index (58bdb88)
  • add RouteRenderer (657c38a)
  • add routeWrapper prop to RouteRenderer (d4f709c)
  • add state support on Link and Redirect (11022a5)
  • add SuspenseResource (e1501ef)
  • add transition completion callback and subscription (1f3e049)
  • add useRouteProps hook (1293ab6)
  • add useToggleBlock hook (027db47)
  • adjust preload typing (d255812)
  • displayName and expose history listen (7eb8b53)
  • do not combine named and search params (f91920f)
  • do not overwrite history by object spread (0e1533c)
  • exact match query string sorting in locationsMatch (53c0571)
  • export useRouteProps hook (294c721)
  • expose getCurrentRouteKey (92e927e)
  • fix cjs build React reference (1b571f2)
  • init createRouter utils, context, provider, and hooks (baa4106)
  • logger level static string keys (866014f)
  • remove tsdx dependency (16a7771)
  • rename useToggleBlock to useBlockTransition (5442f35)
  • route params are singular, not aggregate values (a784a10)
  • router subscribe options argument (c481404)
  • routeTransitionCompleted location argument (474e88e)
  • swap back to history v4 (b96b4a2)
  • swap back to new jsx transform (2223dd3)
  • transition complete callback history update arg (5512717)
  • use useTransition or shim (43255b4)
  • Link: add Link component (d498166)
  • utils: aggregateKeyValues (05da34b)
  • utils: getCanonicalPath and sortAndStringifyRequestParameters (5d0e852)
  • utils: parametersStringToObject (c73f2a3)
  • utils: prepareMatch and associates (18e95f4)
  • utils: routesToEntryMap (331d679)

BREAKING CHANGES

  • In order to have no confusion to the old yarr package
    previously published. Bumping to v2.0.0 allows users to understand this
    package is not the previous one. Also v2 aligns better with the overall
    iteration of this router from usage inside the Contra codebase.