|
maybe the same logical reasoning should be applied to expressjs? for request we now have the new shiny got module, there is no re-write or true alternative to expressjs on the horizon. express is great, but it is not really actively updated with new features these years |
|
express may not be updated with new features but it is actively maintained and, last time i checked, has a few people still quite interested in doing that work. i don’t know that they need to take the steps we’ve taken towards deprecation. |
|
@laoshaw what has express anything to do with |
|
Preparing full deprecation. #3267 |
|
We are fully deprecated! All versions on npm note the deprecation and the README notes clearly that It’s been a great 10+ years, thanks to everyone who contributed over the last decade. Let’s all look forward to new libraries that are better suited for the changes that are occurring in the JS language and ecosystem. |
|
So lets get SPECIFIC. Not to be left hanging on dead crust.... so many better options... like WHICH ones? |
|
@riclf we've been using https://github.com/googleapis/teeny-request/ to help ween us off of request for a few years. It does not do everything you are going to want it to do :) It uses |
|
For a promise-first solution there's also |
|
Does anyone have any recommendations for alternative clients that have good support for HTTP Long Polling and presents as either a Stream or Event Emitter? |
|
The last time I checked in April 2019, alternatives like Is there any good |
|
@bajtos I'm pretty sure |
|
The API is nothing like request though, so I wouldn’t call it a “replacement.” |
|
@mikeal Why is it called |
This feels very much like technically correct rather than user-friendly logic. From the user perspective bent solves the same problem as request but better. Now it's stuck with a worse name for no reason. You can call it request 3 without much issue imo. Yes the API is breaking but what's what we have semver for. |
Spend some time with It’s not a small difference in naming or promises vs callbacks. The ergonomics are very different, the states it surfaces are very different, the way it thinks about error conditions is a radically different approach.
You use these libraries very differently. There are other libraries that are closer to
Because you “bend” it into a specific shape (very particular success criteria) and it provides an ideal API for the success of that shape and fails on anything but it. The name is a bit abstract, but |
|
what about "got" as a replacement, it's sad we don't have a clear replacement while request is officially deprecated. |
Maybe we should take the fact that nobody has written an API compatible replacement as an indication that adopting an API compatible replacement is undesirable once you sit down and work on it 🧐 That was certainly my experience. |
|
Perhaps what people really want when they ask for a "replacement", is not so much an API compatible alternative, but the maintainer perspective on what other packages are already out there to solve roughly the same problem and that are making this package irrelevant so that you can confidently call it "deprecated". |
|
And I'd say advertising |
710: 2020-02-12のJS: Electron 8.0.0、Angular 9、`request` module is deprecated r=azu a=azu * [Electron 8.0.0 | Electron Blog](https://www.electronjs.org/blog/electron-8-0) * [Version 9 of Angular Now Available — Project Ivy has arrived!](https://blog.angular.io/version-9-of-angular-now-available-project-ivy-has-arrived-23c97b63cfa3) * [Angular - Angular Ivy](https://angular.io/guide/ivy) * [request - npm](https://www.npmjs.com/package/request) * [Request’s Past, Present and Future · Issue #3142 · request/request](request/request#3142 (comment)) * [Alternative libraries to request · Issue #3143 · request/request](request/request#3143) Co-authored-by: azu <azuciao@gmail.com> Co-authored-by: azu <azu@users.noreply.github.com>
|
Angluar 8 request module deprecated
|
This comment has been minimized.
dooglio commentedSep 20, 2019
Pun intended?🤣