OLD | NEW |
1 ## app-router change log | 1 ## app-router change log |
2 | 2 |
| 3 #### master |
| 4 - Adding `hashbang` mode in addition to the existing `auto`, `hash`, and `pushst
ate`. |
| 5 - Fixed URL change bug when only changing the hash. |
| 6 |
| 7 #### 2.6.0 |
| 8 - Adding ability to bundle templates and select by ID `<app-route path="/home" i
mport="pages/bundled-templates.html" template="homepage"></app-route>`. |
| 9 - Adding `async` flag to `<app-route>` HTML imports. By default HTML imports blo
ck rendering of the page. The router waits for the link's `load` event to fire b
efore using the imported document so this will speed up rendering when navigatin
g between routes. |
| 10 |
| 11 #### 2.5.0 |
| 12 - Adding `onUrlChange="reload|updateModel|noop"` attribute to `<app-route>`. Thi
s is useful when you have nested routers and you only want to change the inner m
ost route. |
| 13 |
| 14 #### v2.4.2 |
| 15 - Fixing bug where navigating multiple times before any page finishes importing
will lose the reference to the currently loaded route (`previousRoute`) before i
t is removed from the DOM. |
| 16 - Adding `route.importLink` reference. |
| 17 |
| 18 #### v2.4.1 |
| 19 - Fixed bug where navigating to the same link twice with `core-animated-pages` w
ould remove the page after 5 seconds. |
| 20 |
3 #### v2.4.0 | 21 #### v2.4.0 |
4 - Adding globstar `**` support. | 22 - Adding globstar `**` support. |
5 - Adding relative paths `users/:userId` which is the same as `/**/users/:userId`
. | 23 - Adding relative paths `users/:userId` which is the same as `/**/users/:userId`
. |
6 | 24 |
7 #### v2.3.2 | 25 #### v2.3.2 |
8 - Fixed bug where calling `router.go('/path')` on the current path wouldn't relo
ad the page. | 26 - Fixed bug where calling `router.go('/path')` on the current path wouldn't relo
ad the page. |
9 - Switched `router.go('/path')` to fire a `popstate` event instead of directly c
alling `stateChange()` in order to support multiple routers on the same page. | 27 - Switched `router.go('/path')` to fire a `popstate` event instead of directly c
alling `stateChange()` in order to support multiple routers on the same page. |
10 | 28 |
11 #### v2.3.1 | 29 #### v2.3.1 |
12 - Fixing bug where `router.go('/path')` would replace state instead of push stat
e. | 30 - Fixing bug where `router.go('/path')` would replace state instead of push stat
e. |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 #### v0.8.1 | 87 #### v0.8.1 |
70 - Fixed bug where the regular path was being used when `pathType="hash"` was set
on the router. | 88 - Fixed bug where the regular path was being used when `pathType="hash"` was set
on the router. |
71 | 89 |
72 #### v0.8.0 | 90 #### v0.8.0 |
73 - `template` no longer required on inline template routes. | 91 - `template` no longer required on inline template routes. |
74 - Only use `app-route`s that are direct children of the router by replacing `que
rySelector()` with `firstElementChild` and iterating with `nextSibling`. | 92 - Only use `app-route`s that are direct children of the router by replacing `que
rySelector()` with `firstElementChild` and iterating with `nextSibling`. |
75 - Took internal functions off the public API and simplified parameters. | 93 - Took internal functions off the public API and simplified parameters. |
76 | 94 |
77 #### v0.7.0 | 95 #### v0.7.0 |
78 - Added the `pathType` attribute to the router. The options are `auto`, `hash`,
and `regular`. | 96 - Added the `pathType` attribute to the router. The options are `auto`, `hash`,
and `regular`. |
OLD | NEW |