3190c5941a
fix(changelog): fix ngFor on template
...
Closes #5785
2015-12-10 03:41:00 -08:00
30e25acb9f
fix(core): workaround for typescript@1.7.3 breakage #5784
...
I don't understand why I need to declare the type-here, but it resolves the issue.
Looks like a bug in tsc.
Fixes #5784
2015-12-10 03:30:16 -08:00
4975cb92ae
docs(changelog): add link back to A2 package.json
...
Closes #5779
2015-12-10 02:28:41 -08:00
c8d6ad2718
chore(release): cut alpha.52 - the new beginning
2.0.0-alpha.52
2015-12-10 00:48:32 -08:00
cde6726e25
docs(changelog): add changelog for alpha.52
2015-12-10 00:48:32 -08:00
b3d10af89a
docs(kebab-case.md): fix indentation, add links and other small changes
2015-12-10 00:48:32 -08:00
4724cc664e
docs(kebab-case.md): add link to the design doc
2015-12-10 00:18:08 -08:00
4e16feaf72
docs(changelog): add breaking change note about peerDependencies
...
Closes #5747
2015-12-09 22:10:12 -08:00
9e44dd85ad
feat(camelCase Angular): legacy template transformer
2015-12-09 19:59:40 -08:00
da9b46a071
feat: camelCase Angular (kebab-case removal)
...
BREAKING CHANGE:
Angular is now fully camel case.
Before:
<p *ng-if="cond">
<my-cmp [my-prop]="exp">
<my-cmp (my-event)="action()">
<my-cmp [(my-prop)]="prop">
<input #my-input>
<template ng-for #my-item [ng-for-of]=items #my-index="index">
After
<p *ngIf="cond">
<my-cmp [myProp]="exp">
<my-cmp (myEvent)="action()">
<my-cmp [(myProp)]="prop">
<input #myInput>`,
<template ngFor="#my-item" [ngForOf]=items #myIndex="index">
The full details are found in [angular2/docs/migration/kebab-case.md](https://github.com/angular/angular/blob/master/modules/angular2/docs/migration/kebab-case.md )
2015-12-09 19:59:40 -08:00
b386d1134a
doc(camelCase Angular): migration guide
2015-12-09 19:59:40 -08:00
1e740581ee
build(npm_publish.sh): run gulp via node --max-old-space-size=1900 to workaround #5229
2015-12-09 19:51:10 -08:00
f1741b10f2
docs(changelog): release notes for 2.0.0-alpha.51
2.0.0-alpha.51
2015-12-09 19:28:52 -08:00
7bce1477ef
chore(release): cut alpha.52 - the last release of Angular as we know it
2015-12-09 19:20:20 -08:00
01ba94ba56
build(npm): update to ts2dart@0.7.17
...
resolves regression in 0.7.16
Closes #5758
2015-12-10 01:32:45 +00:00
51cb7586e0
build(npm): update to typescript@1.7.3 + fix broccoli-typescript + fix src
2015-12-10 01:32:44 +00:00
796eee1e6f
build(npm): update to gulp-typescript@2.10.0
2015-12-10 01:32:44 +00:00
c39828f0f2
build(npm): bump ts2dart to 0.7.16
2015-12-10 01:32:44 +00:00
28860d35b2
feat(core): provide support for relative assets for components
...
Assets defined for `templateUrl` and `styleUrls` can now be loaded
in relative to where the component file is placed so long as the
`moduleId` is set within the component annotation.
Closes #5634
2015-12-09 16:28:49 -08:00
5f0ce30ee6
revert: feat(core): provide support for relative assets for components
2015-12-09 16:26:42 -08:00
f4d937ad8d
docs(cheatsheet): add Dart-specific syntax & headings
...
Closes #5756
2015-12-09 23:05:23 +00:00
db096a5e22
feat(core): provide support for relative assets for components
...
Assets defined for `templateUrl` and `styleUrls` can now be loaded
in relative to where the component file is placed so long as the
`moduleId` is set within the component annotation.
Closes #5634
Closes #5634
2015-12-09 22:04:00 +00:00
bf484b19b3
chore(changelog): fix formatting for alpha.49
...
Closes #5732
2015-12-09 21:30:30 +00:00
56a254e6a5
chore: enforce import checks for the 'upgrade' barrel
...
Closes #5741
2015-12-09 21:04:41 +00:00
793098bcce
refactor(upgrade): remove imports from angular2/angular2
...
Related #5739
2015-12-09 21:04:41 +00:00
d6d759d722
feat(bundles): add angular-testing UMD bundle
...
Closes #5581
Closes #5734
2015-12-09 19:36:18 +00:00
61e8b60506
docs(Observable): add documentation for Observable and operators
...
Closes #5642
Closes #5684
2015-12-09 19:32:30 +00:00
2f0744b089
docs(cheatsheet): update to new syntax
...
See https://github.com/angular/angular.io/pull/459
Closes #5733
2015-12-09 19:04:08 +00:00
ca73852746
docs(AngularEntrypoint): add missing backticks
2015-12-09 19:04:08 +00:00
72444c40a7
typo fix: registerPrimaryOutlet description
...
Closes #5648
2015-12-08 19:55:35 -08:00
214148d58a
chore(release): update package.json and changelog to alpha.50
2.0.0-alpha.50
2015-12-08 19:07:43 -08:00
cc8f1f9552
feat(testing): package angular2_testing to prepare it for publishing
...
Closes #5682
2015-12-09 03:01:21 +00:00
cbf788869d
fix(http): use any
for res.json() return
...
fixes #5636
Closes #5646
2015-12-09 03:00:22 +00:00
c1ae49d91e
fix(testing): remove Symbol dummy shim
...
Closes #5067
Closes #5719
2015-12-09 02:57:19 +00:00
4432cf5438
chore(package): update rxjs dependency to alpha.14
...
Closes #5722
Closes #5723
2015-12-08 18:54:43 -08:00
869a392357
fix(package) add missing comma in ngHttp package.json
...
Closes #5727
2015-12-08 18:51:19 -08:00
90c67b4b11
chore(release): update package.json and changelog to alpha.49
2.0.0-alpha.49
2015-12-08 17:41:39 -08:00
7d15e19f2b
docs(contributing.md): add docs for "build" commit type
...
Our build system is pretty complicated and we have many commits that touch it.
For this reason these kids of changes warrant its own type.
Closes #5720
2015-12-09 00:33:51 +00:00
a4ba46cb99
fix(bundles): remove SFX bundle
...
Closes #5665
BREAKING CHANGE:
The existing sfx bundle (angular2.sfx.dev.js) is replaced by UMD bundles:
angular2.umd.js and angular2.umd.dev.js. The new UMD bundles dont have
polyfills (zone.js, reflect-metadata) pre-appended. Those polyfills
can be easily loaded by including the angular-polyfills.js bundle.
Closes #5712
2015-12-08 16:09:52 -08:00
0df8bc4e52
fix(dynamic_component_loader): leave the view tree in a consistent state when hydration fails
...
Closes #5718
2015-12-08 16:09:38 -08:00
0d9a1de4d9
fix(bootstrap): fix the configuration of ExceptionHandler
2015-12-08 16:09:37 -08:00
d58f017226
cleanup(pipes): improve the error message of InvalidPipeArgumentException
2015-12-08 16:09:37 -08:00
1d825eb685
chore(bundles): rename angular-polyfills to angular2-polyfills.
2015-12-08 15:42:41 -08:00
b3c91b163b
fix(bundles): rename external-dependencies to angular-polyfills
...
Closes #5714
BREAKING CHANGE:
The `external-dependencies.js` bundle was removed.
Use `angular-polyfills.js` instead.
Closes #5716
2015-12-08 15:38:48 -08:00
aa85856e1c
fix(router): set correct redirect/default URL from hashchange
...
Currently, hashchange events outside of Angular that cause navigation
do not take into account cases where the initial route URL changes
due to a redirect or a default route.
Closes #5590
Closes #5683
2015-12-08 22:34:19 +00:00
fb4f1e8dc9
fix(bundles): clean-up and re-organize UMD bundles
...
Fixes #5593
Part of #5665
BREAKING CHANGE:
Number and content of UMD bundles have changed:
- we only publish one bundle that contains: core, common, platform/browser, http, router, instrumentation and upgrade
- exported names have changed and now:
- core is exported as `ng.core`
- common is exported as `ng.common`
- platform/browser is exported as `ng.platform.browser`
- http is exported as `ng.http`
- router is exported as `ng.router`
- instrumentation is exported as `ng.instrumentation`
- upgrade is exported as `ng.upgrade`
Closes #5697
2015-12-08 21:50:00 +00:00
8657ca4298
fix(form): Form directives are exportedAs 'ngForm' (was 'form')
...
fixes #5658
BREAKING CHANGE:
Before:
<form #f="form">
After:
<form #f="ngForm">
Closes #5709
2015-12-08 20:25:16 +00:00
80b025ae53
build(broccoli): convert dependencies to peerDependencies in all package.json templates
...
This is more correct and resolves the issue of having dupes within the same project.
This change has no impact on our shrinkwrap since peerDeps and deps are merged into one
within the shrinkwrap file.
BREAKING CHANGE: rxjs, reflect-metadata, zone.js and es6-shims now must be specified as
explicit dependencies of each angular app that uses npm for package management.
To migrate, please add the following into the "dependencies" section of your package.json:
```
"dependencies": {
...
"es6-promise": "^3.0.2",
"es6-shim": "^0.33.3",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-alpha.11",
"zone.js": "0.5.8"
...
}
```
Closes #5560
Closes #5649
2015-12-08 11:52:26 -08:00
11f98c58b3
build(npm): dedupe es6-promise dependency
2015-12-08 11:52:25 -08:00
c1e3ea9f7f
build(npm): add es6-promise as a dependency
...
This is actually an inherited dependency that comes from zone.js.
See related issue: https://github.com/angular/zone.js/issues/212
It would be better to make this one an optionalPeerDependency but npm
currently doesn't support making peerDependencies optional.
See: https://github.com/npm/npm/issues/3066
2015-12-08 11:52:25 -08:00