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

Building error with erlang 22 #108

Closed saneery closed 3 years ago

saneery commented 4 years ago

Error with the old version of cowlib

src/cow_multipart.erl:392: call to crypto:rand_bytes/1 will fail, since it was removed in 20.0; use crypto:strong_rand_bytes/1
make: *** [ebin/cowlib.app] Error 1
ream88 commented 3 years ago

Is this fixed with v2.1.0?

saneery commented 3 years ago

Is this fixed with v2.1.0?

Yes, it's fixed, thanks! :fire:

ream88 commented 3 years ago

Thx a lot!