angular/tools/public_api_guard
Kara Erickson ebef5e697a feat(forms): add options arg to abstract controls
FormControls, FormGroups, and FormArrays now optionally accept an options
object as their second argument. Validators and async validators can be
passed in as part of this options object (though they can still be passed
in as the second and third arg as before).

```ts
const c = new FormControl(, {
   validators: [Validators.required],
   asyncValidators: [myAsyncValidator]
});
```

This commit also adds support for passing arrays of validators and async
validators to FormGroups and FormArrays, which formerly only accepted
individual functions.

```ts
const g = new FormGroup({
   one: new FormControl()
}, [myPasswordValidator, myOtherValidator]);
```

This change paves the way for adding more options to AbstractControls,
such as more fine-grained control of validation timing.
2017-07-31 11:29:32 -07:00
..
animations docs(animations): add documentation for new animation features 2017-05-19 12:52:04 -07:00
common fix(common): rename HttpXsrfModule to HttpClientXsrfModule 2017-07-14 12:40:52 -07:00
compiler build: fix paths to typings files so tsickle resolves imports correctly 2017-03-16 17:34:29 -07:00
core perf(core): use native addEventListener for faster rendering. (#18107) 2017-07-25 15:35:44 -05:00
forms feat(forms): add options arg to abstract controls 2017-07-31 11:29:32 -07:00
http fix(http): move destructuring inside {Request,Response}Options ctor 2017-06-09 14:34:39 -07:00
platform-browser feat(common): new HttpClient API 2017-07-07 12:09:32 -07:00
platform-browser-dynamic fix(platform-browser): Update types for TypeScript nullability support 2017-04-18 12:07:33 -07:00
platform-server docs(platform-server): inline PlatformOptions and add doc strings (#18264) 2017-07-25 15:58:13 -05:00
platform-webworker fix(platform-browser): Update types for TypeScript nullability support 2017-04-18 12:07:33 -07:00
platform-webworker-dynamic fix(platform-browser): Update types for TypeScript nullability support 2017-04-18 12:07:33 -07:00
router fix(router): export missing UrlMatcher and UrlMatchResult types 2017-07-05 15:26:27 -07:00
upgrade feat(upgrade): support lazy-loading Angular module into AngularJS app 2017-07-14 14:10:30 -07:00