Releases: Orange-OpenSource/hurl
5.0.1
5.0.0
5.0.0 (2024-08-29)
Thanks to
@lambrospetrou,
@OverkillGuy,
@badboy,
@DenuxPlays,
@linkdd,
@nkback,
@claytonneal,
See a tour of this version here!
Breaking Changes:
- Encode oneline string only with one backtick #3113
Enhancements:
- Create intermediary directories if necessary when producing TAP report #2860
- Expose request comments in --out json (hurlfmt) #2850
- Create intermediary directories if necessary when producing JUnit report #2842
- Add global requests count in test summary #2832
- Replace output warnings by errors #2815
- Fix inconsistent case for fields queryString and httpVersion in --json #2804
- Run tests in parallel #2753
- Add support for importing curl url option in hurlfmt #2750
- Add JSON report #2738
- Add repeat option to repeat a sequence of Hurl file #2680
- Add repeat option per request #2680
- Add optional duration unit #2653
- Apply delay only once per entry, no matter how many retry #1973
- Add toFloat filter #1732
- Accept directory as Hurl arguments for processing file #1446
Bugs Fixed:
- Get SSL certificates info on reused connections, from a cache #3031
- Fix max-redirs: -1 in [Options] section #3023
- Fix error displayed in double with bad option #2920
- Fix hurlfmt exit code with lint error #2919
- Truncate file then append it when dumping response with --output. #2886
- Fix crash with --json option when capturing 'HttpOnly' and 'Secure' cookie attribute #2871
- Fix crash when capturing 'Expires' cookie attribute #2870
- Fix empty JSON key parsing #2836
- Do not filter 'Authorization' header if host doesn't change while following redirect #2823
- Fix sending 'Authorization' header from --user when following redirect #2812
- Fix URL when following redirect for certain 'Location' header #2783
- Fix powershell completion file #2729
4.3.0
4.3.0 (2024-04-23)
Thanks to
@tarampampam,
@CMiksche,
@CodeMan99,
@OverkillGuy,
@hsanson,
@jaminalder,
@teto,
@humphd,
@mohammed90,
See a tour of this version here!
Enhancements:
- Support --user option per request #2585
- Add isNumber predicate #2538
- Create intermediate directory when using --report-html #2531
- Use '-' to read Hurl file from standard input #2523
- Add --from-entry option to execute a file from a given entry #2500
- Add isIsoDate predicate (take a string, checks YYYY-MM-DDTHH:mm:sssZ) #2427
- Add completion files in Linux/MacOS packages #2401
- Fix tarball layout to Linux filesystem #2401
- Add --max-filesize option to limit HTTP response #2353
- Display source request when there are asserts/runtime errors #2351
- Using explicit stdout output #2312
- Prevent raw binary response to be displayed on standard output #2306
- Add --netrc, --netrc-file and --netrc-optional options #2094
- Generate bash completion for hurl/hurlfmt #1864
- Generate powershell completion for hurl/hurlfmt #1864
- Generate fish completion for hurl/hurlfmt #1864
- Generate zsh completion for hurl/hurlfmt #1864
- Add experimental --parallel / --jobs options #88 #87
Bugs Fixed:
- Export begin_call, end_call timings fields to RFC3339 (microseconds) #2699
- Fix standalone css for regex #2693
- Fix charset parsing logic of Content-Type header #2540
- Fix filename templatization bug under certain conditions #2533
- Fix empty glob not always returning an error #2517
- Fix hurlfmt query certificate for hurl output format #2511
- Fix --test progress bar not displayed when verbose is used #2506
- Per request output takes file-root into account for path resolving #2445
- Fix silent error when verbose option use unset variable #2444
- Fix Content-type header override when used in lowercase #2416
Security Issues Fixed:
- Prevent script injection in HTML report #2719
4.2.0
4.2.0 (2024-01-11)
Thanks to
@hi2code,
@lambrospetrou,
@glb-cblin,
@moono,
@gmetal,
@mihirn,
@humphd,
@RickMoynihan,
@pit1sIBM,
@janwytze,
@kingluo,
@teto,
@khimaros,
@iredmail,
@andres-lowrie,
@nikeee,
@ztittle,
@legzo
See a tour of this version here!
Enhancements:
- Add --location-trusted option #2296
- Add --unix-socket option #2291
- Export entry source line number in JSON output #2273
- Use Template for filename type #2259 #1731 #464
- Add dark mode support for HTML report #2254
- Add --output option per request #2184 #1326
- Add filter jsonpath #2134 #1632 #440
- Improve JSON body parsing error reporting #2056
- Support template in option values #2041
- Support conda-forge installation #2018
- Add timestamps to the HTML reports #1983
- Log only non-default options in verbose mode #1927
- Support template in key string #1877 #1710 #898
- Add skip option #1815
- Add --ipv4/--ipv6 option #1727
- Add --http3 option #1155
- Add --http2 option #1155
- Add --http1.0/-0 option #1155
- Add --http1.1 option #1155
Bugs Fixed:
- Add short name -v for verbose option #2310
- Fix unicode surrogate pair decoding in JSON request body #2235
- Better error description for some parse error #2187
- Fix undefined error for various I/O error using --output. #2156
- TAP reports can't be appended if there are failed tests #2099
- Support HTTP/2 on Windows #2072
- Support key password in --cert option (certificate[:password]) #2047
- Keep initial request headers when following redirects #1990
4.1.0
4.1.0 (2023-09-21)
Thanks to
@danielzfranklin,
@apparentorder,
@ppaulweber,
@taigrr,
@kallelindqvist,
@jlazic,
@Lythenas,
@Jayshua,
@chenrui333,
@nikeee,
@jasonkarns,
@humphd,
Breaking Changes:
- Change GitHub released binaries filenames #1951
- Fix typo in option
--path_as_is
to--path-as-is
Enhancements:
- Print host architecture with --version #1893
- Add the aws-sigv4 option to generate AWS SigV4 signed requests #1840
- Add --delay Option #1832
- Support RFC-7807 application/problem+json for response body logging as text #1766
- Rename fail-at-end option with continue-on-error option #1739
- Add connect-to per request option #1736
- Add support for --resolve option per request #1711
- Add TAP report #1666 #601
- Implement isDate predicate #1520
- Add docker arm64 build #536
Bugs Fixed:
- IsEmpty doesn't seem to work on object collections #1788
- Fix Cookie Query Parsing error #1784
- Support empty BasicAuth section #1772
- Fix standalone option for hurlfmt HTML output #1759
- Support IPv4/IPv6 address in proxy [Options] #1756
- Reuse same HTTP method on redirect for appropriate HTTP status codes #1719
- Fix URL runtime evaluation #1716
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
3.0.1
3.0.0
3.0.0 (2023-05-03)
Thanks to
@DannyBen, @dermetfan, @joesantos418
3.0.0 is a major update because of breaking changes in Hurl crates. Read here for a quick tour of 3.0.0
Enhancements:
- Add test attributes to JUnit XML #1460
- Add certificate query #1384
- Add daysAfterNow / daysBeforeNow filters #1309
- Add errors in HTML report #1286
- Use long options for curl command #1236
- Add progress bar for tests #1224
- Add date value/filters #1206
- Implement isEmpty predicate #849
- Add curl input to hurlfmt #316
Bugs Fixed:
2.0.1
2.0.1 (2023-02-01)
Thanks to
@softprops,
Bugs Fixed:
- Fix GraphQL query with variables to HTTP body request #1218
2.0.0
2.0.0 (2023-01-25)
Thanks to
@imsVLC,
@ad8lmondy,
@jlecour,
@ako,
@jmoore34,
@robjtede,
@devnoname120,
@dalejefferson-rnf,
@dnsmichi,
Read here for a quick tour of 2.0.0
Enhancements:
- Add option ssl-no-revoke #1163
- Add client cert/key to command line args and options #1129
- Add connect-to option #1079
- Add name attribute to JUnit report #1078
- Check HTTP version and status first, then other asserts #1072
- Support new one line string #1041
- Add filters for htmlEscape and htmlUnescape #1038
- Add toInt filter #1029
- Use HTTP instead of HTTP/* for any HTTP version match #975
- Add RunnerOptionsBuilder to create instance of RunnerOptions #972
- Add support for LINK, UNLINK, PURGE, LOCK, UNLOCK, PROPFIND and VIEW HTTP method #967
- Accept multiple --variables-file options #532
- Add GraphQL support #504
- Add --resolve option #379
Bugs Fixed: