https://github.com/angular/angular

sort by:
Revision Author Date Message Commit Date
0700c8a docs(changelog): update change log to 2.0.0-beta.17. 28 April 2016, 18:47:32 UTC
c79e657 chore(release): bump version to 2.0.0-beta.17. 28 April 2016, 18:39:20 UTC
d964888 fix(metadata): Do not attach module names to metadata. The filename contains the module name as resolved by users, so the top-level module name is uneeded. Module names on references are replaced by capturing the import syntax from the module. This allows readers of the metadata to do the module resolution themselves. Fixes #8225 Fixes #8082 Closes #8256 28 April 2016, 01:58:13 UTC
35cd0de chore(testing): Refactor test methods to have a uniform interface. Remove FunctionWithParamTokens. All test wrappers async, fakeAsync and inject now return just a Function instead of FunctionWithParamTokens. This makes them directly consumable by the test framework. Also the test framework code does not have to handle a union of Function and FunctionWithParamTokens everywhere. The Function returned by the above methods are considered asynchronous by the test framework if they return a Promise, synchronous otherwise. Closes #8257 28 April 2016, 01:16:25 UTC
d2efac1 feat(core): separate refs from vars. Introduces `ref-` to give a name to an element or a directive (also works for `<template>` elements), and `let-` to introduce an input variable for a `<template>` element. BREAKING CHANGE: - `#...` now always means `ref-`. - `<template #abc>` now defines a reference to the TemplateRef, instead of an input variable used inside of the template. - `#...` inside of a *ngIf, … directives is deprecated. Use `let …` instead. - `var-...` is deprecated. Replace with `let-...` for `<template>` elements and `ref-` for non `<template>` elements. Closes #7158 Closes #8264 28 April 2016, 01:13:40 UTC
ff2ae7a fix(testing): allow test component builder to override directives from lists When a component uses a list of directives, such as `ROUTER_DIRECTIVES`, make `TestComponentBuilder#overrideDirective` work properly for members of the list. Closes #7397 Closes #8217 28 April 2016, 00:56:45 UTC
e1058a4 Revert "feat(compiler): ElementSchema now has explicit DOM schema information" This reverts commit d327ac4b434cff8eb5e510c99f8c503940339e4d. 28 April 2016, 00:41:57 UTC
d327ac4 feat(compiler): ElementSchema now has explicit DOM schema information This makes the schema available for offline compile compiler as well. Closes #8179 27 April 2016, 22:57:28 UTC
1ad2a02 fix(core): properly evaluate expressions with conditional and boolean operators Fixes #8235 Fixes #8244 Closes #8282 27 April 2016, 21:25:50 UTC
1e8864c fix(compiler): Allow templates to access variables that are declared afterwards. Fixes #8261 27 April 2016, 18:22:44 UTC
c209836 fix(changelog): fix changelog script. One charecter missing from https://github.com/angular/angular/commit/140a878a3d48a62bbef4e3ce68f054791cdce618 26 April 2016, 23:12:59 UTC
7d1b6af style(global): group multiple imports from same module Closes #7802 Closes #8209 26 April 2016, 22:40:30 UTC
140a878 chore(changelog): regenerate changelog for beta.16 including refactor - the script explicitly takes input for the starting tag. - the script only prepends changes. 26 April 2016, 22:33:35 UTC
b62bccf build(npm): update rxjs to 5.0.0-beta.6 Closes #6871 Closes #8047 26 April 2016, 21:16:37 UTC
39eb347 chore(changelog): fix changelog with messages about testing zone deps Closes #8253 26 April 2016, 19:01:12 UTC
969b553 docs(changelog): update change log to beta.16 26 April 2016, 05:08:32 UTC
2c83716 chore(release): bump version to beta.16 26 April 2016, 04:48:58 UTC
5a897cf feat(router): add Router and RouterOutlet Closes #8173 25 April 2016, 22:41:33 UTC
ef67a0c feat(router): add router metadata 25 April 2016, 22:41:33 UTC
ef6163e feat(router): implement recognizer 25 April 2016, 22:41:33 UTC
f698567 feat(router): implement RouterUrlParser 25 April 2016, 22:41:33 UTC
90a1f7d feat(router): add UrlSegment, RouteSegment, and Tree 25 April 2016, 22:41:33 UTC
3e11422 refactor(core): support importUri in StaticReflector Closes #8195 25 April 2016, 22:14:29 UTC
6103aa0 fix(release): Fix the package.json zone.js requirement to 0.6.12 25 April 2016, 22:10:06 UTC
b7c6fef chore(release): release the metadata collector Closes #8197 25 April 2016, 21:48:07 UTC
b48d907 docs(template-syntax): rename elvis operator Closes #8196 25 April 2016, 21:26:33 UTC
676ddfa docs(cheatsheet): add Directive to cheatsheet Closes #8170 25 April 2016, 20:41:34 UTC
c8d00dc fix(codegen): add explicit any to class fields fixes #8204 Closes #8205 25 April 2016, 20:21:18 UTC
0b6865d chore: Remove AngularEntrypoint from TS Closes #8158 25 April 2016, 17:35:05 UTC
67d05eb fix(compiler): use DI order for change detection order. Closes #8198 25 April 2016, 16:36:46 UTC
152a117 fix(compiler): properly implement pure pipes and change pipe syntax Pure pipes as well as arrays and maps are implemented via proxy functions. This is faster than the previous implementation and also generates less code. BREAKING CHANGE: - pipes now take a variable number of arguments, and not an array that contains all arguments. 25 April 2016, 16:04:22 UTC
d662630 Revert "fix(compiler): only call pure pipes if their input changed." This reverts commit 8db62151d27f6f698c30f0944610ef92c66fcb5a. 25 April 2016, 14:53:49 UTC
c3daccd fix(forms): ensure select model updates in firefox and ie Closes #6573 Closes #8148 22 April 2016, 21:23:20 UTC
8db6215 fix(compiler): only call pure pipes if their input changed. 21 April 2016, 23:20:19 UTC
bab81a9 feat(test): Implement fakeAsync using the FakeAsyncTestZoneSpec from zone.js. Update the version of zone.js to @0.6.12 that contains the new FakeAsyncTestZoneSpec. The new fakeAsync zone handles errors better and clearPendingTimers() is no longer required to be called after handling an error and is deprecated. The fakeAsync test zone will now throw an error if an XHR is attemtped within the test since that cannot be controlled synchronously in the test(Need to be mocked out with a service implementation that doesn't involve XHRs). This commit also allows fakeAsync to wrap inject to make it consistent with async test zone. BREAKING CHANGE: inject can no longer wrap fakeAsync while fakeAsync can wrap inject. So the order in existing tests with inject and fakeAsync has to be switched as follows: Before: ``` inject([...], fakeAsync((...) => {...})) ``` After: ``` fakeAsync(inject([...], (...) => {...})) ``` Closes #8142 21 April 2016, 22:11:00 UTC
cc86fee fix(compiler): support string tokens with `.` inside. 21 April 2016, 18:17:49 UTC
386cc5d fix(transformers): support `query.read` Closes #8172 21 April 2016, 17:12:59 UTC
2f70457 fix(core): various minor compiler fixes Closes #8162 21 April 2016, 16:13:02 UTC
9889c21 fix(metadata): emit metadata rooted at 'angular2' fixes #8144 closes #8147 20 April 2016, 21:14:53 UTC
e69cb40 fix(forms): number input should report null when blank Closes #6932 Closes #8141 20 April 2016, 20:33:18 UTC
12837e1 fix(forms): improve error message when ngFormModel is missing a form Closes #8136 Closes #8143 20 April 2016, 20:10:50 UTC
9092ac7 refactor(core): support non reflective bootstrap. This changes Angular so that it can be used without reflection (assuming a codegen for injectors). BREAKIKNG CHANGE: - Drops `APP_COMPONENT` provider. Instead, inject `ApplicationRef` and read its `componentTypes` property. - long form bootstrap has changed into the following: ``` var platform = createPlatform(ReflectiveInjector.resolveAndCreate(BROWSER_PROVIDERS)); var appInjector = ReflectiveInjector.resolveAndCreate([BROWSER_APP_PROVIDERS, appProviders], platform.injector); coreLoadAndBootstrap(appInjector, MyApp); ``` 20 April 2016, 18:34:11 UTC
0a7d10b refactor(core): separate reflective injector from Injector interface BREAKING CHANGE: - Injector was renamed into `ReflectiveInjector`, as `Injector` is only an abstract class with one method on it - `Injector.getOptional()` was changed into `Injector.get(token, notFoundValue)` to make implementing injectors simpler - `ViewContainerRef.createComponent` now takes an `Injector` instead of `ResolvedProviders`. If a reflective injector should be used, create one before calling this method. (e.g. via `ReflectiveInjector.resolveAndCreate(…)`. 20 April 2016, 18:28:13 UTC
efbd446 refactor(core): add `Query.read` and remove `DynamicComponentLoader.loadIntoLocation`. This adds the feature for `@ViewChild`/`@ViewChildren`/`@ContentChild`/`@ContentChildren` to define what to read from the queried element. E.g. `@ViewChild(`someVar`, read: ViewContainerRef)` will locate the element with a variable `someVar` on it and return a `ViewContainerRef` for it. Background: With this change, Angular knows exactly at which elements there will be `ViewConainerRef`s as the user has to ask explicitly of them. This simplifies codegen and will make converting Angular templates into server side templates simpler as well. BREAKING CHANGE: - `DynamicComponentLoader.loadIntoLocation` has been removed. Use `@ViewChild(‘myVar’, read: ViewContainerRef)` to get hold of a `ViewContainerRef` at an element with variable `myVar`. - `DynamicComponentLoader.loadNextToLocation` now takes a `ViewContainerRef` instead of an `ElementRef`. - `AppViewManager` is renamed into `ViewUtils` and is a mere private utility service. 20 April 2016, 18:28:00 UTC
c06b0a2 refactor(codegen): produce `.ngfactory.dart/ts` files instead of `.template.dart/ts` files. This is needed as we will soon store other things into the generated files, not only the templates. 20 April 2016, 18:27:34 UTC
0c600cf refactor(core): introduce ComponentFactory. Each compile template now exposes a `<CompName>NgFactory` variable with an instance of a `ComponentFactory`. Calling `ComponentFactory.create` returns a `ComponentRef` that can be used directly. BREAKING CHANGE: - `Compiler` is renamed to `ComponentResolver`, `Compiler.compileInHost` has been renamed to `ComponentResolver.resolveComponent`. - `ComponentRef.dispose` is renamed to `ComponentRef.destroy` - `ViewContainerRef.createHostView` is renamed to `ViewContainerRef.createComponent` - `ComponentFixture_` has been removed, the class `ComponentFixture` can now be created directly as it is no more using private APIs. 20 April 2016, 18:27:26 UTC
4140405 fix(build): ignore Dart warnings for external code. 20 April 2016, 17:51:58 UTC
f4e6994 feat(NgTemplateOutlet): add NgTemplateOutlet directive This commits adds a new NgTemplateOutlet directive that can be used to create embeded views from a supplied TemplateRef. Closes #7615 Closes #8021 20 April 2016, 04:28:59 UTC
b602bd8 refactor(Location): out of router and into platform/common closes https://github.com/angular/angular/issues/4943 BREAKING CHANGE: `Location` and other related providers have been moved out of `router` and into `platform/common`. `BrowserPlatformLocation` is not meant to be used directly however advanced configurations may use it via the following import change. Before: ``` import { PlatformLocation, Location, LocationStrategy, HashLocationStrategy, PathLocationStrategy, APP_BASE_HREF} from 'angular2/router'; import {BrowserPlatformLocation} from 'angular2/src/router/location/browser_platform_location'; ``` After: ``` import { PlatformLocation, Location, LocationStrategy, HashLocationStrategy, PathLocationStrategy, APP_BASE_HREF} from 'angular2/platform/common'; import {BrowserPlatformLocation} from 'angular2/src/platform/browser/location/browser_platform_location'; ``` Closes #7962 20 April 2016, 04:28:47 UTC
30c4352 fix(http) : set response.ok based on given status code Closes #8056 20 April 2016, 04:28:27 UTC
45f5df3 docs(markdown): add missing space between markdown ### and text, turn h1 into h3s, remove bold. Closes #7996 20 April 2016, 04:09:31 UTC
43e31c5 docs(): fix a typo: patform -> platform Closes #8081 19 April 2016, 02:53:19 UTC
13c8b13 Add BREAKING CHANGE to CHANGELOG for b.15 Dart apps that import angular2/bootstrap.dart ran in beta.14, but fail in beta.15. Closes #8071 19 April 2016, 02:53:19 UTC
0fc9ec2 fix(upgrade): clean up scope when element is destroyed Closes #8102 19 April 2016, 01:06:14 UTC
d094a85 fix(angular_1_router): Removed arrow function from module template Closes #8076 19 April 2016, 00:44:17 UTC
22c05b0 fix(tests): remove payload size check 19 April 2016, 00:08:55 UTC
8490921 feat(tests): manage asynchronous tests using zones Instead of using injectAsync and returning a promise, use the `async` function to wrap tests. This will run the test inside a zone which does not complete the test until all asynchronous tasks have been completed. `async` may be used with the `inject` function, or separately. BREAKING CHANGE: `injectAsync` is now deprecated. Instead, use the `async` function to wrap any asynchronous tests. Before: ``` it('should wait for returned promises', injectAsync([FancyService], (service) => { return service.getAsyncValue().then((value) => { expect(value).toEqual('async value'); }); })); it('should wait for returned promises', injectAsync([], () => { return somePromise.then(() => { expect(true).toEqual(true); }); })); ``` After: ``` it('should wait for returned promises', async(inject([FancyService], (service) => { service.getAsyncValue().then((value) => { expect(value).toEqual('async value'); }); }))); // Note that if there is no injection, we no longer need `inject` OR `injectAsync`. it('should wait for returned promises', async(() => { somePromise.then() => { expect(true).toEqual(true); }); })); ``` Closes #7735 18 April 2016, 22:59:07 UTC
ecb9bb9 docs(): fix broken links Closes #8028 18 April 2016, 20:12:37 UTC
75463cd chore(perf): return perf metrics from AngularProfiler Closes #8075 18 April 2016, 19:48:52 UTC
c6244d1 feat(i18n): add support for nested expansion forms Closes #7977 18 April 2016, 19:38:12 UTC
22ae2d0 cleanup(html_parser): cleanup to fix analyzer warnings 18 April 2016, 19:38:12 UTC
88b0a23 feat(i18n): support plural and gender special forms 18 April 2016, 19:38:12 UTC
7c9717b feat(html_parser): support special forms used by i18n { exp, plural, =0 {} } 18 April 2016, 19:38:11 UTC
7f29766 feat(html_lexer): support special forms used by i18n { exp, plural, =0 {} } 18 April 2016, 19:38:11 UTC
d99823e docs(core): fix some grammar Closes #8055 18 April 2016, 19:34:17 UTC
bb9fb21 feat(i18n): add custom placeholder names Closes #7799 Closes #8057 18 April 2016, 19:14:15 UTC
b64672b fix(dart) reverts `protobuf` to last working version Closes #8125 18 April 2016, 18:28:43 UTC
930f587 Revert "feat(i18n): add support for custom placeholder names" This reverts commit 2abb414cfbdedd4bf58f1adcee9916107fe1c943. 14 April 2016, 22:36:40 UTC
2b34c88 refactor(view_compiler): codegen DI and Queries BREAKING CHANGE: - Renderer: * renderComponent method is removed form `Renderer`, only present on `RootRenderer` * Renderer.setDebugInfo is removed. Renderer.createElement / createText / createTemplateAnchor now take the DebugInfo directly. - Query semantics: * Queries don't work with dynamically loaded components. * e.g. for router-outlet: loaded components can't be queries via @ViewQuery, but router-outlet emits an event `activate` now that emits the activated component - Exception classes and the context inside changed (renamed fields) - DebugElement.attributes is an Object and not a Map in JS any more - ChangeDetectorGenConfig was renamed into CompilerConfig - AppViewManager.createEmbeddedViewInContainer / AppViewManager.createHostViewInContainer are removed, use the methods in ViewContainerRef instead - Change detection order changed: * 1. dirty check component inputs * 2. dirty check content children * 3. update render nodes Closes #6301 Closes #6567 13 April 2016, 21:43:48 UTC
45f09ba docs(changelog): update changelog to beta.15 13 April 2016, 21:39:17 UTC
bb62905 chore(release): bump version to beta.15 13 April 2016, 21:39:17 UTC
7bc9b19 cleanup(tests): remove unused imports Closes #6784 13 April 2016, 20:24:04 UTC
e9f7a00 docs(metadata): Add more docs of ViewChild and ViewChildren Closes #7174 13 April 2016, 20:24:04 UTC
a5d6b6d fix(WebWorker): Fix textarea value not being sent to the worker Closes #7439 Closes #7828 13 April 2016, 20:24:04 UTC
fc49681 fix(7877): StaticReflector returns empty results instead of undefined. Reflector always returns either an empty object or an empty list if no metadata is recorded for the class. StaticReflector matches this behavior. Closes #7986 13 April 2016, 20:23:54 UTC
2abb414 feat(i18n): add support for custom placeholder names Closes #7799 Closes #8010 13 April 2016, 20:23:42 UTC
0e56aaf fix: remove typescript references to d.ts files from benchpress and e2e tests using "/// <reference" is incorrect because it makes our code non-portable. The correct solution is to provide these typings as ambient typings as an additional entry point - which we already do. Closes #8050 13 April 2016, 20:23:27 UTC
3412aba feat(typescript): update to 1.9 nightly. To workaround https://github.com/Microsoft/TypeScript/issues/7573 we must remove the readonly keyword from generated .d.ts files. This solution will not scale, but will probably buy enough time to require our users move to a 2.0 beta. Closes #8003 13 April 2016, 18:54:58 UTC
347e71a chore(travis): enable the typescript@next build Fixes #7050 13 April 2016, 18:54:58 UTC
d24df79 Revert "feat(iterable_differ): support immutable lists" In Dart, ImmutableLists are just a projection of an underlying list. I.e. if the underlying list changes, the ImmutableList also changes. So we can't make optimizations based on checking whether a collection is an ImmutableList. This reverts commit a10c02cb4107624b58b4b3f54da6bf0e0e70c6c6. Closes #8023 13 April 2016, 17:02:48 UTC
01e6b8c fix(build): ignore dart warnings `The name … is shown, but not used` See https://github.com/angular/angular/issues/8044 Closes #8045 13 April 2016, 16:49:33 UTC
60727c4 revert(format): Revert "chore(format): update to latest formatter" This reverts commit 03627aa84d90f7f1d8d62f160997b783fdf9eaa4. 12 April 2016, 16:41:01 UTC
03627aa chore(format): update to latest formatter Closes #7958 11 April 2016, 22:15:23 UTC
83b8f59 feat(transformers): special case Profiler 11 April 2016, 21:32:22 UTC
c6f454f docs: remove duplicate 'directives' from example Closes #7963 11 April 2016, 21:29:21 UTC
ccff175 feat(ngFor): Support convenience view local in ngFor Closes #8013 11 April 2016, 21:27:48 UTC
fb2773b docs(router): fix wording of hashchange explanation Closes #7776 11 April 2016, 21:11:11 UTC
5110121 docs(ViewQuery): fix typo in documentation fix typo that confusingly refers to `@Query` rather than `@ViewQuery`. Closes #7870 11 April 2016, 21:04:08 UTC
27cf897 chore: upgrade zone.js to v0.6.10 Closes #7818 Closes #7721 Closes #7888 11 April 2016, 21:03:59 UTC
5d33a12 chore(gulpfile): turn off mangle for prod Closes #7988 11 April 2016, 20:50:14 UTC
08b2956 fix(7987): Incremental build works with new trees Closes #7989 11 April 2016, 20:28:34 UTC
3b60503 feat(transformers): changes transformers to collect information about providers and resolve identifiers during linking 11 April 2016, 02:36:16 UTC
3c2473b Fixed typo in documentation Closes #7943 08 April 2016, 23:27:36 UTC
f942670 chore(build): Fix errors reported using 1.9. Closes #7954 08 April 2016, 21:53:50 UTC
e1e44a9 fix(select): set value individually from ngModel Closes #7975 Closes #7978 08 April 2016, 21:08:05 UTC
f371c90 build(broccoli): Clean-up TypeScript build The TypeScript parser now only references files that are in broccoli trees. Closes #7941 08 April 2016, 19:30:39 UTC
85c1927 build(broccoli): AngularBuilder compiles with TypeScript 1.8+. Beginning with 1.8, if a modules has both a .ts and .d.ts file, the .js file is not written. Closes #7947 08 April 2016, 19:24:04 UTC
a596b88 feat(compiler): Add an implementation for XHR that uses a template cache to load template files. Useful for avoiding doing an actual XHR during testing. Part of the solution for #4051 (Other part is a Karma plugin that will create the template cache). Closes #7940 08 April 2016, 19:05:05 UTC
6cbf990 feat(gestures): allow override of Hammer default configuration Closes #7924 08 April 2016, 18:53:58 UTC
26a3390 refactor(dart/transform): Remove deprecated angular2/bootstrap BREAKING CHANGE Remove the deprecated angular2/bootstrap.ts & angular2/bootstrap_static.ts libraries. Browser entry points should import angular2/platform/browser which supplies the `bootstrap` function. Closes #7650 08 April 2016, 18:28:35 UTC
back to top