Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release Notes for v0.54.0 #3949

Merged
merged 42 commits into from
Sep 30, 2024
Merged
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
99bb3aa
v0.54.0 release notes from template
olegbespalov Aug 21, 2024
8b29604
Add browser#1406 to v0.54.0 release notes
ankur22 Aug 21, 2024
10b57a8
Add release notes for experimental csv module
oleiade Sep 12, 2024
ec5a854
Oleg's changelog
olegbespalov Sep 12, 2024
a85e5a0
External contributors' changelog
olegbespalov Sep 12, 2024
b42d1b1
Minor alignments of release notes
olegbespalov Sep 12, 2024
a52892e
Add browser#1420 & browser#1421 to release notes
ankur22 Sep 13, 2024
b3bce17
Joan's changelog
joanlopez Sep 13, 2024
5c3bbaf
Merge branch 'release-v0.54.0' of github.com:grafana/k6 into release-…
joanlopez Sep 13, 2024
cd79b78
Breaking changes, minor adjustments
olegbespalov Sep 13, 2024
8da0ce8
Extract gRPC updates under the feature
olegbespalov Sep 13, 2024
befe03c
Add setChecked to release notes
inancgumus Sep 13, 2024
dfe6c0f
Add file upload protocol to release notes
inancgumus Sep 13, 2024
a42b2ff
Add browser#1408 & #1422 to release notes
ankur22 Sep 13, 2024
f13b796
mstoykov: most of my release notes changes
mstoykov Sep 17, 2024
901251f
Add notes specific to --local-execution
oleiade Sep 17, 2024
4fd717d
Improve browser release notes
inancgumus Sep 17, 2024
dea59ed
Add branding changes
mstoykov Sep 17, 2024
4b63d34
add usage changes to release notes
mstoykov Sep 17, 2024
4b33ce6
xk6-websockets changes
mstoykov Sep 17, 2024
be907c9
Add browser module notice
inancgumus Sep 17, 2024
469ecb4
Add future plans notice back
inancgumus Sep 17, 2024
d30a86d
Fix regex code block release notes
inancgumus Sep 17, 2024
802430d
Fix doc next links to latest
inancgumus Sep 17, 2024
e575ea4
Add setChecked links
inancgumus Sep 17, 2024
6a9971b
Add async check utility
inancgumus Sep 18, 2024
cac0382
Fix k6lib check next to latest
inancgumus Sep 18, 2024
af29a66
Improve async check notes
inancgumus Sep 19, 2024
ad5a90a
Improve browser release notes
inancgumus Sep 20, 2024
856dec1
Apply suggestions from code review
olegbespalov Sep 23, 2024
317abfd
Adding missing dependencies PRs, aligning the style
olegbespalov Sep 23, 2024
44c1f51
Mention further bug fixes and maintenance work
oleiade Sep 23, 2024
1c2ae2a
Apply suggestions from code review
olegbespalov Sep 23, 2024
4199f09
Add fix browser#1435
ankur22 Sep 23, 2024
e032c06
Apply suggestions from code review
olegbespalov Sep 24, 2024
abb23cf
Add most recent browser related fixes
ankur22 Sep 26, 2024
83a656c
Apply suggestions from code review
olegbespalov Sep 26, 2024
92c120d
Apply code review suggestions, mentioning new PRs
olegbespalov Sep 26, 2024
2570cd9
Apply suggestions from code review
olegbespalov Sep 26, 2024
774a421
Apply suggestions from code review
olegbespalov Sep 30, 2024
88f6226
Apply suggestions from code review
olegbespalov Sep 30, 2024
1fa1587
Apply suggestions from code review
olegbespalov Sep 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Breaking changes, minor adjustments
  • Loading branch information
olegbespalov committed Sep 13, 2024
commit cd79b78c51089a676c38e9c77bf49904fa618972
34 changes: 23 additions & 11 deletions release notes/v0.54.0.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
k6 `v0.54.0` is here 🎉! This release includes:

- (_optional_) `<highlight of breaking changes>`
- `<Summary of new features>` (_one or multiple bullets_)

- A new experimental CSV module
- new ECMAScript features
olegbespalov marked this conversation as resolved.
Show resolved Hide resolved

## Breaking changes

- `#pr`, `<small_break_1>`
- `#pr`, `<small_break_2>`
- [#3913](https://github.com/grafana/k6/pull/3913) changes mapping of the Golang's `math/big.Int` type to `bigint` type in k6.
olegbespalov marked this conversation as resolved.
Show resolved Hide resolved
- [#3922](https://github.com/grafana/k6/pull/3922) removes `lib.Min` and `lib.Max` from k6's Go API, which could affect custom extensions that rely on these functions.
heitortsergent marked this conversation as resolved.
Show resolved Hide resolved

### (_optional h3_) `<big_breaking_change>` `#pr`

Expand Down Expand Up @@ -114,24 +113,38 @@ Although we continue to refine and improve the cloud service to handle better th
as well as the overall user experience, we've added a new `k6 cloud upload` command that replaces the
`k6 cloud --upload-only` flag used so far, which is now considered deprecated.

### `<big_feature_n>` `#pr`
### Sobek updates brings support of new ECMAScript features into k6 [`#3925`](https://github.com/grafana/k6/pull/3925), [`#3913`](https://github.com/grafana/k6/pull/3913)

With this release, we've updated [Sobek](https://github.com/grafana/sobek) (the `ECMAScript` implementation in Go) which contains the new ECMAScript features that are now available in k6.

This includes support for numeric literal separators, like:
olegbespalov marked this conversation as resolved.
Show resolved Hide resolved

```javascript
const billion = 1_000_000_000
```

And also support for `BigInt`, the values which are too large to be represented by the number primitive.

```javascript
const huge = BigInt(9007199254740991);
```

_what, why, and what this means for the user_
Note: that prior k6 version v0.54, Golang's type `math/big.Int` mapped to another type, so it might be a breaking change for some extensions or users.

## UX improvements and enhancements

- [#3877](https://github.com/grafana/k6/pull/3877), [#3820](https://github.com/grafana/k6/pull/3820) add `discardResponseMessage` option for gRPC module. Thank you, @lzakharov!
- [#3898](https://github.com/grafana/k6/pull/3898) adds `SetupTimeout` option validation. Thank you, @tsukasaI!
- [#3930](https://github.com/grafana/k6/pull/3930) adds token validation for `k6 cloud login`, so now you get immediate feedback right after logging in.
- [#3925](https://github.com/grafana/k6/pull/3925) updates Sobek to have support for numeric literal separators (e.g. `1_000_000`).
- [#3876](https://github.com/grafana/k6/pull/3876), [#3923](https://github.com/grafana/k6/pull/3923) adjusts the process' exit code for cloud test runs where thresholds have failed.
- [#3765](https://github.com/grafana/k6/pull/3765) stops using the confusing `✓` and `✗` for `Rate` metrics, and instead uses the form: `{x} out of {y}`.
- [#3801](https://github.com/grafana/k6/pull/3801) adds a new argument `meta` to gRPC's stream callback, which handles the timestamp of the original event (e.g. when message has been received). Thank you, @cchamplin!

## Bug fixes

- [#3947](https://github.com/grafana/k6/pull/3947) fixes panic when `options` is `nil` (e.g. exported from a module where it isn't really exported).
- [browser#1406](https://github.com/grafana/xk6-browser/pull/1406) fixes panic on iframe attach when iframe didn't contain any UI elements.
- [browser#1420](https://github.com/grafana/xk6-browser/pull/1420) uses the vu context to control the iterations lifecycle which helps k6 shutdown in a timely manner when a test is aborted.
- [browser#1420](https://github.com/grafana/xk6-browser/pull/1420) uses the VU context to control the iterations lifecycle which helps k6 shutdown in a timely manner when a test is aborted.
- [browser#1421](https://github.com/grafana/xk6-browser/pull/1421) fixes the navigation span by starting when the page starts to load so that it's a better representation of how long the test was on a page.

## Maintenance and internal improvements
Expand All @@ -143,9 +156,8 @@ _what, why, and what this means for the user_
- [#3909](https://github.com/grafana/k6/pull/3909) fixes `ExitCode` description typo. Thank you, @eltociear!
- [#3926](https://github.com/grafana/k6/pull/3926) documents maintenance of tc39 tests.
- [#3881](https://github.com/grafana/k6/pull/3881) adds top-level roadmap link.
- [#3903](https://github.com/grafana/k6/pull/3903), [#3912](https://github.com/grafana/k6/pull/3912), [#3913](https://github.com/grafana/k6/pull/3913), [#3928](https://github.com/grafana/k6/pull/3928) update dependencies.
- [#3945](https://github.com/grafana/k6/pull/3945) updates the endpoint where [usage reports](https://grafana.com/docs/k6/latest/set-up/usage-collection/) are sent to.
- [#3922](https://github.com/grafana/k6/pull/3922) replaces custom `min`, `max` and similar functions available in stdlib since Go v1.21.
- [#3903](https://github.com/grafana/k6/pull/3903), [#3912](https://github.com/grafana/k6/pull/3912), [#3928](https://github.com/grafana/k6/pull/3928) update dependencies.

## _Optional_ Roadmap

Expand Down