14
0
Commit Graph

10 Commits

Author SHA256 Message Date
81288eb2bd - update to 1.2.0:
* Drop support for python 3.7
  * Remove methods deprecated in 1.0 from `CachedSession` and
    `BaseCache`
  * Add support for `X-HTTP-Method-Override` and other headers
    that can override request method
  * Add `CachedSession.wrap()` classmethod to add caching to an
    existing `requests.Session` object
  * Add `vacuum` parameter to `SQLiteCache.delete()` to
    optionally skip vacuuming after deletion (enabled by default
    to free up disk space)
  * Optimize `SQLiteCache.delete()` when deleting a single key
  * Add support for RFC 7159 JSON body with `decode_content=True`
    (root element with any type)
  * Use timezone-aware UTC datetimes for all internal expiration
    values
  * Add support for python 3.12
  * Note: There is a known bug with multiprocess/multithreaded
    usage of the SQLite backend on python 3.12.
  * Add support for cattrs 23.2
  * Fix `IncompleteRead` error that could sometimes occur with
    streaming requests due to mismatch with `Content-Length`
    header
  * Handle a corner case with streaming requests, conditional
    requests, and redirects
  * When redacting ignored parameters from a cached response,
    keep the rest of the original URL and headers without
    normalizing
  * Add `CachedHTTPResponse._request_url` property for
    compatibility with urllib3

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-cache?expand=0&rev=20
2024-03-13 10:16:59 +00:00
8b3b5d9d74 - Update to 1.1.1:
- Backport fix from 1.2: Add compatibility with cattrs 23.2
- Update to 1.1.0:
  - SESSION SETTINGS:
    - Add support for regular expressions with urls_expire_after
  - SQLITE BACKEND:
    - Add busy_timeout argument (see SQLite docs for details)
    - In WAL journaling mode (wal=True), default to 'normal'
      synchronous mode instead of 'full'
    - Fix potential OperationalError: database is locked in
      multithreaded SQLite usage during bulk delete operations
    - Fix deadlock in multithreaded SQLite usage if a thread
      encounters an error during COMMIT
  - BUGFIXES:
    - Fix loading cached JSON content with decode_content=True
      when the root element is a list
    - Fix BaseCache.recreate_keys() to normalize response bodies
      with b'None'
    - Fix BaseCache.contains() for multipart POST requests
    - Fix CachedResponse.history not being fully deserialized on
      python<=3.8
    - Fix request matching with Vary and redirects
    - Skip normalizing CachedResponse.url so it always matches
      the original request URL
    - Avoid unnecessary cache writes for revalidation requests if
      headers and expiration are unchanged
    - Add compatibility with urllib3 2.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-cache?expand=0&rev=17
2023-11-21 06:26:25 +00:00
7204f23a2d - WORK IN PROGRESS, TESTS DON’T PASS!
- Update to 1.0.1: (CONGRATULATIONS!)
  - Ignore Cache-Control: must-revalidate and no-cache when
    `cache_control=False`
  - Lots of miscellaneous performance improvements
  - Fast automatic cache cleanup with TTL integration for
    MongoDB, DynamoDB and Redis
  - Improved NoSQL/document database support: human-readable and
    indexable response data in MongoDB and DynamoDB
  - Complete support for Cache-Control headers (including its
    extensions)
  - Complete type hinting and more details from cached responses
  - Redact common authentication headers and parameters from the
    cache by default
  - Improved session settings interface, and more settings for
    refreshing, revalidation, and offline cache usage
- Remaining list of changes all the way to 0.6.3 is too long,
  HISTORY.md is packaged.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-cache?expand=0&rev=15
2023-05-10 07:25:28 +00:00
ce8fa36ed5 Accepting request 888188 from home:jayvdb:branches:devel:languages:python
- Update to v0.6.3

OBS-URL: https://build.opensuse.org/request/show/888188
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-cache?expand=0&rev=13
2021-04-24 14:16:26 +00:00
f19311d310 Accepting request 885485 from home:jayvdb:branches:devel:languages:python
- Fix runtime Requires, adding missing prefix python-
- Add Recommends python-redis and Suggests for python-boto3 and
  python-mongodb
- Activate integration tests, including redis
- Update to v0.6.2

OBS-URL: https://build.opensuse.org/request/show/885485
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-cache?expand=0&rev=11
2021-04-17 14:11:44 +00:00
3b38d172b4 Accepting request 884522 from home:jayvdb:branches:devel:languages:python
- Update to v0.6.0

OBS-URL: https://build.opensuse.org/request/show/884522
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-cache?expand=0&rev=10
2021-04-12 12:39:42 +00:00
Tomáš Chvátal
3422abe65b - Update to 0.5.2:
* Fix DeprecationWarning from collections #140

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-cache?expand=0&rev=8
2019-09-10 10:53:04 +00:00
Tomáš Chvátal
4d1335f637 Accepting request 701307 from home:pgajdos
- version update to 0.5.0
  * Add gridfs support, thanks to @chengguangnan
  * Add dynamodb support, thanks to @ar90n
  * Add response filter #104, thanks to @christopher-dG
  * Fix bulk_commit #78
  * Fix remove_expired_responses missed in __init__.py #93
  * Fix deprecation warnings #122, thanks to mbarkhau

OBS-URL: https://build.opensuse.org/request/show/701307
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-cache?expand=0&rev=6
2019-05-07 12:32:57 +00:00
35db5d8f4a Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-cache?expand=0&rev=3
2018-12-04 13:59:26 +00:00
Thomas Bechtold
3a70ea5c43 Accepting request 486118 from home:alarrosa:branches:devel:languages:python:singlespec
New package python-requests-cache
using singlespec

OBS-URL: https://build.opensuse.org/request/show/486118
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-cache?expand=0&rev=1
2017-04-07 07:39:18 +00:00