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

Releases: CosmicHorrorDev/pubproxpy

v2.0.2 Minor Release

16 Jan 23:51
Compare
Choose a tag to compare

Bugfixes

  • Changes where the last request time is set to fix spurious rate limiting since the time where requests are taken isn't known so a more conservative approach is taken

v2.0.1

12 Jan 02:39
Compare
Choose a tag to compare

Deprecation Warnings

I've realized that in it's old state several of the errors were not getting raised correctly from the library leading to relatively useless error messages. These errors occurred from problems with rate limiting, hitting the daily limit, and attempting to use an invalid api key where the first two would be raised as generic 503 errors from requests and the last was raised as an unknown error. This has been fixed on master which will be published as v3.0.0 on 2021-06-01.

The other change comes from flipping precedence on the API key where the environment variable will take precedence over using it as a parameter now instead of the reverse.

All these changes along with possible courses of action are detailed in #11

v2.0.0 Release

17 May 01:47
Compare
Choose a tag to compare

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 🎉

v1.1.5 Minor Release

16 May 21:55
Compare
Choose a tag to compare

Bugfixes

  • de1b92e Just removed a debugging print statement

v1.1.4 Minor Release

16 May 21:02
Compare
Choose a tag to compare

Bugfixes

  • ef361e2 Fixed a bug where a proxy could be returned multiple times from separate ProxyFetchers even when exclude_used=True for all of them.

Misc

  • Added testing with pytest to address #3 .

v1.1.3 Minor Release

16 May 06:49
Compare
Choose a tag to compare

Not too much has changed for this release. Primarily the documentation has been fixed in some areas and the GitHub Action workflows have been improved upon.