Skip to content

Releases: swipely/aviator

Support cmd+clicking links

16 Oct 13:57
Compare
Choose a tag to compare
Merge pull request #32 from swipely/dont_hijack_cmd_click

Dont hijack links when cmd+clicking

Add Exit Actions

12 Sep 20:14
Compare
Choose a tag to compare

When ever a route is matched collect exit methods to run when leaving that action on later time.
This is useful for cleaning up things like setIntervals.

Here is an example configuration:

Aviator.setRoutes({
  '/campaigns': {
    target: CampaignsTarget,
    '/': 'index',
    '/add': { method: 'add', exit: 'addExit' }
  }
});

Fix to resolve fragment match failures at ends of a URI

30 Aug 18:38
Compare
Choose a tag to compare

Browser history includes initial page load for all browsers

21 Aug 21:15
Compare
Choose a tag to compare

Chrome stopped firing the onPopState event on initial page load. This release stops correcting for that event.

Decode uri components

26 Jul 18:29
Compare
Choose a tag to compare
v0.3.3

Merge pull request #24 from swipely/fix_query_param_not_decoding_uri_…

Encode named paerams

22 Jul 14:13
Compare
Choose a tag to compare
v0.3.2

encodeURIComponent for named params

Complete params support for Aviator.navigate

22 Jul 13:50
Compare
Choose a tag to compare
Merge pull request #23 from swipely/navigate_with_named_params

Navigate with named params

Aviator.navigate improvements

17 Jul 14:08
Compare
Choose a tag to compare

Use Aviator.navigate to serialize queryParams into the query string like so:

// navigate to url to "/users?filter[]=1&filter[]=2"
Aviator.navigate('/users', { queryParams: { filter: [1,2] }});

Change the URI without triggering your RouteTarget action to be called:

Aviator.navigate('/users', { silent: true });