Skip to content

Commit

Permalink
add usage changes to release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov committed Sep 17, 2024
1 parent dea59ed commit 4b63d34
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions release notes/v0.54.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,24 @@ await page.setChecked('#checkbox', false); // uncheck the checkbox

[Page](https://grafana.com/docs/k6/next/javascript-api/k6-browser/page/setchecked/), [Frame](https://grafana.com/docs/k6/next/javascript-api/k6-browser/frame/), [ElementHandle](https://grafana.com/docs/k6/next/javascript-api/k6-browser/elementhandle/), and [Locator](https://grafana.com/docs/k6/next/javascript-api/k6-browser/locator/) now support the new `setChecked` method.

### Rework of how usage is being collected internally and additional counters [`#3917`](https://github.com/grafana/k6/pull/3917) and [`#3951`](https://github.com/grafana/k6/pull/3951)

As part of working on k6 over the years we have many times wondered if given features is used or if this strange corner case behavior is being used.

We usually made guesses or tried to extrapolate from experience on issues we see or maybe even cloud customers. This unfortunately isn't always easy or possible at all and definitely is very skewed. As such we usually also added warning messages to thing we intend on breaking to let people know and ask them to report if they see problems. This usually see very little activity especially before we make the changes.

This also only works for things we want to remove, but doesn't help us know if people use new functionality at all or if there are patterns that we do not expect.

While k6 has been collecting usage for a while it is usually very surface level stuff, such as how many VUs were run, k6 version, what *internal* modules were loaded and such.

And the system for this was very rigid requiring usually a lot of work to add simple stuff, like if someone used the `require` function.

This has been reworked to make this a lot easier to do and a few new usage reports have been added:
- when cloud is used it will also tell us which test run it is. We already have most if not actually more of the information reported through metrics and it being ran in the cloud. But this will also help us filter cloud from not cloud runs easier and also potentially tell cloud users that they are using experimental modules that are to be removed soon.
- number of files parsed as well as number of ts files parsed. This will be useful both in us figuring out if people use small projects or bigger ones as well as if ts file support is being used.
- usage of `require`. Now that we have ESM native support, using `require` and CommonJS adds complexity. It is interesting to us whether removing this in the future - likely years, given it support in other runtimes, is even feasable.
- usage of `global`. This for help us decide if we can [drop compatility-mode](https://github.com/grafana/k6/issues/3864) differences or even the whole concept of them.

## UX improvements and enhancements

- [#3898](https://github.com/grafana/k6/pull/3898) adds `SetupTimeout` option validation. Thank you, @tsukasaI!
Expand Down

0 comments on commit 4b63d34

Please sign in to comment.