Giter Club home page Giter Club logo

Comments (8)

captn3m0 avatar captn3m0 commented on August 11, 2024 1

Makes sense. I need to read up a bit more on the nuance, but the idea was to use httplug.

from razorpay-php.

captn3m0 avatar captn3m0 commented on August 11, 2024 1

The reason we can rely better on httplug is because it gives users flexibility to switch between implementations. This is important in case you have other libraries that rely on a specific guzzle version, for eg.

from razorpay-php.

Nyholm avatar Nyholm commented on August 11, 2024

May I suggest not using Guzzle directly. Relying on an implementation is never good. That is why you should use HTTPlug which is an abstraction over libraries like Guzzle.

from razorpay-php.

gaurav1068 avatar gaurav1068 commented on August 11, 2024

@nemo

Should this be a major version upgrade?
I don't think so for the user nothing is changing, only internals are

Decide between guzzle 5 and 6 -> Even I would prefer guzzle 6
https://www.reddit.com/r/PHP/comments/37llgz/which_version_of_guzzle/
even for other projects either they have moved to 6 or planning to,

If we go with 6, do we keep supporting the older requests releases
can you clarify

guzzle 6 have 3 dependencies guzzlehttp/psr7, guzzlehttp/promises, psr/http-message

How to handle the httplug requirement
what do you mean by this ??

from razorpay-php.

captn3m0 avatar captn3m0 commented on August 11, 2024

Version: I'm not entirely sure. If the upgrade is seamless, then minor upgrade should do. However, if people are likely to face dependency issues while upgrading, a major upgrade might make more sense.

Old Releases: If for some reason, someone is unable to upgrade, do we keep supporting the older releases? Or force people to upgrade?

HTTPlug: Using httpplug means that we can let the library users decide on a different implementation. httplug is an interface that says how to make requests. Various other libraries implement it, including guzzle.
That way, if someone is using an older version of guzzle, or some other request library, it would still work with it.

from razorpay-php.

gaurav1068 avatar gaurav1068 commented on August 11, 2024

Version: let's decide on version at the end, as you mentioned if upgrade is seamless then minor upgrade or else major upgrade.

Old Releases: We should be supporting the older release, it doesn't make sense to force everyone to upgrade

HTTPlug: Do we want to give that much flexibility to users, debugging may be difficult. Your call, in my view, if we can restrict the user to a single library it is better.

from razorpay-php.

captn3m0 avatar captn3m0 commented on August 11, 2024

Aside: Requests 1.7 is now out: https://github.com/rmccue/Requests/releases

from razorpay-php.

ankitdas13 avatar ankitdas13 commented on August 11, 2024

@captn3m0 we have been using Request since the beginning ,and users also depend on it for updates as well. We will regularly add the updated Request.

Closing for now . will reopen if needed

from razorpay-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.