|
| 1 | +--- |
| 2 | +title: Announcing Hurl 6.0.0 |
| 3 | +layout: blog |
| 4 | +section: Blog |
| 5 | +permalink: /blog/:year/:month/:day/:title.html |
| 6 | +published: true |
| 7 | +--- |
| 8 | + |
| 9 | +# {{ page.title }} |
| 10 | + |
| 11 | +<div class="blog-post-date">{{ page.date | date: "%b. %d, %Y" }}</div> |
| 12 | + |
| 13 | +Christmas is early this year: <picture><source srcset="{{ '/assets/img/emoji-father-christmas.avif' | prepend:site.baseurl }}" type="image/avif"><source srcset="{{ '/assets/img/emoji-father-christmas.webp' | prepend:site.baseurl }}" type="image/webp"><source srcset="{{ '/assets/img/emoji-father-christmas.png' | prepend:site.baseurl }}" type="image/png"><img class="emoji" src="{{ '/assets/img/emoji-father-christmas.png' | prepend:site.baseurl }}" width="20" height="20" alt="Father Christmas emoji"></picture> the Hurl team is thrilled to announce [Hurl 6.0.0]! |
| 14 | + |
| 15 | +[Hurl] is a command line tool powered by [curl], that runs HTTP requests defined in a simple plain text format: |
| 16 | + |
| 17 | +```hurl |
| 18 | +GET https://example.org/api/tests/4567 |
| 19 | +HTTP 200 |
| 20 | +[Asserts] |
| 21 | +header "x-foo" contains "bar" |
| 22 | +certificate "Expire-Date" daysAfterNow > 15 |
| 23 | +jsonpath "$.status" == "RUNNING" # Check the status code |
| 24 | +jsonpath "$.tests" count == 25 # Check the number of items |
| 25 | +jsonpath "$.id" matches /\d{4}/ # Check the format of the id |
| 26 | +``` |
| 27 | + |
| 28 | +## Whatβs New in This Release |
| 29 | + |
| 30 | +- [Generating Dynamic Values with Functions](#generating-dynamic-values-with-functions) |
| 31 | +- [curl Run Export](#curl-run-export) |
| 32 | +- [Shorter Syntax for Sections](#shorter-syntax-for-sections) |
| 33 | + |
| 34 | +## Generating Dynamic Values with Functions |
| 35 | + |
| 36 | +With Hurl 6.0.0, we have introduced [functions] |
| 37 | + |
| 38 | + |
| 39 | +## curl Run Export |
| 40 | + |
| 41 | +See `--curl`. |
| 42 | + |
| 43 | +Speaking of curl command this one has been added to json export and HTML report. |
| 44 | + |
| 45 | +## Shorter Syntax for Sections |
| 46 | + |
| 47 | +`[QueryStringParams]` => `[Query]` |
| 48 | + |
| 49 | +`[FormParams]` => `[Form]` |
| 50 | + |
| 51 | +`[MultipartFormData]` => `[Multipart]` |
| 52 | + |
| 53 | +## Others |
| 54 | + |
| 55 | +--limit-rate |
| 56 | + |
| 57 | +--connect-timeout per request |
| 58 | + |
| 59 | +Bug in // (speaks of skybear.net) |
| 60 | + |
| 61 | +There are a lot of other improvements with Hurl 6.0.0 and also a lot of bug fixes, |
| 62 | +you can check the complete list of enhancements and bug fixes [in our release note]. |
| 63 | + |
| 64 | +If you like Hurl, don't hesitate to [give us a star on GitHub] or share it on [π / Twitter]! |
| 65 | + |
| 66 | +We'll be happy to hear from you, either for enhancement requests or for sharing your success story using Hurl! |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | +[Hurl 6.0.0]: https://github.com/Orange-OpenSource/hurl/releases/tag/6.0.0 |
| 72 | +[Hurl]: https://hurl.dev |
| 73 | +[curl]: https://curl.se |
| 74 | +[functions]: {% link _docs/templates.md#functions %} |
| 75 | + |
| 76 | + |
| 77 | +[in our release note]: https://github.com/Orange-OpenSource/hurl/releases/tag/5.0.0 |
| 78 | +[π / Twitter]: https://x.com/HurlDev |
| 79 | +[give us a star on GitHub]: https://github.com/Orange-OpenSource/hurl/stargazers |
| 80 | + |
| 81 | + |
0 commit comments