diff --git a/release notes/v0.46.0.md b/release notes/v0.46.0.md index b82d05d22a70..29a6739e6b3b 100644 --- a/release notes/v0.46.0.md +++ b/release notes/v0.46.0.md @@ -15,10 +15,10 @@ k6 `v0.46` is here 🎉! This release includes: - [browser#885](https://github.com/grafana/xk6-browser/pull/885) Renames Web Vitals metrics to use `browser_` prefix and short namings (e.g.: `webvital_first_input_delay` -> `browser_web_vital_fid`). - [browser#903](https://github.com/grafana/xk6-browser/pull/903) Renames metrics with a browser prefix. Metrics related with HTTP requests performed from the browser are now split from the default HTTP module metrics into their own `browser_` prefixed metrics. - [browser#910](https://github.com/grafana/xk6-browser/pull/910) Abstracts `browser` and `browserType` from JS API. Users no longer have to explicitly initialize/close the browser instance through the JS API, instead a browser instance will be automatically initialized/closed at the beginning/end of each iteration if the browser type is set in scenario options (see [#3036](https://github.com/grafana/k6/pull/3036))). This also implies that the `chromium` entity from `k6/experimental/browser` import path is no longer valid, instead the `browser` entity provides access to the browser methods such as `browser.newPage()`. -- [browser#915](https://github.com/grafana/xk6-browser/pull/915) Removes the Web Vitals rating metric. Instead the rating is now set as a label in all other Web Vitals metrics. +- [browser#915](https://github.com/grafana/xk6-browser/pull/915) Removes the Web Vitals rating metric. Instead the rating is now set as a label in the corresponding Web Vitals metrics. - [browser#916](https://github.com/grafana/xk6-browser/pull/916) Removes some of the http metrics. Specifically removes the HTTP metrics that measure number of requests and the time per request stage (connecting, sending, receiving...), which means that the browser module will just report `browser_http_req_duration` and `browser_http_req_failed` HTTP metrics. - [browser#919](https://github.com/grafana/xk6-browser/pull/919) Do not expose `browser.on()` method. Considering the new automatic way to initialize/close browser instances, this method is no longer applicable. -- [browser#929](https://github.com/grafana/xk6-browser/pull/929) Limits browser implementation to hold a single `browserContext`. Only one concurrent `browserContext` is allowed per iteration, which means that the user can create a new `browserContext`, close it, and then create it again; but can not have more than one "alive" `browserContext`. Instead, [scenarios](https://k6.io/docs/using-k6/scenarios/) should be used to separate independent actions in a test. +- [browser#929](https://github.com/grafana/xk6-browser/pull/929) Limits browser implementation to hold a single `browserContext`. Only one `browserContext` is allowed per iteration, which means that the user can create a new `browserContext`, close it, and then create it again; but can not have more than one "live" `browserContext`. Instead, [scenarios](https://k6.io/docs/using-k6/scenarios/) should be used to separate independent actions in a test. - [browser#945](https://github.com/grafana/xk6-browser/pull/945) Refactors `browser.contexts()` method to `browser.context()`. This is a required change after the modifications done to only allow a single concurrent `browserContext` in [browser#929](https://github.com/grafana/xk6-browser/pull/929). ### (_optional h3_) `` `#pr`