Skip to content

Latest commit

 

History

History
100 lines (75 loc) · 3.1 KB

CHANGES.rst

File metadata and controls

100 lines (75 loc) · 3.1 KB

Tortilla Changelog

Version 0.5.0

Released on April 13th 2018.

  • Hyphenated, mixedCased, and CamelCased endpoints can be more easily requested using the hyphenate, mixedcase, and camelcase option (#44, #10)
  • Retry request when catching a connection reset error (#40)
  • It is now possible to request endpoints that collide with Wrap attributes such as config (See discussion in #38)
  • Extra kwargs in tortilla.wrap() are eventually passed to the requests package, enabling many new features such as HTTPBasicAuth (#37)

Version 0.4.3

Released on April 6th 2018.

  • Correct default value for silent parameter (#36)
  • Add tox configuration (#34)
  • Update link to docs (#33)
  • Increases code coverage (#31)
  • Add support for URL "suffix" to access certain APIs that, eg, uses trailing-slashes at URLs (#30)
  • Replaces colorclass with colorama, fixed (#28)

Version 0.4.2

Released on May 18th 2016. Changes by @osantana in #29.

  • Formatting code to make it more PEP-8 compliant
  • Simplify py2/3 compatibility code (remove compat module)
  • Enable/disable httpretty in setUp/tearDown methods in tests to make it works with all kind of test runners (like PyCharm test runner or nose)
  • Refactor run_from_ipython() implementation to make it pass static code analysis test (warns for missing __IPYTHON__)
  • Fix an issue with delay code when it was called for the first time and self._last_request_time is None

Version 0.4.1

Released on April 29th 2015.

  • Fixes #25
  • Adds the ability to define different formats for request and response data (#24)

Version 0.4.0

Released on February 11th 2015.

  • Added support for multiple response formats
  • Persistent URL query params
  • New delay option in Wrap class
  • Exception can be raised on HTTP error

Version 0.3.0

Released on December 12th 2014.

  • Added support for cookies by using requests sessions

Version 0.2.0

Released on December 7th 2014.

  • Execute HTTP HEAD requests on endpoints (responses from endpoints are now optional, None will be returned if there's no response body)
  • Multiple parts can be defined when calling an attribute (e.g. api.books(book_id, author_id))