Florian Kinder
15fc5dd7ee
test(forms): added missing selfOnly tests ( #12317 )
2016-10-17 22:51:13 -07:00
Michael George Attard
a5419608e0
docs(ngIf): minor improvements
2016-10-17 22:50:12 -07:00
Michael George Attard
5f95bf1dd2
refactor(common): remove redundant type
2016-10-17 22:50:12 -07:00
Matias Niemelä
33c8948fd3
refactor(animations): ensure animation data-structures are created only when used
...
Closes #12250
2016-10-14 15:43:41 -07:00
Victor Berchet
606e51881a
perf(benchmarks): update ng2-switch to match ng2
...
- use the ~same template layout (text nodes),
- use trackBy
both benchmark now show about the same perfs.
2016-10-12 17:11:46 -07:00
Victor Berchet
fdf4309b50
perf(common): optimize NgSwitch default case
...
relates to #11297
2016-10-12 17:11:46 -07:00
Igor Minar
af996ef0c4
docs(changelog): fix typo in code name, ouch!
2016-10-12 14:05:48 -07:00
Igor Minar
68d2dfdd2a
docs(changelog): tweak the change log and group all the 2.1 changes together
2016-10-12 13:54:21 -07:00
Tobias Bosch
07bd4b0630
chore: bump version number and generate CHANGELOG ( #12247 )
2016-10-12 13:19:31 -07:00
Victor Berchet
df1718d624
fix(compiler): allow WS as `<ng-content>` content ( #12225 )
2016-10-12 07:58:06 -07:00
Connor Wyatt
17e3410d98
Form submit event ( #11989 )
...
* feat(forms): ngSubmit event exposes $event from original submit event as local variable
Modify NgForm directive and FormGroup directive to expose the original submit event as $event in the ngSubmit event. Modify docs to reflect changes.
This resolves #10920 .
* refactor: code cleanup
2016-10-11 15:49:36 -07:00
Karl Seamon
5effc330ed
feat(upgrade): compilerOptions in bootstrap ( #10575 )
2016-10-11 15:48:08 -07:00
Victor Berchet
3df00828d7
docs(router): fix CanActivateChild API docs ( #12128 )
...
fixes #12127
2016-10-11 15:47:57 -07:00
Steve Sewell
8c477b2f45
fix(compiler-cli): don't clone static symbols when simplifying annotation metadata ( #12158 )
2016-10-11 15:47:44 -07:00
Victor Berchet
7787771aba
refactor(core): cleanup decorators.ts ( #12161 )
2016-10-11 15:47:20 -07:00
Chuck Jazdzewski
7275e1beb3
refactor(compiler): add optional `visit()` to `TemplateAstVisitor` ( #12209 )
2016-10-11 15:46:11 -07:00
Chuck Jazdzewski
12ba62e5e2
refactor(compiler): expose template parser phases ( #12210 )
2016-10-11 15:45:27 -07:00
Victor Berchet
e6e007e2f1
refactor(core): cleanup SpyObject ( #12221 )
2016-10-11 15:44:48 -07:00
Matias Niemelä
91dd138fa5
docs(animations): document :enter and :leave transition aliases ( #12222 )
2016-10-11 15:44:38 -07:00
Victor Berchet
d972d82354
refactor: simplify `isPresent(x) ? x : y` to `x || y` ( #12166 )
...
Closes #12166
2016-10-10 09:20:58 -07:00
Victor Berchet
bdcf46f82e
refactor(compiler): improve types, misc
2016-10-10 09:20:58 -07:00
Christoph Krautz
79e1c7b807
refactor(upgrade): unify spec code ( #12190 )
...
- replace all variable declarations using 'var' by 'const' or 'let'
- replace es5 function declaration by arrow function where applicable
2016-10-10 09:18:33 -07:00
Pawel Kozlowski
d22eeb70b8
fix(forms): allow optional fields with pattern and minlength validators ( #12147 )
2016-10-10 09:17:45 -07:00
Victor Berchet
aa92512ac6
fix(compiler): properly shim `:host:before` and `:host(:before)` ( #12171 )
...
fixes #12165
2016-10-10 09:15:15 -07:00
Pedro Abreu
f782b08f58
docs: Minor typo fix ( #12151 )
2016-10-10 09:14:35 -07:00
Chuck Jazdzewski
4202936bbf
refactor(compiler): add optional `visit()` to html AST `Visitor` ( #12135 )
2016-10-10 09:13:50 -07:00
Chuck Jazdzewski
e1faca6386
refactor(compiler): template element ast has endSourceSpan ( #12138 )
2016-10-10 09:12:05 -07:00
Igor Minar
f5b0e22d35
docs(public_api): fix missing backtick
2016-10-07 17:23:08 -07:00
Igor Minar
00693d70a2
docs: add PUBLIC_API.md
2016-10-07 14:29:16 -07:00
Igor Minar
bcef5efffe
fix(platform-browser-dynamic): mark platformBrowserDynamic as stable API ( #12154 )
...
Everyone building Angular apps need to use this api to bootstrap or AoT compile, so it can't be experimental.
2016-10-07 13:54:06 -07:00
Victor Berchet
13ecc140e8
fix(compiler): validate `@HostBinding` name ( #12139 )
...
relates to #7500
2016-10-07 13:53:53 -07:00
Chuck Jazdzewski
709a6dea06
refactor(compiler): attribute ast records span of the value ( #12132 )
2016-10-07 13:53:29 -07:00
Chuck Jazdzewski
16cfb88c00
refactor(compiler): refactor `analyzeModules()` out of `OfflineCompiler` ( #12137 )
2016-10-07 13:52:53 -07:00
Chuck Jazdzewski
efee6f5199
docs(saved-replies): order the replies as shown in github ( #12153 )
...
github sorts the replies by reply name.
2016-10-07 13:52:18 -07:00
Igor Minar
2aa8aae76d
docs(saved-replies): add document with saved replies for our issue tracker
2016-10-07 09:21:20 -07:00
Victor Berchet
afb4bd9ef6
refactor(NgZone): merge NgZoneImpl and NgZone ( #12104 )
2016-10-06 15:23:37 -07:00
Chuck Jazdzewski
d641c36a45
fix(compiler): interpolation expressions report the correct offset ( #12125 )
2016-10-06 15:22:10 -07:00
Victor Berchet
f4566f8128
fix(http): fix Headers initialization from Headers and Object ( #12106 )
2016-10-06 15:21:27 -07:00
Victor Berchet
a67c06708d
fix(http): Headers.append should append to the list
2016-10-06 15:21:03 -07:00
Victor Berchet
d9d57d71dd
refactor(http): move one Headers test inside the main describe
2016-10-06 15:21:03 -07:00
vsavkin
e06303a987
fix(router): improve error message ( #12102 )
2016-10-06 15:19:22 -07:00
vsavkin
40b92ddf21
fix(router): wildcards routes should support lazy loading
...
Closes #12024
2016-10-06 15:19:09 -07:00
vsavkin
1681e4f57f
fix(router): parent resolve should complete before merging resolved data
...
Closes #12032
2016-10-06 15:19:09 -07:00
Igor Minar
71b7654660
fix(compiler-cli): remove peerDependency on @angular/platform-server ( #12122 )
...
There is no runtime dependency from the compiler-cli on @angular/platform-server - it was most likely added to package.json by mistake.
2016-10-06 15:16:41 -07:00
Igor Minar
eaaec6979c
fix(compiler-cli): remove unused parse5 dependency from package.json
...
This was added in error or is an obsolete dependency. We don't need parse5 for the compiler-cli's runtime.
2016-10-06 15:16:22 -07:00
Levente Morva
c587c63591
docs(changelog): fix mentions, backticks and a misplaced line ending ( #12109 )
...
* docs(changelog): fix mentions and backticks
`@page` and `@document` were both incorrectly linking to GitHub repositories.
`:enter` and `:leave` in the *Features* section were missing backticks.
* Fix misplaced line ending.
2016-10-06 15:12:41 -07:00
Pawel Kozlowski
f50c1da4e2
fix(forms): properly validate blank strings with minlength ( #12091 )
2016-10-06 15:12:09 -07:00
Victor Berchet
0254ce1f6c
refactor(core): simplify Reflector code, add types ( #12099 )
2016-10-06 15:11:16 -07:00
Chuck Jazdzewski
c9b765f5c0
refactor(compiler): module collector is reusable ( #12095 )
2016-10-06 15:10:44 -07:00
Alex Eagle
8c975ed156
refactor(facade): inline StringWrapper ( #12051 )
2016-10-06 15:10:27 -07:00