23bd0fbfc1
docs(http): vanilla links do not need link tags ( #14097 )
2017-02-02 16:32:23 -06:00
015878afe6
fix(http): don't create a blob out of ArrayBuffer when type is application/octet-stream ( #13992 )
...
Closes #13973
2017-01-18 18:28:37 -06:00
104cc42f6d
docs(http): Spelling Fix #13867
2017-01-18 18:20:30 -06:00
ae1029da35
docs(Http): fix and extend samples for testing/MockBackend ( #13689 )
...
Fix samples for MockBackend and MockBackend.connections that were outdated. Also extend central sample for MockBackend to ease getting started.
2017-01-06 11:00:10 -08:00
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
65c9b5b6aa
fix(http): create a copy of headers when merge options ( #13365 )
...
Closes #11980
2016-12-14 17:36:48 -08:00
f106a18b96
fix(http): check response body text against undefined ( #13017 )
2016-12-14 17:35:05 -08:00
16efb13dd1
fix: display framework version on bootstrapped component ( #13252 )
2016-12-06 16:21:07 -08:00
986abbe0b2
fix(http): set the default Accept header ( #12989 )
...
Fixes #6354
2016-12-06 16:20:43 -08:00
e628b66cca
feat(build): record angular version in the dom ( #13164 )
2016-11-30 13:52:08 -08:00
2d6a003dba
feat: update RxJS peer dependency to 5.0.0-rc.4
...
Closes #13125
RxJS from beta-12 to rc.4, has removed the `cache`
operator. (See https://github.com/ReactiveX/rxjs/blob/master/CHANGELOG.md#breaking-changes-1 )
If your application relies on it, then we suggest
that you use the one from this gist:
https://gist.github.com/robwormald/19dea0c70a6e01aadced6731aed4f9f7
2016-11-29 16:27:33 -08:00
94b8612e4e
Fix(http): invalidStateError response body
...
Check on null value failed with last version of mozilla.
Check on undefined type instead.
2016-11-28 14:36:32 -08:00
664a6273e1
feature(tsc-wrapped): add option for closure compiler JSDoc annotations
2016-11-18 09:37:40 -08:00
13ba2f90b9
refactor(http): remove all facade methods from http module ( #12870 )
2016-11-15 09:19:14 -08:00
1d53a870dd
fix(http): return request url if it cannot be retrieved from response
...
closes #12837
2016-11-14 12:54:43 -08:00
a0c58a6b5c
fix(http): correctly handle response body for 204 status code
...
closes #12830
fixes #12393
2016-11-14 12:36:22 -08:00
d3eff6c483
refactor(xhr_backend): remove facade
2016-11-14 12:36:16 -08:00
77ee27c59e
refactor(): use const and let instead of var
2016-11-12 16:40:17 -08:00
ec92f4b198
refactor: remove keys()
and values()
from MapWrapper
2016-11-04 13:27:38 -07:00
121e5080aa
fix(http): preserve header case when copying headers ( #12697 )
2016-11-04 13:26:38 -07:00
b4265e0685
fix(xsrf): overwrite already set xsrf header
2016-10-26 14:55:24 -07:00
76dd026447
refactor: remove some facades ( #12335 )
2016-10-19 13:42:39 -07:00
8409b65153
fix(http): make normalizeMethodName optimizer-compatible. ( #12370 )
...
`normalizeMethodName` reflectively accessed the RequestMethod enum. With a smart
optimizer, properties from the enum could be removed or renamed, and so user
code just passing in e.g. 'PATCH' might not work. This change fixes the code to
be more explicit and avoids the optimizer issue.
2016-10-18 11:21:54 -07:00
8603d9c269
refactor(http): use Http.request for all http shorthand methods ( #12319 )
2016-10-17 23:04:25 -07:00
f4566f8128
fix(http): fix Headers initialization from Headers and Object ( #12106 )
2016-10-06 15:21:27 -07:00
a67c06708d
fix(http): Headers.append should append to the list
2016-10-06 15:21:03 -07:00
d9d57d71dd
refactor(http): move one Headers test inside the main describe
2016-10-06 15:21:03 -07:00
8c975ed156
refactor(facade): inline StringWrapper ( #12051 )
2016-10-06 15:10:27 -07:00
cf269d9ff4
refactor: add license header to JS files & format files ( #12081 )
2016-10-04 20:39:20 -07:00
43d3a84df3
Revert "refactor: add license header to JS files & format files ( #12035 )"
...
This reverts commit 8310c91823
.
2016-10-04 14:06:41 -07:00
8310c91823
refactor: add license header to JS files & format files ( #12035 )
2016-10-04 13:15:49 -07:00
ed9c2b6281
fix(Header): preserve case of the first init, set()
or append()
( #12023 )
...
fixes #11624
2016-10-03 15:27:56 -07:00
bf7b82b658
fix(UrlSearchParams): change a behavior when a param value is null or undefined ( #11990 )
2016-09-30 09:57:26 -07:00
0286956107
refactor(facade): Inline isBlank called with object-type argument ( #11992 )
2016-09-30 09:26:53 -07:00
41c8c30973
chore(lint): remove unused imports ( #11923 )
...
This was done automatically by tslint, which can now fix issues it finds.
The fixer is still pending in PR https://github.com/palantir/tslint/pull/1568
Also I have a local bugfix for https://github.com/palantir/tslint/issues/1569
which causes too many imports to be deleted.
2016-09-27 17:12:25 -07:00
58605cf350
refactor(facade): remove useless facades
2016-09-27 16:13:09 -07:00
5ab5cc77bb
Fix(http): invalidStateError if response body without content ( #11786 )
...
Fix(http): invalidStateError if response body without content
If the responseType has been specified and other than 'text', responseText throw an InvalidStateError exception
See XHR doc => https://xhr.spec.whatwg.org/#the-responsetext-attribute
Unit Test to prevent invalidStateError
2016-09-24 05:44:01 +09:00
671f73448c
refactor: misc cleanup ( #11654 )
2016-09-19 17:15:57 -07:00
cb657c4b55
docs: update descriptions in package.jsons
2016-09-14 16:44:39 -07:00
cc7780adf7
build(npm): update to rxjs@5.0.0-beta.12
...
Fixes #11300
2016-09-12 12:05:00 -07:00
d296298282
fix(build): prevent package tsconfigs from shadowing main tsconfig ( #11454 )
2016-09-08 15:01:22 -07:00
174c016104
fix(bundles): correct RxJS mapping in rollup config for umd/es5 bundles
2016-08-30 21:07:45 -07:00
71ae2c4525
refactor(webworkers): move webworkers to separate @angular/platform-webworker and @angular/platform-webworker-dynamic packages
...
BREAKING CHANGE: web worker platform is now exported via separate packages.
Please use @angular/platform-webworker and @angular/platform-webworker-dynamic
2016-08-30 21:07:45 -07:00
979657989b
fix(packages): use ES modules for primary build ( #11120 )
2016-08-30 18:07:40 -07:00
75553200c0
fix(http): encode correct value for %3D ( #9790 )
2016-08-26 15:47:29 -07:00
7c07bfff97
fix(errors): [2/2] Rename Exception to Error; remove from public API
...
BREAKING CHANGE:
Exceptions are no longer part of the public API. We don't expect that anyone should be referring to the Exception types.
ExceptionHandler.call(exception: any, stackTrace?: any, reason?: string): void;
change to:
ErrorHandler.handleError(error: any): void;
2016-08-26 10:37:17 -07:00
66df335998
chore(dependencies): switch from es6-shim to core-js ( #10884 )
2016-08-25 17:28:36 -07:00
7dfcaac730
fix(http): restructure exports so that we don't leak private factory functions ( #11016 )
...
Ref #10615
2016-08-23 16:34:57 -07:00
39a2c39cef
feat(compiler): Added "strictMetadataEmit" option to ngc ( #10951 )
...
ngc can now validate metadata before emitting to verify it doesn't
contain an error symbol that will result in a runtime error if
it is used by the StaticReflector.
To enable this add the section,
"angularCompilerOptions": {
"strictMetadataEmit": true
}
to the top level of the tsconfig.json file passed to ngc.
Enabled metadata validation for packages that are intended to be
used statically.
2016-08-22 17:37:48 -07:00
ca41b4f5ff
feature(core): update RxJS to 5.0.0-beta.11 ( #10648 )
2016-08-22 17:17:23 -07:00