Skip to content

Releases: d4f/backbone-highway

Add method to get current route

Choose a tag to compare

released this 13 Feb 13:00

Just an alias to Backbone.history.getFragment()

import highway from 'backbone-highway'

// Declare routes ...

const currentRoute = highway.currentRoute()

Promised routes \o/

Choose a tag to compare

released this 22 Jan 17:32

Promised based execution flow control. Check the readme ;)

Fix lodash compatibility

Choose a tag to compare

released this 31 Aug 15:29

Swapped usage of _.contains() by _.includes() to be compatible with underscore and lodash at the same time.

The new Highway!

Choose a tag to compare

released this 07 Aug 14:26

Backbone.Highway has been entirely rewritten in ES2015. With that the API and functionnalities have changed in several breaking ways.

List of changes:

  • highway.start() method takes less options than before
  • highway.go() method takes a single argument (string or object)
  • highway.go() method does not support named parameters in the args option (for now)
  • highway.route() method takes a single argument (object)
  • highway.map() method has been removed
  • No before / after triggers anymore, but a single events list for each route
  • Client-side 403 route has been removed (for now)
  • Private API is not exposed anymore
  • Original Backbone.Router instance is exposed via highway.router

Fix deps

Choose a tag to compare

released this 24 Apr 09:11

Fixed backbone dependency to 1.0.0 - 1.3.2 because of bugs between backbone and marionette.

Named parameters

Choose a tag to compare

released this 23 Apr 10:18
  • Named parameters object passed to the go method
  • Re-execute the current route with force option
  • Better support for path routing
  • Support for (very) complex route path declarations
  • Bug fixes and unit tests

Second release candidate for 0.7.0

Pre-release

Choose a tag to compare

released this 10 Mar 13:11

Added named params conversion to _parse method plus unit tests

0.7.0-rc1

0.7.0-rc1 Pre-release
Pre-release

Choose a tag to compare

released this 02 Mar 12:32

First release candidate for the 0.7.0 version

A few enhancements

  • Named parameters object passed to the go method
  • Re-execute the current route with force option
  • Better support for path routing
  • Support for (very) complex route path declarations

Quite a few bug fixes aswell and more tests !

Dev release for 0.7.0

Dev release for 0.7.0 Pre-release
Pre-release

Choose a tag to compare

released this 26 Feb 13:02

Added functionnality

  • Named parameters passed to go method

Fix optional trailing slash

Choose a tag to compare

released this 20 Jan 14:00

Just a quick fix to the path parser to permit optional trailing slashes