Skip to content

Releases: Kinto/kinto-http.py

10.3.0

07 Mar 11:56
99f13cf
Compare
Choose a tag to compare

New features

  • Add support for OAuth access tokens (OpenID) with the BearerTokenAuth() helper. See README. (#197)

10.2.0

17 Dec 14:29
6c6868a
Compare
Choose a tag to compare

New features

  • Created new method on client to get paginated records get_paginated_records. (#175)
  • Allow additional querystring params in get_*() methods

10.1.1

13 Nov 07:30
Compare
Choose a tag to compare

Bug fixes

  • Fix JSON support for in_ and exclude_. (#188)

10.1.0

05 Nov 14:04
Compare
Choose a tag to compare

New feature

  • Convert params values as JSON values before passing them to requests. (#185)

10.0.0

15 Oct 10:26
10abecc
Compare
Choose a tag to compare

Breaking changes

By default, the client now raises an exception when a 4XX error occurs in a batch request (#154)

In order to ignore those errors as before, instantiate the client with ignore_batch_4xx=True.

New feature

  • Raise a specific CollectionNotFound exception rather than a generic KintoException.

Bug fixes

  • Handle date and datetime object in a Kinto payload. They will be
    formated as ISO date JSON strings.

Internal changes

  • Update tests to work with Kinto 11.0.0.
  • Update tests to use stdlib mock module.

9.1.2

17 Apr 10:48
cfb6b01
Compare
Choose a tag to compare

Internal changes

  • Get rid of six

9.1.1

07 Feb 14:37
8bcc585
Compare
Choose a tag to compare

Bug fixes

  • Fix patch methods in batch requests (fixes #171)

9.1.0

05 Feb 14:59
1d1cc39
Compare
Choose a tag to compare

Significant changes

  • When the server returns a 409 Conflict error response, the request will
    be retried if the retry parameter is superior to zero (fixes #167)

New Features

  • Expose kinto-http and Python module version in the User-Agent (#157)
  • Support different PATCH types. Now, instead of settling for the
    "default" patch method offered by the Kinto server, you can choose
    by importing a PatchType subclass from kinto_http.patch_type. (Fixes #125.)

Bug fixes

  • No longer support method arguments on the update_bucket,
    update_group, update_collection, and update_record
    methods. This argument only existed to support the patch_*
    methods and was never intended to be part of the public API.

9.0.1

30 May 14:28
926055d
Compare
Choose a tag to compare

Bug fixes

  • Fix exception rendering (fixes #153)

9.0.0

25 May 08:57
Compare
Choose a tag to compare

Breaking changes

  • The client will fail a batch only when a 5XX error occurs (#148)

New Features

  • Log all the batch responses (#148)
  • Log the request and the batch responses in debug (#148)
  • Allow reading responses from batch requests with the results() method. (#146)