Skip to content

Latest commit

 

History

History
776 lines (313 loc) · 17.3 KB

CHANGELOG.md

File metadata and controls

776 lines (313 loc) · 17.3 KB

4.1.1 (2020-03-01)

Bug Fixes

  • Re-export URLParamsEncodingType from path-parser package

4.1.0 (2020-03-01)

Bug Fixes

  • Fix of previous release, an error is now thrown when calling buildPath with a non-existing node.

4.0.0 (2020-03-01)

Features

  • Maintain project and dependencies (#28) (7637f06)
  • New match and build option urlParamsEncoding to choose how URL params are encoded and decoded (see README)

BREAKING CHANGES

  • Default export has been removed, use named import instead: import { RouteNode } from 'route-node'
  • Constructor signature has changed to become: new RouteNode(nodeName, path, children, options). See README.

3.4.2 (2018-10-16)

Bug Fixes

  • fix TypeError when there is no match for path (338df8c)

3.4.1 (2018-10-04)

Bug Fixes

  • fix path with a plus character not matched (a3261e8)

3.4.0 (2018-08-06)

Features

  • add a method to sort all descendants (1e2f4b7)

Performance Improvements

  • improve route addition performance by controlling when sorting is performed (07430f0)

3.3.0 (2018-07-11)

Features

  • update path-parser to v4.2.0 (6044593)

3.2.1 (2018-06-05)

Bug Fixes

  • pass query param options on partial tests (068a146)
  • update search-params and path-parser to decode unicode values when parsing (7a1c0b9)

3.2.0 (2018-05-14)

3.1.2 (2018-05-14)

3.1.1 (2018-05-01)

Bug Fixes

  • pass query params options to parse and build functions (fea47d7)

3.1.0 (2018-04-19)

Features

  • expose caseSensitive option from path-parser (ff3fcb8)

3.0.3 (2018-04-09)

Bug Fixes

  • update version of path-parser to v4.0.4 (unencoded pipes in FF) (81dc94a)

3.0.2 (2018-04-03)

Bug Fixes

  • update path-parser to v4.0.3 (6c3a6ca)

3.0.1 (2018-04-03)

Bug Fixes

  • link typings to the right file (59e2eef)

3.0.0 (2018-04-02)

Version 3 is a refactoring of options: below is the gist, but make sure to read the docs!

BREAKING CHANGES

  • 'trailingSlash' has been renamed to 'strictTrailingSlash'
  • 'useTrailingSlash' has been renamed to 'trailingSlashMode' with value being 'default', 'never' or 'always'
  • 'strictQueryParams' has been renamed to 'queryParamsMode' with value being 'default', 'strict' or 'loose'

2.0.3 (2018-03-05)

  • Ensure that order of routes that cannot be disambiguated is preserved (6b58877)

2.0.2 (2017-11-16)

2.0.1 (2017-11-16)

2.0.0 (2017-11-16)

Breaking changes

  • AMD build no longer provided, use UMD instead

1.11.0 (2017-11-08)

Features

  • update path-parser to latest version (0a47563)

1.10.0 (2017-10-15)

Bug Fixes

  • strip content of regexes from path before sorting (#14) (0166747)

1.9.0 (2017-10-05)

Features

  • treat repeating slashes as pathless paths (#13) (4a8a41f)

1.8.5 (2017-08-10)

Bug Fixes

  • prevent empty arrays to be serialised in search part (af201c4)

1.8.4 (2017-08-07)

Bug Fixes

  • don't remove trailing slash of / if useTrailingSlash is set to false (61f4b21)

1.8.3 (2017-08-04)

Bug Fixes

  • build path correctly when 'trailingSlash' is set and with query params (f7a18b0)

1.8.2 (2017-04-08)

Bug Fixes

  • fix path matching when trailing slash and not strict query params (717823d)

1.8.1 (2017-01-19)

Bug Fixes

  • avoid re-creating nodes to preserve absolute paths (562eeb1)

1.8.0 (2017-01-13)

Bug Fixes

  • support strictQueryParams option when building paths (0c45a50)

1.7.2 (2016-12-26)

Bug Fixes

  • callback with fully resolved route name (after adding a route) (ca64573)

1.7.1 (2016-11-01)

1.7.0 (2016-10-13)

Features

  • support 'strongMatching' option (ae1b7ff)

1.6.1 (2016-10-13)

Bug Fixes

  • update path-parser version (5cf8265)

1.6.0 (2016-10-12)

Features

  • update to v2.0.0 of path-parser (f299327)

1.5.2 (2016-10-04)

Bug Fixes

  • fix code syntax issue, causing issue when not matching on IE (4e82d0f)

1.5.1 (2016-10-04)

Bug Fixes

  • match deeply nested '/' paths with query parameters (9810cfd)

1.5.0 (2016-10-02)

Features

  • automatically match deep routes with path = '/' (c78227d)
  • support absolute paths for nested routes (f117c57)

1.4.7 (2016-09-11)

Bug Fixes

  • update to next version of search-params, fix issue with undefined or null query params (1207804)

1.4.6 (2016-08-09)

1.4.5 (2016-08-08)

Bug Fixes

  • in non strictQueryParams mode, serialise extra query params to returned matched (c8c7de3)

1.4.4 (2016-08-08)

Bug Fixes

1.4.3 (2016-07-21)

Bug Fixes

  • make sure query params are encoded (dc24062)

1.4.2 (2016-07-20)

Bug Fixes

  • pass route registration callback when adding children routes (5f58852)

1.4.1 (2016-03-29)

Bug Fixes

1.4.0 (2016-03-29)

Bug Fixes

  • ordering of siblings routes for matching (6719d2e)

1.3.4 (2016-02-18)

1.3.3 (2016-02-17)

Bug Fixes

  • computing remaining search parameters when multiple values (2d3bbc5)

1.3.2 (2016-01-27)

Bug Fixes

  • properly check for duplicated route names and paths (bfc843b)

1.3.1 (2016-01-26)

Bug Fixes

  • don't allow match on root unamed node (b60b5ea)

1.3.0 (2016-01-18)

Features

1.2.1 (2016-01-18)

Bug Fixes

  • fix issue with building state and paths for non-empty root nodes (07a48e8)

1.2.0 (2016-01-15)

Features

  • support path for root node (a834d0f)

1.1.0 (2016-01-07)

Bug Fixes

  • fix ordering of children when matching routes (c917f6f)

Features

  • support callbacks for successfully added routes (requested by router5) (f71f4a5)

1.0.2 (2016-01-06)

Bug Fixes

  • fix ordering of children when matching routes (c917f6f)

1.0.1 (2016-01-05)

1.0.0 (2016-01-05)

Features

  • support query parameters with square brackets (781470f)

0.6.0 (2016-01-01)

Features

  • add support for non strict query parameters (9fc326b)

0.5.2 (2015-12-01)

Bug Fixes

  • use full names in meta data to avoid collisions (038fa1e)

0.5.1 (2015-11-30)

Features

  • add buildState function (6378331)

0.5.0 (2015-11-30)

Features

  • add meta data about parameters and their position in match object (d95fb92)

0.4.3 (2015-11-24)

Bug Fixes

  • encode and decode query parameters special characters (6ac4196)

0.4.2 (2015-10-18)

Bug Fixes

  • don't use array destructuring to avoid the use of Symbol (f9dfd57)

0.4.1 (2015-10-11)

0.4.0 (2015-10-11)

Features

  • add support for arrays in query parameters (path-parser 0.4.x) (951f8ae)

0.3.2 (2015-09-04)

Bug Fixes

  • don't try to build a path out of a null list of segments (d1817c3)

0.3.1 (2015-09-04)

0.3.0 (2015-09-04)

Features

  • allow nested query parameters (e072d8b)
  • build paths with nested query parameters (99965a1)

0.2.3 (2015-09-01)

0.2.2 (2015-08-20)

0.2.1 (2015-08-19)

0.2.0 (2015-08-19)

Features

  • support optional trailing slashes when matching (f9dcad6)

0.1.5 (2015-07-29)

Bug Fixes

  • improve matching order of node children (4f4aa47)

0.1.4 (2015-07-24)

Bug Fixes

  • don't return booleans in comparison function (IE) (58a786a)

0.1.3 (2015-07-23)

Features

  • improve matching by sorting routes by path length (37165bd)

0.1.2 (2015-07-22)

0.1.1 (2015-07-08)

Bug Fixes

  • ordering of paths by param type (2921f63)

0.1.0 (2015-07-06)

0.0.8 (2015-07-02)

Features

  • add addNode method and constructor / methods chaining (6dedab2)

0.0.7 (2015-07-01)

0.0.6 (2015-07-01)

Bug Fixes

  • bug when matching path of node with children (525b79e)

0.0.5 (2015-06-30)

0.0.4 (2015-06-30)

0.0.3 (2015-06-29)

Features

  • split API functions in 'get segments' + 'extract info from segments' to suit rou (3d81b06)

0.0.2 (2015-06-28)

Features

  • add full path matching against tree (b65fb06)
  • include path-parser npm module (8034208)
  • include this node in matching if it has a parser (4547126)
  • push splats to the end of a children list (1c5e498)