Skip to content
This repository was archived by the owner on Nov 5, 2023. It is now read-only.

v2.0.0 Release

Choose a tag to compare

@CosmicHorrorDev CosmicHorrorDev released this 17 May 01:47
· 19 commits to master since this release

Changes

  • .get_proxy() and .get_proxies(amount) were both removed in favor of just .get(amount=1)
  • Both the level and protocol parameters were switched to Enums instead (from pubproxpy import Level, Protocol) (avoiding being a stringly typed API)
  • Invalid parameter values now raise a ValueError instead of just being asserted
  • Requesting the API now uses .raise_for_status() to raise an appropriate exception instead of failing with an obscure error
  • Tests for a decent amount of the libraries functionality have been added and are all updated
  • Documentation on the README has been updated

Conclusion

And that's pretty much it for changes I could think of to improve the library. So unless other people being raising issues then this will likely be one of the last releases you all have to deal with 🎉