PSPDFKit-labs / bypass

Bypass provides a quick way to create a custom plug that can be put in place instead of an actual HTTP server to return prebaked responses to client requests.
https://hex.pm/packages/bypass
MIT License
964 stars 111 forks source link

New release? #97

Closed josevalim closed 4 years ago

josevalim commented 4 years ago

Hi, thank you so much for bypass!

bypass master does not emit warnings on Elixir v1.10 (as well as Elixir master), so would it be possible to do a new release for those who want to be warning free? Thank you! :heart:

anthonator commented 4 years ago

Any chance we could get a response from the Bypass team?

ream88 commented 4 years ago

v2.0.0 is now live!

josevalim commented 4 years ago

@ream88 thank you for the release! I have just given it a try and unfortunately bypass locks itself to a very old cowlib version (~> 1.0.x while latest is ~> 2.9.x). I will work on a PR soon but I am afraid 2.0.1 will be required. :)

ream88 commented 4 years ago

No problem, I wasn't 100% sure how to resolve the cowboy v1 and v2 compatibility and didn't want to mess with the deps. But if the community is mostly on cowboy v2 these days, I have no problem dropping the v1 support.

josevalim commented 4 years ago

@ream88 PR sent here: #101. The PR still supports both Cowboy versions but if you want to require plug_cowboy ~> 2.0 that would also be fine. The upcoming Phoenix version also won't work with Cowboy v1.0. It is probably best to retire version 2.0.0.