# Release History ## 3.0.9 (2020-06-07) **Fixed** - fix: miss formatting referenced testcase - fix: handle cases when parent directory name includes dot/hyphen/space **Changed** - change: add `export` keyword in TStep to export session variables from referenced testcase - change: rename TestCaseInOut field, config_vars and export_vars - change: rename StepData field, export_vars - change: add `--tb=short` for `hrun` command to use shorter traceback format by default - change: search debugtalk.py upward recursively until system root dir ## 3.0.8 (2020-06-04) **Added** - feat: add sentry sdk - feat: extract session variable from referenced testcase step **Fixed** - fix: missing request json - fix: override testsuite/testcase config verify - fix: only strip whitespaces and tabs, \n\r are left because they maybe used in changeset - fix: log testcase duration before raise ValidationFailure **Changed** - change: add httprunner version in generated pytest file ## 3.0.7 (2020-06-03) **Added** - feat: make pytest files in chain style - feat: `hrun` supports run pytest files - feat: get raw testcase model from pytest file **Fixed** - fix: convert jmespath.search result to int/float unintentionally - fix: referenced testcase should not be run duplicately - fix: requests.cookies.CookieConflictError, multiple cookies with name - fix: missing exit code from pytest - fix: skip invalid testcase/testsuite yaml/json file **Changed** - change: `har2case` generate pytest file by default - docs: update sponsor info ## 3.0.6 (2020-05-29) **Added** - feat: make referenced testcase as pytest class **Fixed** - fix: ensure converted python file in utf-8 encoding - fix: duplicate running referenced testcase - fix: ensure compatibility issues between testcase format v2 and v3 - fix: ensure compatibility with deprecated cli args in v2, include --failfast/--report-file/--save-tests - fix: UnicodeDecodeError when request body in protobuf **Changed** - change: make `allure-pytest`, `requests-toolbelt`, `filetype` as optional dependencies - change: move all unittests to tests folder - change: save testcase log in PWD/logs/ directory ## 3.0.5 (2020-05-22) **Added** - feat: each testcase has an unique id in uuid4 format - feat: add default header `HRUN-Request-ID` for each testcase #721 - feat: builtin allure report - feat: dump log for each testcase **Fixed** - fix: ensure referenced testcase share the same session **Changed** - change: remove default added `-s` option for hrun ## 3.0.4 (2020-05-19) **Added** - feat: make testsuite and run testsuite - feat: testcase/testsuite config support getting variables by function - feat: har2case with request cookies - feat: log request/response headers and body with indent **Fixed** - fix: extract response cookies - fix: handle errors when no valid testcases generated **Changed** - change: har2case do not ignore request headers, except for header startswith : ## 3.0.3 (2020-05-17) **Fixed** - fix: compatibility with testcase file path includes dots, space and minus sign - fix: testcase generator, validate content.xxx => body.xxx - fix: scaffold for v3 ## 3.0.2 (2020-05-16) **Added** - feat: add `make` sub-command to generate python testcases from YAML/JSON - feat: format generated python testcases with [`black`](https://github.com/psf/black) - test: add postman echo & httpbin as testcase examples **Changed** - refactor all - replace jsonschema validation with pydantic - remove compatibility with testcase/testsuite format v1 - replace unittest with pytest - remove builtin html report, allure will be used with pytest later - remove locust support temporarily - update command line interface ## 3.0.1 (2020-03-24) **Changed** - remove sentry sdk ## 3.0.0 (2020-03-10) **Added** - feat: dump log for each testcase - feat: add default header `HRUN-Request-ID` for each testcase #721 **Changed** - remove support for Python 2.7 - replace logging with [loguru](https://github.com/Delgan/loguru) - replace string format with f-string - remove dependency colorama and colorlog - generate reports/logs folder in current working directory - remove cli `--validate` - remove cli `--pretty`