Muhammad Umair
7b87392f47
docs: added value param wrt. method signature ( #32968 )
...
PR Close #32968
2019-11-06 19:51:19 +00:00
Judy Bogart
8321bd8a74
docs: clarify http header api doc ( #33038 )
...
PR Close #33038
2019-10-14 23:45:45 +00:00
Miško Hevery
0c69ec20c2
fix: google3 sync which requires type hints ( #33108 )
...
PR Close #33108
2019-10-11 12:09:20 -07:00
Danny Skoog
6ab5f3648a
refactor: utilize type narrowing ( #33075 )
...
PR Close #33075
2019-10-10 15:18:44 -07:00
Judy Bogart
9e7aa60ae7
docs: clarify http response type ( #32817 )
...
PR Close #32817
2019-10-01 11:00:36 -07:00
Mansour Fall
f5bec3ff50
feat(common): HttpParams fromObject accepts ReadonlyArray<string> ( #31072 )
...
Fixes #28452
PR Close #31072
2019-08-30 12:55:02 -07:00
Judy Bogart
27997a16c0
docs: http api doc edit ( #31613 )
...
PR Close #31613
2019-07-23 21:12:25 -07:00
Paul Gschwendtner
647d7bdd88
refactor: fix typescript strict flag failures in all tests ( #30993 )
...
Fixes all TypeScript failures caused by enabling the `--strict`
flag for test source files. We also want to enable the strict
options for tests as the strictness enforcement improves the
overall codehealth, unveiled common issues and additionally it
allows us to enable `strict` in the `tsconfig.json` that is picked
up by IDE's.
PR Close #30993
2019-07-18 14:21:26 -07:00
Paul Gschwendtner
0139b11227
refactor(common): ensure compatibility with typescript strict flag ( #30993 )
...
As part of FW-1265, the `@angular/common` package is made compatible
with the TypeScript `--strict` flag. Read more about the strict flag [here](https://www.typescriptlang.org/docs/handbook/compiler-options.html )
PR Close #30993
2019-07-18 14:21:26 -07:00
Santosh Yadav
5c18f23788
fix(common): expose the `HttpUploadProgressEvent` interface as public API ( #30852 )
...
Fixes #30814
PR Close #30852
2019-06-07 08:47:47 -07:00
Alex Eagle
337b6fe003
build: remove unreferenced tsconfig-build.json files ( #30858 )
...
These are no longer needed since Bazel generates a tsconfig for each compilation
PR Close #30858
2019-06-05 09:03:36 -07:00
JoostK
8e8e89a119
fix(common): prevent repeated application of HttpParams mutations ( #29045 )
...
Previously, an instance of HttpParams would retain its list of mutations
after they have been materialized as a result of a read operation. Not
only does this unnecessarily hold onto memory, more importantly does it
introduce a bug where branching of off a materialized instance would
reconsider the set of mutations that had already been applied, resulting
in repeated application of mutations.
This commit fixes the bug by clearing the list of pending mutations
after they have been materialized, such that they will not be considered
once again for branched off instances.
Fixes #20430
PR Close #29045
2019-04-23 08:43:54 -07:00
José I. Escudero
0cab43785b
docs: fixed typo on HttpParamsOptions ( #29930 )
...
PR Close #29930
2019-04-22 16:36:52 -07:00
Dave
76110d71d3
docs(http): add information about body content type to flush method for testing ( #29214 )
...
PR Close #29214
2019-04-01 11:03:49 -07:00
Vani
b17d1a9aa3
docs: update description text ( #28507 )
...
PR Close #28507
2019-03-27 09:57:36 -07:00
Vani
60f6d9e733
docs: fix lint error ( #28507 )
...
PR Close #28507
2019-03-27 09:57:36 -07:00
Vani
416b0d29b9
docs: add details to HttpUrlEncodingCodec API description ( #28507 )
...
PR Close #28507
2019-03-27 09:57:36 -07:00
Alan
941c99ad7f
build: turn off dts bundling for packages that still are not supported ( #29128 )
...
PR Close #29128
2019-03-07 10:47:20 -08:00
Alan
d5a8be76f2
build: enable bundle_dts for common package ( #28834 )
...
PR Close #28834
2019-03-06 10:59:18 -08:00
Greg Magolan
ea09430039
build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles ( #28871 )
...
PR Close #28871
2019-02-28 12:06:36 -08:00
Wassim Chegham
ce68b4d839
style: enforce buildifier lint on CI ( #28186 )
...
PR Close #28186
2019-02-26 16:57:41 -08:00
Greg Magolan
75357ecb32
build(bazel): run a number of web tests with karma_web_test in saucelabs in CircleCI ( #27721 )
...
PR Close #27721
2019-02-22 13:07:08 -08:00
Vani
65d839da03
docs(common): update docs for HttpClient methods ( #26143 )
...
PR Close #26143
2019-02-21 20:56:11 -08:00
Greg Magolan
67ad8a2632
build: move rxjs type reference to event emitter ( #28720 )
...
PR Close #28720
2019-02-19 16:28:14 -08:00
Greg Magolan
25aae64274
build(bazel): do not build rxjs from source under Bazel ( #28720 )
...
PR Close #28720
2019-02-19 16:28:14 -08:00
Vani
8accc98d28
docs: incorporate review feedback ( #26827 )
...
PR Close #26827
2019-02-14 19:33:14 +00:00
Vani
aa8d0809d3
docs: update HttpInterceptor API docs ( #26827 )
...
PR Close #26827
2019-02-14 19:33:14 +00:00
Paul Gschwendtner
7cbc36fdac
build: remove unused rollup.config.js files ( #28646 )
...
Since we build and publish the individual packages
using Bazel and `build.sh` has been removed, we can
safely remove the `rollup.config.js` files which are no
longer needed because the `ng_package` bazel rule
automatically handles the rollup settings and globals.
PR Close #28646
2019-02-14 19:28:08 +00:00
Vani
c3fadadaa9
docs: update HttpHeader documentation ( #26233 )
...
PR Close #26233
2019-02-07 16:42:13 -08:00
Alex Eagle
38343a2388
build: set a default module_name for ts_library rules ( #28051 )
...
PR Close #28051
2019-01-18 10:16:39 -08:00
Igor Minar
4f81a7c590
test(common): run @angular/common/http/testing tests under bazel ( #27386 )
...
PR Close #27386
2018-12-05 20:55:31 -08:00
Trotyl Yu
1db53da0d3
fix(common): expose request url in network error ( #27143 )
...
closes #27029
PR Close #27143
2018-11-27 10:16:22 -08:00
Kara Erickson
3ec7c5081d
test(ivy): fix paths for http tests to work with ivy ( #27121 )
...
PR Close #27121
2018-11-15 21:18:00 -08:00
Misko Hevery
7d2a746090
build: remove ivy JIT mode ( #26863 )
...
PR Close #26863
2018-11-02 15:44:05 -07:00
Igor Minar
ee0b857172
build: rename the ivy compile mode 'local' to 'aot' ( #26686 )
...
PR Close #26686
2018-10-23 14:14:49 -07:00
Igor Minar
4237c34c78
test(ivy): mark failing test targets with fixme-ivy-jit and fixme-ivy-local tags ( #26471 )
...
We are close enough to blacklist a few test targets, rather than whitelist targets to run...
Because bazel rules can be composed of other rules that don't inherit tags automatically,
I had to explicitly mark all of our ts_library and ng_module targes with "ivy-local" and
"ivy-jit" tags so that we can create a query that excludes all fixme- tagged targets even
if those targets are composed of other targets that don't inherit this tag.
This is the updated overview of ivy related bazel tags:
- ivy-only: target that builds or runs only under ivy
- fixme-ivy-jit: target that doesn't yet build or run under ivy with --compile=jit
- fixme-ivy-local: target that doesn't yet build or run under ivy with --compile=local
- no-ivy-jit: target that is not intended to build or run under ivy with --compile=jit
- no-ivy-local: target that is not intended to build or run under ivy with --compile=local
PR Close #26471
2018-10-23 08:57:42 -07:00
Pete Bacon Darwin
0918adf39d
docs: common with `@publicApi` tags ( #26595 )
...
PR Close #26595
2018-10-19 14:35:53 -07:00
Judy Bogart
f543d71cc3
docs: add package doc files ( #26047 )
...
PR Close #26047
2018-10-05 15:42:14 -07:00
Judy Bogart
dd5e35ee67
docs: add ngmodule api doc ( #25618 )
...
PR Close #25618
2018-09-19 10:40:58 -07:00
Alex Eagle
cbbad1b791
refactor(ivy): pre-factor: set explicit type parameters for ModuleWithProviders ( #25970 )
...
Ivy depends on having the generic type token later when reading the ModuleWithProviders from a .d.ts file.
PR Close #25970
2018-09-18 13:28:44 -07:00
Greg Magolan
b99d7ed5bf
build(bazel): update to rules_typescript 0.17.0 & rules_nodejs 0.13.4 ( #25920 )
...
PR Close #25920
2018-09-18 13:05:38 -07:00
Alan Agius
5653fada32
feat: add TypeScript 3 support ( #25275 )
...
PR Close #25275
2018-08-27 21:07:53 -04:00
Pete Bacon Darwin
15cc85c54a
style(common): fix short param names ( #23667 )
...
PR Close #23667
2018-08-03 14:09:27 -07:00
Drummond Dawson
5982425436
test(common): TokenExtractor should extend HttpXsrfTokenExtractor in xsrf spec ( #24649 )
...
PR Close #24649
2018-08-02 08:34:15 -07:00
Drummond Dawson
140248ade0
test(common): remove unused import in xsrf spec ( #24649 )
...
PR Close #24649
2018-08-02 08:34:14 -07:00
Alex Rickabaugh
d05d28629d
test(common): run common/http tests with Bazel ( #24738 )
...
@angular/common/http had tests which were not executed in Bazel. This
commit adds a BUILD.bazel file and ensures the tests pass.
PR Close #24738
2018-07-12 16:36:35 -04:00
George Kalpakas
e01b539ee5
refactor: infer type for `it()` assertion functions ( #19904 )
...
PR Close #19904
2018-07-06 13:48:02 -07:00
riren
5fe1e74dd3
docs(common): fix in the documentation of PUT ( #24528 )
...
PR Close #24528
2018-07-06 10:13:20 -07:00
Rafael
8fe8b8fcff
docs: fix typos in 'Httpclient' docs ( #19127 )
...
PR Close #19127
2018-07-06 10:09:40 -07:00
Judy Bogart
7d318743c1
docs: test doc for decorator templates ( #23902 ) ( #23902 )
...
PR Close #23902
PR Close #23902
2018-06-25 10:49:31 -07:00