3d8eb8cbca
fix(platform-browser/testing): clean up public api for platform-browser/testing ( #9519 )
...
Mostly, removing things that were never intended to be exported publicy.
BREAKING CHANGE:
The following are no longer publicly exported APIs. They were intended as internal
utilities and you should use your own util:
```
browserDetection,
dispatchEvent,
el,
normalizeCSS,
stringifyElement,
expect (and custom matchers for Jasmine)
```
2016-06-23 16:42:25 -07:00
22d8f73bc9
test: add public api golden files
...
Includes a few style fixes on "* as foo" imports.
2016-06-23 14:26:40 -07:00
5150344213
fix(common): add license header to localization.ts
2016-06-23 13:27:43 -07:00
fed1672a43
refactor(i18n): I18nPipe uses NgLocalization ( #9313 )
...
and some refactoring
2016-06-23 11:44:05 -07:00
ae75e3640a
chore(lint): Added license headers to most TypeScript files
...
Relates to #9380
2016-06-23 09:47:54 -07:00
e1e5c40ef7
fix(testing): remove the toThrowErrorWith
matcher (jasmine has toThrowError
)
...
BREAKING CHANGE:
Before:
expect(...).toThrowErrorWith(msg);
After:
expect(...).toThrowError(msg);
2016-06-23 08:58:52 -07:00
398060d5ff
fix(NgSwitch): display deprecation message only once
2016-06-23 08:56:10 -07:00
c9c81e1fbc
fix(XmbSerializer): add meaning attribute, escape attribute values
2016-06-21 11:52:11 -07:00
ca42b49fa2
refactor: misc cleanup ( #9369 )
2016-06-20 10:55:29 -07:00
8675b8dc48
fix: cleanup public api of platform-server
...
BREAKING CHANGE: Parse5Adapter is no longer exported as public API, use serverBootstrap()
Parse5Adapter is an implementation detail not a public API
Closes #9237
Closes #9205
2016-06-19 09:03:01 -07:00
2d60ff14ae
bug(datePipe): date format pipe's 2-digit interpretation of minutes and seconds ( #9338 )
...
Closes #9333
2016-06-18 09:03:58 -07:00
5c8d3154d7
feat(datePipe): numeric string support
2016-06-17 15:58:06 -07:00
40f8a45b95
test(DatePipe): fixes
2016-06-17 15:48:26 -07:00
49bf3f5b3a
fix(NumberPipe): fix broken RegExp
...
introduced in 7498050421
(#9308 )
2016-06-17 15:33:25 -07:00
721f53f0d6
feat(I18N Expander): do not add extra <ul>
& <li>
around ICU messages ( #9283 )
...
fixes #9072
2016-06-17 11:38:24 -07:00
7498050421
refactor: misc ( #9308 )
2016-06-17 10:57:50 -07:00
5e3ccbcea9
refactor: add types ( #9288 )
2016-06-17 10:57:32 -07:00
37b617dccf
chore(tsickle): add @Annotation annotations
...
This lets users continue using runtime-sideeffect Decorators if they choose,
only down-leveling the marked ones to Annotations.
Also remove the "skipTemplateCodegen" option, which is no longer needed
since Angular compiles with tsc-wrapped rather than ngc. The former doesn't
include any codegen.
2016-06-16 12:29:46 -07:00
2fd1e88199
fix(forms): suppress forms deprecation warning after first
2016-06-15 08:52:56 -07:00
8a54c1a115
refactor(ViewBuilder): cleanup
2016-06-14 19:11:30 -07:00
22916bb5d1
feat(forms): add easy way to switch between forms modules ( #9202 )
2016-06-14 18:23:40 -07:00
a191e9697c
feat(forms): support setting control name in ngModelOptions
2016-06-13 16:57:10 -07:00
5c0cfdee48
fix(forms): separate ngModelGroup from formGroupName
2016-06-13 13:41:39 -07:00
61960c51a3
feat(forms): compose validator fns automatically if arrays
2016-06-13 11:41:32 -07:00
2b8d12ddf0
chore(forms): rename ngControl to formControlName
2016-06-12 13:17:36 -07:00
1f6fd3c8fc
refactor: add types ( #9148 )
2016-06-11 21:23:37 -07:00
7d9c1e1225
chore(forms): rename ngFormModel to formGroup
2016-06-10 19:10:17 -07:00
d53edfec47
chore(forms): rename ngFormControl to formControl
2016-06-10 17:28:19 -07:00
b866f32832
chore(forms): rename Control, ControlGroup, and ControlArray classes
2016-06-10 12:00:18 -07:00
97833d48c1
chore(templateOutlet): fix linting
2016-06-10 11:32:09 -07:00
9c0031f7a5
fix: broken build due to bad noImplicitAny merge
2016-06-10 10:35:36 -07:00
164a091c71
feat(NgTemplateOutlet): add context to NgTemplateOutlet
...
Closes #9042
2016-06-10 10:25:44 -07:00
4ed6cf7519
feat(forms): allow ngModel to register with parent form
2016-06-10 10:24:01 -07:00
e1fcab777c
fix(ngSwitch): use switchCase instead of switchWhen ( #9076 )
2016-06-09 22:52:30 -07:00
f39c9c9e75
style(lint): re-format modules/@angular
2016-06-09 17:00:15 -07:00
9146bb0816
docs(DatePipe): Update date doc reference in date_pipe.ts ( #9081 )
2016-06-09 16:05:13 -07:00
7ce0fc7d47
refactor: add types ( #9116 )
2016-06-09 11:04:15 -07:00
e213939f28
chore(forms): fix implicit any
2016-06-08 17:08:59 -07:00
4c39eace52
feat(forms): add new forms folder
2016-06-08 16:41:08 -07:00
86fbd50c3d
refactor(TypeScript): Add noImplicitAny
...
We automatically insert explicit 'any's where needed. These need to be
addressed as in #9100 .
Fixes #4924
2016-06-08 16:20:50 -07:00
50acb96130
fix(forms): update value and validity when controls are added
...
Closes #8826
2016-06-08 14:06:20 -07:00
515a8e0765
fix(forms): rename old forms folder to forms-deprecated
2016-06-08 11:21:58 -07:00
994d9212c1
docs(NgControlName): correct exports name ( #9021 )
2016-06-04 19:48:50 -07:00
a6ad61d83e
refactor: change provide(...) for {provide: ...}
...
- provide() is deprecated,
- {} syntax is required by the offline compiler
2016-06-03 15:03:49 -07:00
27a47e7841
refactor(imports): simplify paths
2016-06-03 14:46:04 -07:00
cf2d3cf920
style(pipes): cleanup unused imports
...
Remove unused imports from the pipes package. No impact on the code.
2016-06-03 09:58:57 -07:00
70d944a59c
refactor: correct api modifier flags
2016-06-01 10:43:22 -07:00
a5a422f8e7
refactor(NumberPipe): remove NumberPipe and replace it with private helper function
...
NumberPipe was just an implementation detail that we were accidentaly exposing as a public api.
2016-06-01 10:43:22 -07:00
e93b3d2360
fix(Location): make Location#platformStrategy:LocationStrategy property private
...
BREAKING CHANGE: Location#platformStrategy property was previously accidentaly exported as public
If any application requires access to the current location strategy, it should be accessed via DI instead
by injecting the LocationStrategy token.
The likelyhood of anyone actually depending on this property is very low.
2016-06-01 10:43:22 -07:00
7bc2d9a93a
docs: add api stability indicators for @angular/common
2016-06-01 10:43:22 -07:00