4.0.0
4.0.0 (2023-06-28)
Thanks to
@elbart,
@dross-carve,
@kaala,
@phaza,
@FiloSottile,
@linker3000,
@pfeiferj,
@devnoname120,
@jasonkarns,
See a tour of this version here!
Breaking Changes:
- The option --retry now takes a number that specifies the explicit number of retries (same behaviour than curl)
- The
jsonpath
query/filter does not coerce single-entry collection any more #1469 hurl
crate:LoggerOptionsBuilder
replacesLoggerOption
, retry option fromRunnerOptionsBuilder
have changed, and verbose option have been moved fromRunnerOptionsBuilder
toLoggerOptionsBuilder
Enhancements:
- Add xpath filter #1698
- Introduce curl --path-as-is option #1669
- Deprecate word predicate when operator is available #1662
- Make hurlfmt support several input files (like Hurl) #1650
- Add timings info to very verbose mode #1644
- Add waterfall to HTML report for a Hurl file #1613
- Add proxy in Options section #1602
- Add decode filter #1560
- Add --error-format option to output HTTP context on errors #1542
- Update --retry option to match curl option #1475
- Add support for LINK, UNLINK, PURGE, LOCK, UNLOCK, PROPFIND and VIEW HTTP method #967
- Support arbitrary HTTP methods #967
Bugs Fixed:
- Export [Options] to JSON #1673
- Use --data-binary for log curl command when posting file #1654
- Fix extra request headers logs with large body. #1651
- Print error message when no file is found with --glob option #1638
- Support additional dot in jsonpath expression #1555
- Make Call, Certificate, Cookie, Header, Request, Response, Timings, Version public #1548
- Add quotes around certificate attribute in HTML export #1515
- Change API in jsonpath / remove single-entry coercion #1469