Skip to content

Latest commit

 

History

History
112 lines (96 loc) · 6.29 KB

CHANGELOG.md

File metadata and controls

112 lines (96 loc) · 6.29 KB

Changelog

1.7.2 UNRELEASED

Bugfixes:

  • Fix threading issue with changing relative paths & reading files
    • Thank you to @akshay059 for opening an issue for this #183

Features:

  • Mention new Atom editor package for PyRestTest, created by @BastienAr (Thank you!)
  • Strip duplicate backslashes in templated URLs
    • Thank you @danielatdattrixdotcom for you PR! - #182

Special mentions:

  • Big thank you to @spradeev for assisting with issues and questions, to free up time for working on code/architectural improvments for big features!

1.7.1 Mon Mar 15 23:05:00 2016 -0400

Bugfixes:

  • Fix JSONschema extension in Python 3, and add test coverage for it
    • Thanks to @BastienAr for reporting it: #173

1.7.0 Sat Mar 06 14:30:00 2016 -0400

Features:

  • Unicode support epic: fix handling of request body and a whole raft of smaller fixes + more tests: #104
  • ALPHA: Python 3 support - all tests now pass!
  • JMESPath extractor: a proper JSON query syntax to use in validation
    • Thanks to @marklz for his contribution (significant effort), tracked in #156
  • JsonPath_Mini extractor supports ability to return the root response object now with the "." syntax -- thanks for the PR! #106
  • Allow for smarter URL creation from fragments: #118
  • Reuse Curl handles in tests, which improves test performance with connection reuse and DNS caching:
  • Add terminal output coloring for pass/pail (able to turn off via cmdline)
    • Thanks to @lerrua for his PRs #125 #141
  • Switch from legacy distutils for install to setuptools:
    • Thanks @lerrua for the PR - #122

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!
  • Fix the HTTP DELETE use with a body, which could not be tested
    • Thanks to @spradeepv for the pull request: #165
  • Fix HTTP HEAD method configuration
    • Thanks to @ksramchandani for reporting issues that triggered an investigation (different root cause) in #117
  • Fix Django testing breakage by locking to a functioning version
    • e39d156b56962e86a0054ba11304eb37f8a3b46d and e731ebaee6f4926e7c42fb551af8ff4930a7127b

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
    • Issue: #90 (derived from online feedback)
  • 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
    • Requested in: #71
  • 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: #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
    • Thanks @netjunki for your PR! #49
  • A series of fixes to move towards Python3 support
    • Many thanks to @MorrisJobke for his assistances! #59
  • Add delay parameter to tests:
    • Thanks to @netjunki for the PR! #51
  • Added option to print headers while running test via --print-headers option
    • Thanks to @netjunki for the contribution: #56
  • Add support to give an absolute URL in tests and use the --absolute-url argument to ignore command-line URL
    • Thanks to @Kesmy for the PR! #53

Bugfixes:

  • Fix the not_equals/ne comparator
    • Thanks to @Kesmy for the PR! #54
  • Fix vars not being passed correctly from command line
    • Thanks to @netjunki for the PR: #50

Back-compatibility breaks

  • None

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

  • Do not have good tracking this far back