release notes/v0.33.0.md
k6 v0.33.0 is here! :tada: It's a small release that includes a bunch of minor bugfixes and enhancements, but is also laying the groundwork for some major new features like the upcoming k6/execution API in k6 v0.34.0.
Load Impact, the company behind k6, was acquired by Grafana Labs! :tada: Nothing changes regarding the k6 development for now, and any changes in the future will only be in the direction of accelerating our existing roadmap and plans, as well as better integration between k6 and the awesome Grafana tools. For more details, see the official Grafana press release.
--verbose help message and the statsd warning message were improved (#2005). Thanks, @vishalkuo!noColor k6 option and the current UI state are now propagated to the handleSummary() function. The state object has the isStdErrTTY, isStdOutTTY and testRunDurationMs keys (#1975).context deadline exceeded) and it now has an error_code value of 1050 (#2008). Thanks, @vishalkuo!GoError prefix in their error messages (#1775).name property (#2058 and #2076). Thanks, @olimpias and @david-gourde!application/x-www-form-urlencoded request (#2060). Thanks, @noelzubin!minIterationDuration option was uninterruptible and could delay the stopping of a scenario even after gracefulStop had expired. (#2035).error_code detection for HTTP/2, x509 and TLS (and potentially others) was unreliable (#2025).responseType was binary, but there was no response body actually returned, e.g. when there was an HTTP error (#2041).throw option was not respected when there was an invalid URL (#2045). Thanks, @gchaincl!103 instead of 107 for script errors when initializing non-service VUs (#2046).github and cdnjs "magic" loaders were slightly wrong (#2066).ramping-arrival-rate scenarios was not optimal (#1863).k6-summary JS code that is hosted on jslib.k6.io (#1975). That PR also improved the k6 TTY detection and removed a few Go dependencies and code hacks, though it also caused us to bump the minimum required Go version for compiling k6 to Go 1.16 (because of its usage of go:embed).__VU and __ITER execution context variables we plan to introduce. The new API will be able to return other information as well, for example which scenario the current iteration is in, what's the number of the current VU/iteration globally across all k6 instances, or in the current scenario, etc. These APIs are still not available to JS scripts, but we plan to expose them via the k6/x/execution xk6 extension for now and iterate on them in the following weeks, releasing a stable version in k6 v0.34.0.k6 cloud exit code for a failed cloud test was changed from 99 to 97 (#2046).K6_STATSD_TAG_BLOCKLIST and K6_DATADOG_TAG_BLACKLIST is now vu,iter,url (#2063).__ITER execution context variable is no longer set in setup() and teardown() due to #1863. This might be better classified as removing a previously undefined behavior instead of a breaking change, but it's still worth mentioning.