feat: remove @angular/http - #27038
CaerusKaru wants to merge 1 commit into
Conversation
c7533da to
fb7d915
Compare
|
I'd love for this to happen in v8! Would you be willing to work through the cleanup, writing up migration instructions for anyone still using the old http, and get this PR into a mergable state? |
590f2ff to
5a182d2
Compare
There was a problem hiding this comment.
We are almost there!! Can you please fix the following:
git grep "@angular/http" | grep -v CHANGELOG.md
.github/CODEOWNERS:# @angular/http
aio/tools/examples/shared/boilerplate/service-worker/package.json: "@angular/http": "^7.0.0",
integration/platform-server/yarn.lock:"@angular/http@file:../../dist/packages-dist/http":
modules/playground/src/web_workers/worker-systemjs-configure.ts: '@angular/http': '/packages-dist/http/bundles/http.umd.js',
packages/platform-server/package.json: "@angular/http": "0.0.0-PLACEHOLDER",
Also, I looked into google3 and there is still a lot of usage of this package, so we'll need to figure out a plan for that. My current thinking is that unlike with other changes, we'll delete this package from github and schedule a google3 cleanup for after v8.
Lastly, similar to the DOCUMENT PR, please change the commit message type to "feat".
|
@IgorMinar added remaining files, ready for another look! |
|
Could you please split it into two:
|
|
@alexeagle I've opened #29355. We've already migrated all of the docs in AIO, and platform-server can't be migrated until we remove Http entirely (although technically we could: this is up to @IgorMinar). |
|
Will angular not support |
|
@CaerusKaru - where are we at with this PR? It needs a rebase but it is not clear to me whether you successfully split the changes into two as requested by @alexeagle ? |
|
@petebacondarwin This PR hasn't been rebased on top of #29355, which is the split @alexeagle mentioned. Rebasing at this point would be tricky and I might just start from scratch, but only with commitment from the team that this is still needed. |
|
@CaerusKaru Rebase? |
|
G3 change should be in, so this is unblocked |
|
@kara @IgorMinar unfortunately the G3 change is causing files to be removed. We can't merge this yet. |
|
This is now unblocked because G3 doesn't sync Here's the latest sync (of this PR) that proves it: https://critique-ng.corp.google.com/cl/309988926 |
The legacy HTTP package was deprecated in v5 with the launch of @angular/common/http. The legacy package hasn't been published since v7, and will therefore not include a migration.
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
BREAKING CHANGE:
@angular/httpfrom the list of supported Angular core APIs. The new official API for HTTP in Angular is@angular/common/http