d31dc7b2b3
fix(upgrade): throw error if trying to get injector before setting ( #18209 )
...
Previously, `undefined` would be returned.
This change makes it easier to identify incorrect uses/bugs.
(Discussed in https://github.com/angular/angular/pull/18213#issuecomment-316191308 .)
2017-07-20 16:24:45 -05:00
72fe45db2b
docs: Remove unneeded file ( #18106 )
2017-07-20 09:50:17 -07:00
c67bad4f43
docs(router): minor typo ( #18226 )
...
Fix a minor typo in the description of a router spec.
2017-07-20 09:32:34 -07:00
0af03beaed
release: cut the 5.0.0-beta.0 release
2017-07-19 13:12:50 -07:00
6f45519d6f
feat(animations): support :increment and :decrement transition aliases
2017-07-19 11:24:00 -07:00
65c9e13105
fix(compiler-cli): don't generate empty <target/> when extracting xliff
...
Fixes #15754
2017-07-19 09:45:52 -07:00
5344be5182
fix(animations): make sure @.disabled works in non-animation components
...
Note 4.3 only!
Prior to this fix when [@.disabled] was used in a component that
contained zero animation code it wouldn't register properly because the
renderer associated with that component was not an animation renderer.
This patch ensures that it gets registered even when there are no
animations set.
2017-07-18 16:37:04 -07:00
5db6f38b73
fix(animations): do not crash animations if a nested component fires CD during CD
...
Closes #18193
2017-07-18 15:22:43 -07:00
d22f8f54db
fix(animations): always camelcase style property names that contain auto styles
...
Closes #17938
2017-07-18 15:22:30 -07:00
23146c9201
fix(animations): capture cancelled animation styles within grouped animations
...
Closes #17170
2017-07-18 15:22:10 -07:00
a5205c686e
fix(upgrade): allow accessing AngularJS injector from downgraded module
2017-07-18 14:00:19 -07:00
807648251f
fix(platform-server): provide XhrFactory for HttpClient
2017-07-18 13:59:26 -07:00
5c62e300e1
fix(common): send flushed body as error instead of null
...
fix #18181
2017-07-18 10:57:51 -07:00
59c23c7bd7
feat(upgrade): propagate touched state of NgModelController
2017-07-18 10:35:35 -07:00
e03adb9edd
docs(platform-server): add doc string for PlatformOptions
2017-07-18 10:34:57 -07:00
b399cb26d9
fix(router): terminal route in custom matcher
2017-07-18 10:25:18 -07:00
95635c18c7
fix(compiler): ensure jit external id arguments names are unique
...
Fixes : #17558 , #17378 , #8676
2017-07-18 10:11:32 -07:00
e20cfe1bbc
fix(router): canDeactivate guards should run from bottom to top
...
Closes #15657 .
2017-07-18 10:04:39 -07:00
eb6fb5f87e
fix(router): should navigate to the same url when config changes
...
Closes #15535
2017-07-18 10:04:11 -07:00
ad3029e786
fix(router): should run resolvers for the same route concurrently
...
Fixes #14279
2017-07-18 10:03:33 -07:00
30e76fcd80
feat(upgrade): support lazy-loading Angular module into AngularJS app
2017-07-14 14:10:30 -07:00
44b50427d9
refactor(upgrade): clean up some types
2017-07-14 14:10:30 -07:00
4fbb5b29ea
release: cut the 4.3.0 release
2017-07-14 12:50:40 -07:00
3ecc5e5398
fix(common): rename HttpXsrfModule to HttpClientXsrfModule
2017-07-14 12:40:52 -07:00
f7686d4124
Revert "fix(animations): make sure @.disabled works in non-animation components"
...
This reverts commit 01a2688848
.
2017-07-14 11:00:29 -07:00
01a2688848
fix(animations): make sure @.disabled works in non-animation components
...
Note 4.3 only!
Prior to this fix when [@.disabled] was used in a component that
contained zero animation code it wouldn't register properly because the
renderer associated with that component was not an animation renderer.
This patch ensures that it gets registered even when there are no
animations set.
2017-07-14 10:34:58 -07:00
dd04f09483
feat(common): on-by-default XSRF support in HttpClient ( #18108 )
...
Fixes #18100
2017-07-13 17:22:02 -07:00
9f28e838d3
fix(common): expose reportProgress option on HttpClient API ( #18083 )
2017-07-13 16:19:52 -07:00
ddb766e456
feat(compiler): do not evaluate metadata expressions that can use references ( #18001 )
2017-07-13 16:16:56 -07:00
18559897a0
fix(common): document HttpClient, fixing a few other issues
2017-07-13 14:58:33 -07:00
4f1e4ffa4e
fix(common): don't guess Content-Type for FormData bodies ( #18104 )
...
Fixes #18096
2017-07-13 12:28:20 -07:00
a50d935a48
docs(benchpress): fix android broken links ( #17568 )
2017-07-11 12:54:34 -07:00
df06e8b7a4
fix(router): fix outdated homepage url in NPM package ( #17899 )
2017-07-11 12:00:56 -07:00
a9757ec674
docs: Fix code example in the ChangeDetectorRef docs ( #18051 )
...
Minor example fix: mark the 'ref' constructor parameter as a private property
2017-07-11 11:45:32 -07:00
8928a58796
release: cut the 4.3.0-rc.0 release
2017-07-07 22:07:13 -07:00
09f1609f81
style(http): fix linting error in http/testing ( #18002 )
2017-07-07 17:02:07 -07:00
c723d42d0a
refactor: fix typos ( #18000 )
2017-07-07 16:55:17 -07:00
671a175dfb
fix(compiler-cli): fix relative source paths on windows for extracted msg ( #17915 )
...
Fixes #16639
2017-07-07 16:33:40 -07:00
c1474f33be
feat(compiler-cli): add parameters to ngc main needed by bazel rules ( #17885 )
2017-07-07 16:29:39 -07:00
9c1f6fd06f
fix(compiler): emits quoted keys only iff they are quoted in the original template
...
fixes #14292
2017-07-07 16:17:33 -07:00
798947efa4
feat(compiler): adds support for quoted object keys in the parser
2017-07-07 16:17:33 -07:00
7ae8ad6aab
fix(compiler): fix types
2017-07-07 16:17:33 -07:00
9c3386b1b7
fix(compiler): remove i18n markup even if no translations ( #17999 )
...
Fixes #11042
2017-07-07 16:16:49 -07:00
2ba3ada27f
revert: "refactor(compiler-cli): remove the dependency on fs in codegen.ts ( #17738 )"
...
This reverts commit b116901400
.
2017-07-07 16:16:25 -07:00
8e28382e4a
feat(animations): support disabling animations for sub elements
...
Closes #16483
2017-07-07 14:58:40 -07:00
3203639d7d
fix(animations): ensure :animating
queries collect previous animation elements properly
2017-07-07 14:58:40 -07:00
f85b543cc1
fix(animations): properly detect state transition changes for object literals
2017-07-07 14:58:40 -07:00
c81ad9d19d
feat(common): two missing features in HttpClient ( #17996 )
...
- Add params to HttpRequest API
- Add optional description to testing APIs
2017-07-07 14:56:36 -07:00
37797e2b4e
feat(common): new HttpClient API
...
HttpClient is an evolution of the existing Angular HTTP API, which exists
alongside of it in a separate package, @angular/common/http. This structure
ensures that existing codebases can slowly migrate to the new API.
The new API improves significantly on the ergonomics and features of the legacy
API. A partial list of new features includes:
* Typed, synchronous response body access, including support for JSON body types
* JSON is an assumed default and no longer needs to be explicitly parsed
* Interceptors allow middleware logic to be inserted into the pipeline
* Immutable request/response objects
* Progress events for both request upload and response download
* Post-request verification & flush based testing framework
2017-07-07 12:09:32 -07:00
2a7ebbe982
refactor: move DOCUMENT from platform/browser to common
2017-07-07 12:09:32 -07:00