Skip to content

Latest commit

 

History

History
227 lines (144 loc) · 6.16 KB

HISTORY.md

File metadata and controls

227 lines (144 loc) · 6.16 KB

1.2.3 (2023-05-03)

Changes

  • Add manifest file so tarball installs succeed, #66. Thanks @jantman.

1.2.2 (2023-02-02)

Bugfixes

  • The 1.2.0/1.2.1 releases had a regression error. The fix of #63 has been reverted.

1.2.1 (2023-01-25)

Bugfixes

  • Actually fix #34. Build 1.2.0 was not fully released.

1.2.0 (2023-01-20)

Bugfixes

  • Fix #34, port numbers on header, with #63. Thanks @phillipberndt.

Changes

  • test against 3.10. Currently supporting 3.8-3.10.
  • small fixup to flake8 config

1.1.2 (2022-03-24)

Changes

  • don't install markdown files, and especially not outside of our lib dir, see #51. Thanks @benjaminp.
  • prevent unquoting of query string reserved characters, see #60. Thanks @mliarakos.
  • Add support for files as request body, see see #58. Thanks @USSRLivesOn.
  • remove deprecated python 2.7 and python 3.5. Currently testing against 3.8 and 3.9.
  • renamed main branch to 'main'

1.1.1 (2021-06-04)

Bugfixes

  • secondary fix to query string ordering, documented in #49. It would fail with multiple values for the same key. Thanks @martinamps.
  • fix minor deprecation warning in a regex.

Package changes

  • none

Tests

  • Added tests for #49 secondary fix for string ordering.

1.1.0 (2021-05-21)

New features

  • query string ordering has been fixed. Documented in #21, fixed in #23. Thanks @zen4ever.
  • test for spaces before calling shlex on them in amz_norm_whitespace. shlex doesn't like to split whitespace on a string without whitespace, taking several orders of magnitude longer to parse through it. #35, thanks @noamkush.
  • added refreshable_credentials, see #37, thanks @teemuy.

Package changes

  • Removed python2.7 support. Usage of py2.7 is not supported. Requires-Python will be set to py3.3+ in the next minor release.

Tests

  • none

1.0.1 (2020-09-28)

New features

  • none

Package changes

  • bump to proper X.Y.Z semver syntax
  • bump project to stable (#33)

Tests

  • none

1.0 (2020-06-06)

New features

  • none!

Package changes

Tests

  • remove sys path hacking from tests.
  • Ensure they work now.
  • Github Actions are in place for continuous integration.
  • Allow longer flake8 line length in tests.

0.9 (2016-02-07)

New features

Tests

  • Tests for the STS temporary credentials functionality
  • Fixed AWS4SigningKey.amz_date deprecation warning test
  • Elastic MapReduce live service test no longer using deprecated DescribeJobFlows action

0.8 (2015-12-31)

This version introduces some behaviour changes designed to reduce the legwork needed when a signing key goes out of date. This has implications for multithreading and secret key storage. See the README for further details.

New features

  • AWS4Auth class now checks request header date against signing key scope date, and automatically regenerates the signing key with the request date if they don't match
  • Added exceptions module with new exceptions: RequestsAWS4AuthException, DateMismatchError, NoSecretKeyError, DateFormatError
  • Added StrictAWS4Auth and PassiveAWS4Auth classes

AWS4Auth changes

  • Added regenerate_signing_key() method, to allow regeneration of current signing key with parameter overrides
  • Added methods for checking and extracting dates from requests: get_request_date(), parse_date(), handle_date_mismatch()
  • __call__() now checks for a date header in the request and attempts to automatically regenerate the signing key with the request date if request date differs from the signing key date
  • Can now supply a date to the constructor
  • Changed default included sig headers to include Date header if present

AWS4SigningKey changes

  • Added new store_secret_key instantiation parameter which allows control of whether the secret key is stored in the instance
  • Deprecated the amz_date property in favour of just date
  • Spelling typo fix in AWS4AuthSigningKey module docstring. Thanks to jhgorrell

Package changes

  • Dropped support for Python 3.2. Now only supported on Python 2.7 and 3.3 and up, to match versions supported by Requests.

Tests

  • Many new tests for the new functionality
  • Added tests for generating canonical path, including test for fix added in 0.7 for percent encoding of paths
  • Added tests for generating canonical querystrings

0.7 (2015-11-02)

Bugfixes

  • Fixed percent encoded characters in URL paths not being encoded again for signature generation, as is expected for all services except S3. This was causing authentication failures whenever these characters appeared in a URL. Thanks to ipartola and cristi23 for the report.
  • Two bugfixes for ElasticSearch, thanks to Matthew Thompson for both:
    • No longer setting body to b'' during signing if it's None
    • Now stripping port from URL netloc for signature generation

Modules

  • Upgraded the included version of six.py to 1.10

Tests

  • Fixed a couple of broken Unicode tests on Python 2
  • Added a couple more tests for encoding Unicode request bodies

0.6 (2015-09-07)

Bugfixes

  • Included HISTORY.rst in built package to fix pip source install failure. Thanks to Beirdo for the bug report.

0.5 (2015-04-29)

Bugfixes

  • Fixed bug when uploading to S3 with x-amz-acl header which caused authentication failure - headers used in signature are now: host, content-type and all x-amz-* headers (except for x-amz-client-context which breaks Mobile Analytics auth if included)

Docs

  • Minor docstring and comment updates

License

  • Changed content of LICENSE to vanilla MIT license