Victor Berchet
dab15c79dd
chore(tslint): update tslint to 4.x ( #13603 )
2017-01-05 21:14:28 -08:00
Georgios Kalpakas
21942a88f0
fix(upgrade): fix/improve support for lifecycle hooks ( #13020 )
...
With the exception of `$onChanges()`, all lifecycle hooks in ng1 are called on
the controller, regardless if it is the binding destination or not (i.e.
regardless of the value of `bindToController`).
This change makes `upgrade` mimic that behavior when calling lifecycle hooks.
Additionally, calling the `$onInit()` hook has been moved before calling the
linking functions, which also mimics the ng1 behavior.
2017-01-05 21:14:14 -08:00
Dzmitry Shylovich
018865ee6b
fix(router): routerLink support of null/undefined ( #13380 )
...
Closes #6971
2017-01-05 21:11:56 -08:00
Dzmitry Shylovich
f7234378b6
fix(common): add link to trackBy docs ( #13634 )
2017-01-05 21:11:34 -08:00
Chase
5f47583c94
fixed minor typo ( #13626 )
2017-01-05 21:06:13 -08:00
Dzmitry Shylovich
0e7f9f0bff
fix(testing): improve misleading error message when don't call compileComponents ( #13543 )
...
Closes #11301
2017-01-05 21:05:39 -08:00
Chuck Jazdzewski
28a92b2bcd
docs(changelog): add changelog for 2.4.1
2.4.1
2016-12-21 14:26:13 -08:00
Chuck Jazdzewski
48be539824
chore(release): cut the 2.4.1 release
2016-12-21 14:22:42 -08:00
Matias Niemelä
d788c679b6
fix(animations): always recover from a failed animation step ( #13604 )
2016-12-21 14:17:45 -08:00
Victor Savkin
a38f14b39c
fix(router): should reset location if a navigation by location is successful ( #13545 )
...
Closes #13491
2016-12-21 14:17:25 -08:00
Matias Niemelä
6a5e46cedd
fix(animations): always quote string map key values in AOT code ( #13602 )
2016-12-21 09:49:03 -08:00
Dzmitry Shylovich
6316e5df71
fix(compiler): ignore @import in comments ( #13368 )
...
* refactor(compiler): clean up style url resolver
* fix(compiler): ignore @import in css comments
Closes #12196
2016-12-21 09:49:03 -08:00
Ryan Cavanaugh
90fca7c879
Include bower instructions in DEVELOPER.md ( #13591 )
2016-12-21 09:49:03 -08:00
Chuck Jazdzewski
d871ae2dc6
refactor(platform-browser): resolver merge conflict for tslint ( #13601 )
2016-12-21 09:49:03 -08:00
Dzmitry Shylovich
44e84d87f9
fix(common): throw an error if trackBy is not a function ( #13420 )
...
* fix(common): throw an error if trackBy is not a function
Closes #13388
* refactor(platform-browser): disable no-console rule in DomAdapter
2016-12-21 09:49:03 -08:00
Dzmitry Shylovich
b9e979e0a5
fix(core): improve error message when component factory cannot be found ( #13541 )
...
Closes #12678
2016-12-21 09:49:03 -08:00
Filipe Silva
cb2aa41782
build: fix publish-build-artifacts branch detection ( #13599 )
2016-12-21 09:49:03 -08:00
Filipe Silva
189a7e3750
build: publish build artifacts to branches ( #13529 )
...
Fix #13126
2016-12-21 09:49:03 -08:00
Chuck Jazdzewski
6efdf84d3e
docs(changelog): add changelog for 2.4.0
2.4.0
2016-12-19 17:42:17 -08:00
Chuck Jazdzewski
e61bfc8b24
chore(release): cut the 2.4.0 release
2016-12-19 17:19:25 -08:00
Chuck Jazdzewski
070f9d0644
refactor: formatting fixes
2016-12-19 17:18:33 -08:00
crisbeto
8d5da1e57a
feat: update to rxjs@5.0.1 and unpin the rxjs peerDeps via ^5.0.1 ( #13572 )
...
Now that rxjs is stable and the rxjs team follows semver, we can update and unpin the dependency safely.
From now on the Angular application/library developers are in charge of controlling the rxjs version as long as it's newer than 5.0.1.
closes #13561
closes #13478
closes #13572
2016-12-19 17:09:41 -08:00
Igor Minar
b6406191c7
build(npm): update angular version in shrinkwrap files
2016-12-19 17:09:41 -08:00
Chuck Jazdzewski
124face441
refactor(compiler-cli): support extracting the mesage bundle without writing a file ( #13580 )
2016-12-19 17:09:41 -08:00
Victor Berchet
de4ace77fe
feat(compiler-cli): private i18n API for the CLI ( #13536 )
...
Also change the Extractor API to align with the Codegen API (internal APIs)
2016-12-19 17:09:41 -08:00
Chuck Jazdzewski
debb0c9798
fix(compiler-cli): produce metadata for .d.ts files without metadata ( #13526 )
...
Fixes #13307
Fixes #13473
Fixes #13521
2016-12-19 17:09:40 -08:00
Victor Berchet
9b87bb6d7f
fix(compiler): do not lex }} when interpolation is disabled ( #13531 )
...
* doc(compiler): fix the ICU expander API docs
* test(compiler): add lexer and parser specs
* fix(compiler): do not lex `}}` when interpolation is disabled
fix #13525
2016-12-19 17:09:40 -08:00
Dzmitry Shylovich
71e88a8c3c
refactor(core): fix typo ( #13515 )
...
Closes #13512
2016-12-19 17:09:40 -08:00
Janne Vanhala
c26c24c544
fix(upgrade): fix registerForNg1Tests ( #13522 )
...
Fix an issue in `registerForNg1Tests`, where it passes a `null` as
`ng1Injector` to `_bootstrapDone`. This causes a "TypeError: Cannot
read property 'get' of null" to be thrown from `_bootstrapDone`.
2016-12-19 17:09:40 -08:00
Victor Berchet
3f178410c3
fix(i18n): add a default example to xmb placeholders ( #13507 )
...
Otherwise the TC would not be able to load the message
2016-12-19 17:09:40 -08:00
Matias Niemelä
b36f4bc00d
fix(animations): allow players to be destroyed before initialized ( #13346 )
...
Closes #13293
Closes #13346
2016-12-19 17:09:40 -08:00
Chuck Jazdzewski
355c537883
refactor(compiler): format update ( #13506 )
2016-12-19 17:09:39 -08:00
Bowen Ni
f277303ca3
refactor(compiler): don't print stack trace on template parse errors ( #13390 )
2016-12-19 17:09:39 -08:00
Alex Eagle
50afbe094f
fix(build): use bash string comparison operator ( #13502 )
2016-12-19 17:09:39 -08:00
Alex Eagle
15ea758d01
feature(DEVELOPER.md): add easy way to publish personal snapshot builds ( #13469 )
2016-12-19 17:09:39 -08:00
Tobias Bosch
1f0f429f2a
refactor(compiler): store metadata of top level symbols also in summaries ( #13289 )
...
This allows a build using summaries to not need .metadata.json files at all
any more.
Part of #12787
2016-12-19 17:09:39 -08:00
Victor Berchet
dbb364e23a
docs(changelog): minor updates to 2.3.1 changelog
2016-12-14 21:57:56 -08:00
Victor Berchet
540b1197a6
fix(form): fix merge errors
2.3.1
2016-12-14 18:22:03 -08:00
Victor Berchet
d30cc8461b
docs(changelog): add changelog for 2.3.1
2016-12-14 18:14:34 -08:00
Victor Berchet
f27954e62c
build: bump angular to 2.3.1 & tsc-wrapped to 0.5.0
2016-12-14 18:11:35 -08:00
Victor Berchet
69b52eb2b3
fix(compiler): fix merge error in compiler_host
2016-12-14 18:08:54 -08:00
Chuck Jazdzewski
b9b557cdb0
fix(compiler): update to metadata version 3 ( #13464 )
...
This change retracts support for metadata version 2.
The collector used to produce version 2 metadata was incomplete
and can cause the AOT compiler to fail to resolve symbols or
produce other spurious errors.
All libraries compiled and published with 2.3.0 ngc will need
to be recompiled and updated with this change.
2016-12-14 18:08:48 -08:00
Victor Berchet
a72a002a8d
refactor: format & lint
2016-12-14 18:08:43 -08:00
Matias Niemelä
a0437f8c9d
chore(animations/aot): always export NoOpAnimationDriver ( #13480 )
2016-12-14 18:08:36 -08:00
Victor Berchet
1c279b3264
fix(compiler): fix simplify a reference without a name
...
closes #13470
2016-12-14 18:08:32 -08:00
Victor Berchet
cd03c77364
fix(tsc-wrapped): generate metadata for exports without module specifier
...
fixes #13327
2016-12-14 18:08:29 -08:00
Victor Berchet
f6ef7d6e5a
fix(compiler): propagate exports when upgrading metadata to v2
2016-12-14 18:08:25 -08:00
Alex Rickabaugh
6aeaca3fb4
fix(compiler): resolver should merge host bindings and listeners ( #13474 )
...
fixes #13327
2016-12-14 18:07:41 -08:00
Peter Bacon Darwin
af62050729
docs(upgrade): fix UpgradeAdapter examples
...
closes #12675
2016-12-14 18:02:26 -08:00
Peter Bacon Darwin
cb69656b56
docs(upgrade/upgrade_adapter): fix up references to AngularJS and Angular 2
2016-12-14 18:02:14 -08:00