Peter Bacon Darwin
cfc1e56dd8
refact(angular1_router): make the `$$router` binding one-time
...
This binding is never going to change so we can make it a one-time binding
Closes #6978
2016-02-24 21:15:34 +00:00
Peter Bacon Darwin
a1c3be21ec
fix(angular1_router): rename `$route` service to `$rootRouter`
...
The singleton service that represents the top level router was called
`$router` but this is confusing since there are actually lots of routers,
which depend upon where you are in the DOM. This is similar to the situation
with scopes.
This commit clarifies this singleton by renaming it to `$rootRouter`.
BREAKING CHANGE:
The `$router` injectable service has been renamed to `$rootRouter`
2016-02-24 21:15:34 +00:00
Peter Bacon Darwin
edad8e3f56
fix(angular1_router): rename `router` component binding to `$router`
...
The current router is passed to the current component via a binding.
To indicate that this is an angular provided object, this commit
renames the binding to `$router`.
BREAKING CHANGE:
The recently added binding of the current router to the current component
has been renamed from `router` to `$router`.
So now the recommended set up for your bindings in your routed component
is:
```js
{
...
bindings: {
$router: '<'
}
}
```
2016-02-24 21:15:34 +00:00
Peter Bacon Darwin
d4a4d81173
fix(angular1_router): support templateUrl components
2016-02-24 21:15:34 +00:00
laco0416
e7470d557d
feat(core): Add `QueryList.forEach` to public api.
2016-02-19 19:23:46 -05:00
laco0416
b634a25ae0
feat(core): Add `QueryList#forEach`
2016-02-19 19:23:46 -05:00
Julie Ralph
c1a0af514f
feat(test): add withProviders for per test providers
...
Closes #5128
2016-02-19 19:23:46 -05:00
Victor Berchet
c6afea61f1
fix(DomRenderer): correctly handle namespaced attributes
2016-02-19 19:23:46 -05:00
Matias Niemelä
ce10fe92b2
chore(travis): remove problematic chromebeta target for now
2016-02-19 10:43:59 -08:00
Matias Niemelä
b81b1fb81c
revert: fix(change_detection): allow to destroy `OnPush` components inside of a host event
...
This reverts commit 280b86ec55
.
2016-02-19 10:34:03 -08:00
Tobias Bosch
280b86ec55
fix(change_detection): allow to destroy `OnPush` components inside of a host event.
2016-02-18 17:54:24 -08:00
Matias Niemelä
2f5a2ba671
docs(changelog): update changelog to beta.7
2016-02-18 13:28:10 -08:00
Matias Niemelä
c45ec6f1be
chore(release): bump version to beta.7
2016-02-18 13:28:08 -08:00
Matias Niemelä
530470e0ce
chore(travis): add an integration hook for the angular hubot daemon
2016-02-17 16:38:42 -08:00
Jeff Cross
ce72ccf9e8
build(npm): bump zone.js version to 0.15.5
2016-02-17 16:28:50 -08:00
Jeff Cross
46d9c87ddc
build(package): bump rxjs to 5.0.0-beta.2
...
Closes #7001
2016-02-17 16:28:50 -08:00
Matias Niemelä
d736c31fea
test(material): disable problematic e2e test
...
LGTM from Victor and Jeff in person :)
2016-02-17 16:18:33 -08:00
Alex Eagle
a7e9bc97f6
ci(typescript): add typescript_next build
...
Install typescript@next before build.js and test.typings.
Restore the regular version before travis caches node_modules/.
Fixes #6368
2016-02-16 17:29:29 -08:00
Alex Eagle
265703b950
fix(typing): Remove re-export of the Promise built-in type.
...
Instead, ts2dart can add the 'dart:async' import whenever
Promise is used.
Fixes #6468
2016-02-12 20:45:41 -08:00
Alex Eagle
ae275fa4e4
chore(ts2dart): update ts2dart to 0.7.24
2016-02-12 20:45:35 -08:00
Brandon Roberts
3478d5d450
fix(angular_1_router): Added DI string tokens
...
Closes #4269
Closes #7031
2016-02-12 21:15:34 +00:00
Alex Eagle
e72dc16dbe
docs(changelog): update changelog to beta.6
2016-02-11 16:03:00 -08:00
Alex Eagle
40a043275d
chore(release): bump version to beta.6
2016-02-11 15:59:34 -08:00
Alex Eagle
f161b5cc28
chore(zone.js): update to 0.5.14
2016-02-11 14:39:41 -08:00
Alex Eagle
117d57e121
Revert "chore(zone.js) : update to 0.5.14"
...
This reverts commit 3dcce706fd
.
2016-02-11 14:38:06 -08:00
Brian Ford
3dcce706fd
chore(zone.js) : update to 0.5.14
2016-02-11 14:15:59 -08:00
Brian Ford
efb89b83e1
Revert "fix(DomRenderer): correctly handle namespaced attributes"
...
This reverts commit 61cf499b0b
.
2016-02-11 13:44:16 -08:00
Brian Ford
3d96c2337f
Revert "feat(svg): Provide support for SVG foreignObject by adding xhtml namespace"
...
This reverts commit eb688f2c8e
.
2016-02-11 13:39:02 -08:00
Alex Eagle
19cfb4eb12
fix(build): publish typings directory to our npm snapshot branch
2016-02-11 11:35:43 -08:00
Alex Eagle
3d715a2f7b
fix(typings): publish es6 typings rather than postinstall.
...
Despite local testing, multiple users failed to run the postinstall to install typings.
Instead, we can distribute the typings we installed locally.
This is an alternative to #7003 .
This also reverts rxjs to beta.1 since we have errors using beta.2, being addressed
in #7001 .
Fixes #7000
2016-02-11 11:04:42 -08:00
Alex Eagle
c7261c295c
docs(changelog): update change log to beta.5
2016-02-10 16:31:01 -08:00
Alex Eagle
1a26f8edd6
chore(release): bump version to beta.5
2016-02-10 16:30:18 -08:00
Alex Eagle
fc887774da
fix(release): need to depend on latest rxjs and zone.js
...
The version in our package.json gets copied to the one we publish, and users need the latest of these.
2016-02-10 16:29:58 -08:00
Alex Eagle
7cbf88a691
docs(changelog): update change log to beta.4
2016-02-10 16:04:17 -08:00
Alex Eagle
1cb1c139cf
chore(release): bump version to beta.4
2016-02-10 16:04:17 -08:00
Tim Blasi
1fd924f7d5
refactor(dart/transform): Simplify deferred rewriting
...
Simplify the DeferredRewriting and move package:quiver to a dev
dependency.
Closes #6994
2016-02-10 23:43:57 +00:00
Gion Kunz
eb688f2c8e
feat(svg): Provide support for SVG foreignObject by adding xhtml namespace
...
Closes #6192
2016-02-10 23:23:34 +00:00
Victor Berchet
61cf499b0b
fix(DomRenderer): correctly handle namespaced attributes
...
Closes #6363
2016-02-10 22:34:13 +00:00
Alex Eagle
f1f5b45361
feat(typings): install es6-shim typings to a location users can reference.
...
This makes the upgrade to beta.4 as simple as adding one reference tag, only when --target=es5
Implements option 3 from https://docs.google.com/document/d/1vgepQPkuHS4P3rzANQpoMIDIXe0Rl9Z2QyTtb8dpMoI/edit
2016-02-10 14:13:27 -08:00
vsavkin
50548fb565
fix(forms): use strict runtimeType checks instead of instanceof
...
Currently, validators extending built-in validators are treated as built-in.
This can result in an error when both a real built-in validator and a custom one are applied to the same element.
Closes #6981
2016-02-10 09:23:59 -08:00
vsavkin
8f47aa3530
fix(forms): add RadioButtonValueAccessor to the list of default value accessors
2016-02-09 15:28:08 -08:00
Brandon Roberts
df7885c9f5
fix(router): Added route data to normalized async route
...
Closes #6802
2016-02-09 22:08:45 +00:00
Kara Erickson
0f10624b08
fix(ngFor): update view locals if identity changes
...
Closes #6923
2016-02-09 22:06:06 +00:00
David Reher
6f1ef33e32
fix(router): fix url path for star segment in path recognizer
...
Url path of star segments should equal the original path.
If you register the route `/app/*location` and invoke a url like `/app/foo/bar`
the PathRecognizer should return a url path equal to the invoked url.
Before this patch, everything after `foo` was ignored, which resulted in a
redirect to `/app/foo` which was probably not intended (at least in the angular
1.5 component router).
Closes #6976
2016-02-09 21:45:06 +00:00
vsavkin
231773ea76
fix(compiler): use event names for matching directives
...
Closes #6870
2016-02-09 13:16:08 -08:00
vsavkin
e725542703
fix(forms): add support for radio buttons
...
Closes #6877
2016-02-09 19:47:50 +00:00
Fahimnur Alam
2337469753
style(angular1_router): license year updated
...
Closes #6219
2016-02-08 17:21:00 -08:00
Peter Bacon Darwin
55122cd57a
fix(angular1-router): add missing wrapper methods
...
Closes #6763
Closes #6861
Closes #6861
2016-02-08 17:19:50 -08:00
Andrei Alecu
7e0f02f96e
fix(upgrade): fix infinite $rootScope.$digest()
...
Fixes #6385
Closes #6386
2016-02-08 17:18:52 -08:00
Justin DuJardin
e7ad03cba6
fix(core): add detail to dehydrated detector exception
...
- at least I know what component is causing the error with this. without it the exception is so generic that it's not useful.
Closes #6939
2016-02-08 17:17:37 -08:00