Skip to content

Latest commit

 

History

History
395 lines (210 loc) · 15.6 KB

CHANGELOG.md

File metadata and controls

395 lines (210 loc) · 15.6 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2.1.5 (2020-10-09)

Bug Fixes

  • router: errors introduces by 5a1983fafdba5eb18bef4b3c265029fdf5697589 (5feaa56)
  • router: typescript errors (5a1983f)

2.1.4 (2020-08-12)

Note: Version bump only for package @profiscience/knockout-contrib-router

2.1.3 (2020-02-04)

Bug Fixes

  • router: anchor tag descendant click regression (57b0828)
  • router: correctly parse path when it contains base path (817a242)

2.1.2 (2019-12-12)

Note: Version bump only for package @profiscience/knockout-contrib-router

2.1.1 (2019-12-11)

Bug Fixes

  • router: attach ctx.hash and ctx.search to all routers (1e67d41)

2.1.0 (2019-12-11)

Features

  • router: add ctx.search and ctx.hash (7186c3e)

2.0.10 (2019-12-06)

Bug Fixes

  • router: allow querystring modification in beforeDispose middleware (2ae85e1)

2.0.9 (2019-11-27)

Note: Version bump only for package @profiscience/knockout-contrib-router

2.0.8 (2019-10-22)

Note: Version bump only for package @profiscience/knockout-contrib-router

2.0.7 (2019-08-07)

Note: Version bump only for package @profiscience/knockout-contrib-router

2.0.6 (2019-06-13)

Note: Version bump only for package @profiscience/knockout-contrib-router

2.0.5 (2019-06-04)

Note: Version bump only for package @profiscience/knockout-contrib-router

2.0.4 (2019-04-23)

Bug Fixes

2.0.3 (2019-04-23)

Note: Version bump only for package @profiscience/knockout-contrib-router

2.0.2 (2019-03-14)

Bug Fixes

  • router: Don't preserve history.state on navigation (by default) (82a658a)

2.0.1 (2019-03-01)

Bug Fixes

  • router: afterRender middleware not ran during redirect in nested intermediate routes (e79616f)

2.0.0 (2019-02-22)

Note: Version bump only for package @profiscience/knockout-contrib-router

2.0.0-rc.14 (2019-02-19)

Bug Fixes

  • router: Dispose initiated child middleware during redirection (f3fa252)

2.0.0-rc.13 (2019-02-13)

Bug Fixes

  • router: Bug w/ nested routing re: updated path-to-regexp version (53e5f03)
  • router: Handle race-condition navigation (navigating while middleware is executing) (1bbaf3e)

2.0.0-rc.12 (2019-02-03)

Note: Version bump only for package @profiscience/knockout-contrib-router

2.0.0-rc.11 (2018-11-29)

Features

  • router/query: Add preserveQueryString configuration option to improve interop (09fe11e)

2.0.0-rc.10 (2018-10-22)

Bug Fixes

  • router: Reload route when navigated to w/ different params (b935806), closes #142

2.0.0-rc.9 (2018-10-19)

Bug Fixes

  • router: Correctly handle ambiguous routing when route appears to be the same, but isn't (#141) (6c06eb3)

2.0.0-rc.8 (2018-10-04)

Note: Version bump only for package @profiscience/knockout-contrib-router

2.0.0-rc.7 (2018-08-16)

Bug Fixes

  • router: Remove "sideEffects: false" from package.json (88a0533)

2.0.0-rc.6 (2018-08-08)

Bug Fixes

  • router: Don't block navigation if same path but diff search/hash (3af60b8)

2.0.0-rc.5 (2018-08-08)

Bug Fixes

  • router: Prevent re-render for same-page navigation (332154c), closes #97

2.0.0-rc.4 (2018-07-20)

Bug Fixes

  • Add babel-runtime dep, remove unnecessary tslib dep (9fca55a)

Features

  • router: Add state option for Router.update(); Use popstate event's state on back navigation (6eedb5d), closes #107

    <a name="2.0.0-rc.3"></a>
    

2.0.0-rc.3 (2018-07-13)

Note: Version bump only for package @profiscience/knockout-contrib-router

2.0.0-rc.2 (2018-07-03)

Reverts

  • router: Add back support for generator/iterator middleware (a1daf07)

2.0.0-rc.1 (2018-06-29)

Reverts

  • router: Add back support for generator/iterator middleware (a1daf07)

2.0.0-rc.0 (2018-06-28)

Chores

  • router: Upgrade to KnockoutJS 3.5.0-rc (be14d20)

Features

  • router: Path binding partial matching (cdd026c), closes #64
  • router: Use new descendantsComplete binding event to delay afterRender until all descendants c (ccc6b74)

Reverts

  • router: Focus middleware API (remove done callback syntax and generator middleware support) (800625c)

BREAKING CHANGES

  • router: Removed generator middleware API and done callback support for async in middleware and beforeNavigateCallbacks
  • router: Requires KnockoutJS 3.5.0-rc
  • router: Require KnockoutJS 3.5.0-rc for TypeScript consumers

1.3.0 (2018-06-28)

Features

  • router: Support wildcard matching for activePath binding (and path binding) (f10f96a)

Changelog

1.2.0

Added

  • Static Router.isNavigating observable for determining if any routers are navigating

Changed

  • Clear history.state on Router.update, unless push: false

1.1.0

Added

  • router.depth property
  • Can now create and register route instances directly
  • All Middleware types are now exported (SimpleMiddleware, LifecycleObjectMiddleware, GeneratorMiddleware)

Removed

  • NormalizedRouteConfig type
  • NormalizedRouteMap type

Changed

  • Router.usePlugin() moved to Route.usePlugin

Internal

  • When using object shorthand, routes are initialized on registration instead of initialization

1.0.0 (ko-component-router => @profiscience/knockout-contrib-router)

Changed

  • Convert to monorepo
  • Rename router component to router
  • Import is now @profiscience/knockout-contrib-router
  • ko-component-router-view class changed to router-view
  • Support chaining on router — Router.setConfig(...).use(...).use(...).useRoutes(...)

Added

  • Began work on first-class TypeScript support (noImplicitAny, introduce IContext)
  • activePath binding for applying a class to an element when a path is active
  • ctx.element for accessing the routed view container

Fixed

  • Support transpiled (async) generator middleware

Internal

  • Migrated build system from Fly to Taskr
  • Migrated from Coveralls to Codecov

FROM https://github.com/Profiscience/ko-component-router

5.0.1

Fixed

  • Incorrect tslib dependency

5.0.0

Changed

Removed

  • Ability to pass routes as component parameters to nested routers

4.4.4

Fixed

  • deeply nested child afterDispose middleware not being called

4.4.3

Fixed

  • querystring and hash being wiped out in child routes on popstate
  • child afterDispose middleware not being called

4.4.2

Fixed

  • Navigating to same route w/ different params caused issues w/ middleware execution order — #164

4.4.1

Added

  • examples! 🍻

Fixed

  • Basepath not working correctly with hashbang (appended instead of prepended) — #156
  • Landing on / in hashbang mode did not redirect to /#!/

4.4.0

Added

  • Router.initialized

Fixed

  • afterRender middleware in child routers being ran twice
  • path binding not usable from parent component when wrapped — #157

4.3.1

Fixed

  • Navigating to url w/ query or hash wiped out said query or hash

4.3.0

Added

  • Router.setConfig
  • Router.useRoutes
  • router.$parents
  • ctx.$parents
  • router.$children
  • ctx.$children

Fixed

  • Options to router.update were not being passed down to children when applicable
  • Child afterRender middleware was not being ran when parent navigated away

4.2.0

Added

  • with option for router.update

4.1.0

Added

  • Router.head and Router.tail accessors

4.0.1

Changed

  • Middleware execution order; beforeRender middleware is now called before preceding page's afterRender, preventing a blank page while async middleware is executing

Fixed

  • IE9-11 pathname parsing #132

4.0.0

See Migrating from 3.x to 4.x