mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-16 17:27:36 +08:00
153 lines
3.4 KiB
Markdown
153 lines
3.4 KiB
Markdown
# Release History
|
|
|
|
## 2.2.3
|
|
|
|
**Bugfixes**
|
|
|
|
- fix yaml FullLoader AttributeError when PyYAML version < 5.1
|
|
|
|
## 2.2.2 (2019-06-26)
|
|
|
|
**Features**
|
|
|
|
- `extract` is used to replace `output` when passing former teststep's (as a testcase) export value to next teststep
|
|
- `export` is used to replace `output` in testcase config
|
|
|
|
## 2.2.1 (2019-06-25)
|
|
|
|
**Features**
|
|
|
|
- add demo api/testcase/testsuite to new created scaffold project
|
|
- update default `.gitignore` of new created scaffold project
|
|
- add demo content to `debugtalk.py`/`.env` of new created scaffold project
|
|
|
|
**Bugfixes**
|
|
|
|
- fix extend with testcase reference in format version 2
|
|
- fix ImportError when locustio is not installed
|
|
- fix YAMLLoadWarning by specify yaml loader
|
|
|
|
## 2.2.0 (2019-06-24)
|
|
|
|
**Features**
|
|
|
|
- support testcase/testsuite in format version 2
|
|
|
|
**Bugfixes**
|
|
|
|
- add wheel in dev packages
|
|
- fix exception when teststep name reference former extracted variable
|
|
|
|
## 2.1.3 (2019-04-24)
|
|
|
|
**Bugfixes**
|
|
|
|
- replace eval mechanism with builtins to prevent security vulnerabilities
|
|
- ImportError for builtins in Python2.7
|
|
|
|
## 2.1.2 (2019-04-17)
|
|
|
|
**Features**
|
|
|
|
- support new variable notation ${var}
|
|
- use \$\$ to escape \$ notation
|
|
- add Python 3.7 for travis CI
|
|
|
|
**Bugfixes**
|
|
|
|
- match duplicate variable/function in single raw string
|
|
- escape '{' and '}' notation in raw string
|
|
- print_info: TypeError when value is None
|
|
- display api name when running api as testcase
|
|
|
|
## 2.1.1 (2019-04-11)
|
|
|
|
**Features**
|
|
|
|
refactor upload files mechanism with [requests-toolbelt](https://toolbelt.readthedocs.io/en/latest/user.html#multipart-form-data-encoder):
|
|
|
|
- simplify usage syntax, detect mimetype with [filetype](https://github.com/h2non/filetype.py).
|
|
- support upload multiple fields.
|
|
|
|
## 2.1.0 (2019-04-10)
|
|
|
|
**Features**
|
|
|
|
- implement json dump Python objects when save tests
|
|
- implement lazy parser
|
|
- remove project_mapping from parse_tests result
|
|
|
|
**Bugfixes**
|
|
|
|
- reference output variables
|
|
- pass output variables between testcases
|
|
|
|
## 2.0.6 (2019-03-18)
|
|
|
|
**Features**
|
|
|
|
- create .gitignore file when initializing new project
|
|
|
|
**Bugfixes**
|
|
|
|
- fix CSV relative path detection
|
|
- fix current validators displaying the former one when they are empty
|
|
|
|
## 2.0.5 (2019-03-04)
|
|
|
|
**Features**
|
|
|
|
- implement method to get variables and output
|
|
|
|
**Bugfixes**
|
|
|
|
- fix xss in response json
|
|
|
|
## 2.0.4 (2019-02-28)
|
|
|
|
**Bugfixes**
|
|
|
|
- fix verify priority with nested testcase
|
|
- fix function in config variables called multiple times
|
|
- dump loaded tests when running tests_mapping directly
|
|
|
|
## 2.0.3 (2019-02-24)
|
|
|
|
**Bugfixes**
|
|
|
|
- fix verify priority: teststep > config
|
|
- fix Chinese charactor in log_file encoding error in Windows
|
|
- fix dump file with Chinese charactor in Python 3
|
|
|
|
## 2.0.2 (2019-01-21)
|
|
|
|
**Bugfixes**
|
|
|
|
- each teststeps in one testcase share the same session
|
|
- fix duplicate API definition output
|
|
|
|
**Improvements**
|
|
|
|
- display result from hook functions in DEBUG level log
|
|
- change log level of "Variables & Output" to INFO
|
|
- print Invalid testcase path or testcases
|
|
- print testcase output in INFO level log
|
|
|
|
## 2.0.1 (2019-01-18)
|
|
|
|
**Bugfixes**
|
|
|
|
- override current teststep variables with former testcase output variables
|
|
- make compatible with testcase name is empty
|
|
- skip undefined variable when parsing string content
|
|
- add back request method in report
|
|
|
|
## 2.0.0 (2019-01-01)
|
|
|
|
- Massive Refactor and Simplification
|
|
- Redesign testcase structure
|
|
- Module pipline
|
|
- Start Semantic Versioning
|
|
- Switch to Apache 2.0 license
|
|
- Change logo
|