Closed schwern closed 3 years ago
5.0.0 now requires HTTP::Response takes a :request. That's fine. https://github.com/httprb/http/commit/2fb5e6f26a324864f990fef6ab4d7a4987f36dce
However, it removed accepting :uri and that broke my test factories. It's not a hard fix, but it seems unnecessary.
How about instead to maintain backwards compatibility...
HTTP::Request.new( verb: opts[:verb], uri: opts[:uri] )
Make it clear in the docs that :uri and :verb are deprecated and will be removed in version 6. That will give people a bit of a buffer.
Agree. Resolved in #678
5.0.0 now requires HTTP::Response takes a :request. That's fine. https://github.com/httprb/http/commit/2fb5e6f26a324864f990fef6ab4d7a4987f36dce
However, it removed accepting :uri and that broke my test factories. It's not a hard fix, but it seems unnecessary.
How about instead to maintain backwards compatibility...
HTTP::Request.new( verb: opts[:verb], uri: opts[:uri] )
Make it clear in the docs that :uri and :verb are deprecated and will be removed in version 6. That will give people a bit of a buffer.