Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(646)

Unified Diff: polymer_0.5.4/bower_components/app-router/changelog.md

Issue 897763002: Updated app-router to 2.4.0 (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: polymer_0.5.4/bower_components/app-router/changelog.md
diff --git a/polymer_0.5.4/bower_components/app-router/changelog.md b/polymer_0.5.4/bower_components/app-router/changelog.md
new file mode 100644
index 0000000000000000000000000000000000000000..9a6a6ba5013b0ad51247a20f6ae65579624f9b88
--- /dev/null
+++ b/polymer_0.5.4/bower_components/app-router/changelog.md
@@ -0,0 +1,78 @@
+## app-router change log
+
+#### v2.4.0
+- Adding globstar `**` support.
+- Adding relative paths `users/:userId` which is the same as `/**/users/:userId`.
+
+#### v2.3.2
+- Fixed bug where calling `router.go('/path')` on the current path wouldn't reload the page.
+- Switched `router.go('/path')` to fire a `popstate` event instead of directly calling `stateChange()` in order to support multiple routers on the same page.
+
+#### v2.3.1
+- Fixing bug where `router.go('/path')` would replace state instead of push state.
+
+#### v2.3.0
+- Adding `typecast="auto|string"` option on the `app-router`. Path variables and query parameters are typecast to numbers, booleans, and unescaped strings by default. Now you can get the raw string with `typecast="string"`.
+- Optimized hash fragment changes so that if only the hash fragment changes it will scroll to the fragment and not reload the entire page.
+
+#### v2.2.1
+- Fixing bug where the `before-data-binding` event wasn't using the updated model if the entire model was replaced.
+
+#### v2.2.0
+- Added ability to scroll to hash fragment on navigation. For example, `http://example.com/#/page1#middle` will now scroll to an element with `id="middle"` or `name="middle"`.
+
+#### v2.1.0
+- Added data binding to `<template>` tags when Polymer (`TemplateBinding.js`) is present.
+- Added `bindRouter` attribute to pass the router to the `app-route`'s page.
+- Added `before-data-binding` event to add properties to a model before it's bound to the route's custom element or template.
+- Fixed a `core-animated-pages` bug where multiple URLs matched the same `app-route` (ex: `path="/page/:num"` and paths `/page/1`, `/page/2`).
+
+#### v2.0.4
+- The move from `platform.js` to `webcomponents.js` removed the `URL()` constructor polyfill. The v2.0.3 fix created a bug in Safari when parsing the URL. This fixes Safari.
+
+#### v2.0.3
+- The move from `platform.js` to `webcomponents.js` removed the `URL()` constructor polyfill https://github.com/Polymer/webcomponentsjs/issues/53. IE doesn't support the `URL()` constructor yet so this fix is adding URL parse support for IE.
+
+#### v2.0.2
+- Fixing [issue 19](https://github.com/erikringsmuth/app-router/issues/19) using best effort approach. Use `template.createInstance()` if Polymer is loaded, otherwise use `document.importNode()`.
+
+#### v2.0.1
+- Fixing bug where multiple `<app-route>`s had an `active` attribute.
+
+#### v2.0.0
+New features
+
+- Added support for `<core-animated-pages>`. Example: set up the router like `<app-router core-animated-pages transitions="hero-transition cross-fade">` then include the `hero` and `cross-fade` attributes on the elements you want transitioned.
+
+Breaking changes
+
+- Previously the active route's content was under an `<active-route>` element. Now the content for the route is under it's `<app-route>` element. This changed to support `<core-animated-pages>`.
+- The `<active-route>` element and `router.activeRouteContent` have been removed.
+- Removed the `shadow` attribute from the `<app-router>`. This was applied to the `<active-route>` element which no longer exists.
+
+#### v1.0.0
+Breaking changes
+
+- `pathType="auto|hash|regular"` has been replaced with `mode="auto|hash|pushstate"` for redirects, `router.go(path, options)`, and testing routes.
+
+New features
+
+- Added support for redirects with `<app-route path="..." redirect="/other/path"></app-route>`.
+- Added `router.go(path, options)`. Example: `document.querySelector('app-router').go('/home', {replace: true})`.
+- Note: If you're using redirects or `go()` you should specify the mode with `<app-router mode="pushstate|hash"></app-router>`. Leaving the mode as `auto` (the default) will change the hash, even if you wanted it to change the real path with pushstate.
+
+#### v0.9.0
+- Refactor `parseUrl()` to use the native `URL()` constructor and return additional information about the hash path.
+- Cleaned up `testRoute()` and `routeArguments()` with additional information from `parseUrl()`.
+- Moved utility functions to `AppRouter.util`.
+
+#### v0.8.1
+- Fixed bug where the regular path was being used when `pathType="hash"` was set on the router.
+
+#### v0.8.0
+- `template` no longer required on inline template routes.
+- Only use `app-route`s that are direct children of the router by replacing `querySelector()` with `firstElementChild` and iterating with `nextSibling`.
+- Took internal functions off the public API and simplified parameters.
+
+#### v0.7.0
+- Added the `pathType` attribute to the router. The options are `auto`, `hash`, and `regular`.
« no previous file with comments | « polymer_0.5.4/bower_components/app-router/bower.json ('k') | polymer_0.5.4/bower_components/app-router/src/app-router.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698