angular/packages/common/http/src
Matthieu Riegler ef665a40a5 refactor(http): Deprecate HttpClientModule & related modules (#54020)
This commit deprecates the `HttpClientModule` and other related http modules. Those can be replaced by provider function only.

Angular is an opinionated framework, feature guidance will help developer choose the recommended way to enable feature (like Http requests here).

Note: This is not an indication of deprecation for `NgModule`. The deprecated module's only purpose here was to define providers. This can be done directly by the provide function pattern.

DEPRECATED: `HttpClientModule`, `HttpClientXsrfModule` and `HttpClientJsonpModule`

As mentionned, those modules can be replaced by provider function only.

PR Close #54020
2024-04-23 12:12:31 -07:00
..
backend.ts refactor(http): introduce the functional interceptors API (#47502) 2022-10-06 19:02:45 +00:00
client.ts docs: Use new Urls to drop the docs url mapper (#55043) 2024-04-09 12:23:09 -07:00
context.ts feat(http): add has() method to HttpContext class (#43887) 2021-11-04 18:52:18 +00:00
errors.ts feat(http): allow caching requests with different origins between server and client (#55274) 2024-04-22 11:26:09 -07:00
fetch.ts refactor(http): remove direct usage of HttpStatusCode (#55434) 2024-04-22 11:36:51 -07:00
headers.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
interceptor.ts refactor(http): Do not contribute to stability when using provideHttpClientTesting (#54974) 2024-04-10 09:27:40 -07:00
jsonp.ts refactor(http): remove direct usage of HttpStatusCode (#55434) 2024-04-22 11:36:51 -07:00
module.ts refactor(http): Deprecate HttpClientModule & related modules (#54020) 2024-04-23 12:12:31 -07:00
params.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
private_export.ts refactor(http): Do not contribute to stability when using provideHttpClientTesting (#54974) 2024-04-10 09:27:40 -07:00
provider.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00
request.ts fix(http): manage different body types for caching POST requests (#54980) 2024-03-25 11:17:02 -07:00
response.ts refactor(http): remove direct usage of HttpStatusCode (#55434) 2024-04-22 11:36:51 -07:00
transfer_cache.ts feat(http): allow caching requests with different origins between server and client (#55274) 2024-04-22 11:26:09 -07:00
xhr.ts refactor(http): remove direct usage of HttpStatusCode (#55434) 2024-04-22 11:36:51 -07:00
xsrf.ts refactor: migrate common to prettier formatting (#54150) 2024-01-30 16:08:07 +00:00