4.1.1 (2020-03-01)
- Re-export
URLParamsEncodingType
frompath-parser
package
4.1.0 (2020-03-01)
- Fix of previous release, an error is now thrown when calling
buildPath
with a non-existing node.
4.0.0 (2020-03-01)
- Maintain project and dependencies (#28) (7637f06)
- New match and build option
urlParamsEncoding
to choose how URL params are encoded and decoded (see README)
- 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)
- fix TypeError when there is no match for path (338df8c)
3.4.1 (2018-10-04)
- fix path with a plus character not matched (a3261e8)
3.4.0 (2018-08-06)
- add a method to sort all descendants (1e2f4b7)
- improve route addition performance by controlling when sorting is performed (07430f0)
3.3.0 (2018-07-11)
- update path-parser to v4.2.0 (6044593)
3.2.1 (2018-06-05)
- 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)
- pass query params options to parse and build functions (fea47d7)
3.1.0 (2018-04-19)
- expose caseSensitive option from path-parser (ff3fcb8)
3.0.3 (2018-04-09)
- update version of path-parser to v4.0.4 (unencoded pipes in FF) (81dc94a)
3.0.2 (2018-04-03)
- update path-parser to v4.0.3 (6c3a6ca)
3.0.1 (2018-04-03)
- 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!
- '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)
- AMD build no longer provided, use UMD instead
1.11.0 (2017-11-08)
- update path-parser to latest version (0a47563)
1.10.0 (2017-10-15)
1.9.0 (2017-10-05)
1.8.5 (2017-08-10)
- prevent empty arrays to be serialised in search part (af201c4)
1.8.4 (2017-08-07)
- don't remove trailing slash of
/
ifuseTrailingSlash
is set tofalse
(61f4b21)
1.8.3 (2017-08-04)
- build path correctly when 'trailingSlash' is set and with query params (f7a18b0)
1.8.2 (2017-04-08)
- fix path matching when trailing slash and not strict query params (717823d)
1.8.1 (2017-01-19)
- avoid re-creating nodes to preserve absolute paths (562eeb1)
1.8.0 (2017-01-13)
- support strictQueryParams option when building paths (0c45a50)
1.7.2 (2016-12-26)
- callback with fully resolved route name (after adding a route) (ca64573)
1.7.1 (2016-11-01)
1.7.0 (2016-10-13)
- support 'strongMatching' option (ae1b7ff)
1.6.1 (2016-10-13)
- update path-parser version (5cf8265)
1.6.0 (2016-10-12)
- update to v2.0.0 of path-parser (f299327)
1.5.2 (2016-10-04)
- fix code syntax issue, causing issue when not matching on IE (4e82d0f)
1.5.1 (2016-10-04)
- match deeply nested '/' paths with query parameters (9810cfd)
1.5.0 (2016-10-02)
- automatically match deep routes with path = '/' (c78227d)
- support absolute paths for nested routes (f117c57)
1.4.7 (2016-09-11)
- 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)
- in non strictQueryParams mode, serialise extra query params to returned matched (c8c7de3)
1.4.4 (2016-08-08)
- don't consider matching resolved when on the root node (55e614a), closes router5/router5-persistent-params#1
1.4.3 (2016-07-21)
- make sure query params are encoded (dc24062)
1.4.2 (2016-07-20)
- pass route registration callback when adding children routes (5f58852)
1.4.1 (2016-03-29)
- remove console.log (7e2a664)
1.4.0 (2016-03-29)
- ordering of siblings routes for matching (6719d2e)
1.3.4 (2016-02-18)
1.3.3 (2016-02-17)
- computing remaining search parameters when multiple values (2d3bbc5)
1.3.2 (2016-01-27)
- properly check for duplicated route names and paths (bfc843b)
1.3.1 (2016-01-26)
- don't allow match on root unamed node (b60b5ea)
1.3.0 (2016-01-18)
- add setPath method (853d297)
1.2.1 (2016-01-18)
- fix issue with building state and paths for non-empty root nodes (07a48e8)
1.2.0 (2016-01-15)
- support path for root node (a834d0f)
1.1.0 (2016-01-07)
- fix ordering of children when matching routes (c917f6f)
- support callbacks for successfully added routes (requested by router5) (f71f4a5)
1.0.2 (2016-01-06)
- fix ordering of children when matching routes (c917f6f)
1.0.1 (2016-01-05)
1.0.0 (2016-01-05)
- support query parameters with square brackets (781470f)
- add support for non strict query parameters (9fc326b)
- use full names in meta data to avoid collisions (038fa1e)
- add buildState function (6378331)
- add meta data about parameters and their position in match object (d95fb92)
- encode and decode query parameters special characters (6ac4196)
- don't use array destructuring to avoid the use of Symbol (f9dfd57)
- add support for arrays in query parameters (path-parser 0.4.x) (951f8ae)
- don't try to build a path out of a null list of segments (d1817c3)
- support optional trailing slashes when matching (f9dcad6)
- improve matching order of node children (4f4aa47)
- don't return booleans in comparison function (IE) (58a786a)
- improve matching by sorting routes by path length (37165bd)
- ordering of paths by param type (2921f63)
- add addNode method and constructor / methods chaining (6dedab2)
- bug when matching path of node with children (525b79e)
- split API functions in 'get segments' + 'extract info from segments' to suit rou (3d81b06)