You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the upcoming changes in 1.0, I would like to release a patch for 0.9 that adds forwards-compatibility with these changes. This will mainly include API changes, not new features.
The intent is to reduce the likelihood of problems with a version constraint like requests-cache <= 0.9.7 for anyone who is using any of the features that are changing in 1.0:
New policy subpackage (previously in cache_control module)
Show a DeprecationWarning if importing from requests_cache.cache_control instead of from requests_cache
BaseCache.delete(), contains(), and filter()
Show a DeprecationWarning if calling BaseCache methods that are deprecated in 1.0 (but not removed yet)
Changing caching settings after initialization via session.settings
Show a DeprecationWarning if directly accessing CachedSession attributes
The text was updated successfully, but these errors were encountered:
JWCook
added
the
logistics
CI builds, project config, refactoring, and other logistical details
label
Oct 8, 2022
For the upcoming changes in 1.0, I would like to release a patch for 0.9 that adds forwards-compatibility with these changes. This will mainly include API changes, not new features.
The intent is to reduce the likelihood of problems with a version constraint like
requests-cache <= 0.9.7
for anyone who is using any of the features that are changing in 1.0:policy
subpackage (previously incache_control
module)DeprecationWarning
if importing fromrequests_cache.cache_control
instead of fromrequests_cache
BaseCache.delete()
,contains()
, andfilter()
DeprecationWarning
if callingBaseCache
methods that are deprecated in 1.0 (but not removed yet)session.settings
DeprecationWarning
if directly accessingCachedSession
attributesThe text was updated successfully, but these errors were encountered: