Skip to content

Latest commit

 

History

History
82 lines (70 loc) · 4.45 KB

CHANGELOG.md

File metadata and controls

82 lines (70 loc) · 4.45 KB

Changelog

1.7.0 Unreleased but on master branch (tentative Pip release in December/Jan)

Features:

  • ALPHA: Python 3 support - all tests now pass!
  • JsonPath_Mini extractor supports ability to return the root response object now with the "." syntax -- thanks for the PR! svanoort#106
  • Allow for smarter URL creation from fragments: svanoort#118
  • Unicode support epic: fix handling of request body and a whole raft of smaller fixes + more tests: svanoort#104
  • Add terminal output coloring for pass/pail

Bugfixes:

  • Whole raft of bugfixes around Unicode handling and request/response bodies
  • Fix bug in parsing of the curl_option argument - thanks to @jcelliot for noticing this
  • Fix HTTP PATCH method configuration - many thanks to @lerrua for his PR!

Known Issues / Back-Compatibility:

  • Headers are returned from tests as unicode key, value pairs now

1.6.0 Mon Oct 12 07:30:00 2015 -0400

Features:

  • BETA: Add a type testing comparator to assist with validating request/header bodies
  • BETA: Allow setting custom Curl options with the curl_option_optionname field on tests
  • BETA: support HTTP method types besides GET/PUT/POST/DELETE
  • BETA: support setting request body on all request types, if present
    • Allows (for example) DELETE methods that set a request body
    • Caveat: does not set length if 0
  • raw_body extractor that returns the full HTTP response body
  • Add test coverage script (uses 'coverage', which requires install)

Bugfixes:

  • Fix bug with headers not being passed to extract_bind extrators, which caused:
  • Extractors did not raise an exception on failure: svanoort#64
  • Fix issue with use of curl WRITEDATA opt on CentOS 6 / Python 2.6 (use writefunction instead)
  • Fix/document installation issues with dependencies

Known Issues / Back-Compatibility:

  • Minor: generator letters/uppercase/lowercase are now always ASCII, not locale-aware
    • Driven by python 3 compatibility, and probably more "correct" but still a change
  • Headers are now lists of (key, value) pairs, extractors need to be aware of this
    • Will only be an issue for people using custom header extractors
    • After some serious googling, as far as I can tell, nobody is using headers in custom extensions yet
    • This can be patched into a back-compatibile approach if it breaks anyone

Misc:

  • Automation start (Jenkins setup, initial testing Dockerfiles) including 2.6 and 2.7 compat
  • Dockerfiles to create build/test environments
  • run_tests.sh now exits on first failure, and returns exit code (for automation)

1.5.0 - Released Tue Aug 11 10:54:29 2015 -0400

Features

  • Command line argument --verbose to set verbose mode for PyRestTest
  • A series of fixes to move towards Python3 support
    • Many thanks to @MorrisJobke for his assistances! svanoort#59
  • Add delay parameter to tests:
  • Added option to print headers while running test via --print-headers option
    • Thanks to @netjunki for the contribution: svanoort#56
  • Add support to give an absolute URL in tests and use the --absolute-url argument to ignore command-line URL

Bugfixes:

  • Fix the not_equals/ne comparator
  • Fix vars not being passed correctly from command line

Back-compatibility breaks

  • None

1.4.0 - Released Mon May 25 12:34:23 2015 -0400

  • Do not have good tracking this far back