Releases: CosmicHorrorDev/pubproxpy
v2.0.2 Minor Release
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
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
Changes
.get_proxy()
and.get_proxies(amount)
were both removed in favor of just.get(amount=1)
- Both the
level
andprotocol
parameters were switched toEnum
s instead (from pubproxpy import Level, Protocol
) (avoiding being a stringly typed API) - Invalid parameter values now
raise
aValueError
instead of just beingassert
ed - 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
Bugfixes
- de1b92e Just removed a debugging print statement
v1.1.4 Minor Release
v1.1.3 Minor Release
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.