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

k6 0.56.0 #203345

Merged
merged 2 commits into from
Jan 6, 2025
Merged

k6 0.56.0 #203345

merged 2 commits into from
Jan 6, 2025

Conversation

BrewTestBot
Copy link
Member

Created by brew bump


Created with brew bump-formula-pr.

release notes
k6 `v0.56.0` is here 🎉! This release includes:
  • We've merged xk6-browser into k6.
  • Many small improvements, bug fixes and internal refactors.

Breaking changes

  • browser#1541 Removes accessibility-events from a test, which is no longer a valid permission that can be granted by the latest version of Chromium/Chrome.
  • #4093 Unexports lib/consts.FullVersion from the k6's Golang API.

New features

Merge browser code in k6 codebase #4056

While the browser module has been stabilized, the codebase was not moved inside of k6.

As part of the stabilization this is now also merged in the k6 codebase. In the following months we would move issues from the xk6-browser repo and then archive it.

UX improvements and enhancements

  • browser#1536 Removes Headless from the user agent to prevent test traffic from being blocked.
  • browser#1553 Reduces logging noise produced by the browser module.
  • #4093 Introduces a --json flag to a k6 version sub-command, which switches an output to a JSON format.
  • #4140 Tags browser module metrics with a resource_type tag which can be one of these values: "Document", "Stylesheet", "Image", "Media", "Font", "Script", "TextTrack", "XHR", "Fetch", "Prefetch", "EventSource", "WebSocket", "Manifest", "SignedExchange", "Ping", "CSPViolationReport", "Preflight", "Other", or "Unknown".
  • #4092 Populates __ENV.K6_CLOUDRUN_TEST_RUN_ID with the corresponding value for local executions streaming results to the Cloud: k6 cloud run --local-execution.

Bug fixes

  • browser#1507 Fixes the Geolocation.Accuracy field.
  • browser#1515 Fixes Sobek Object.Get(key) by returning *[]any instead of []any.
  • browser#1534 Fixes locator APIs to wait during a navigation without erroring out.
  • browser#1538 Fixes frame.title.
  • browser#1542 Fixes a panic which can occur when a frame navigates.
  • browser#1547 Fixes a panic due to events associated to stale frames.
  • browser#1552 Fixes a panic for locator.selectOption when value is an object.
  • browser#1559 Fixes a panic for page.screenshot.
  • browser#1544 Fixes a nil pointer dereference when calling evaluate or evaluateHandle with an invalid page function.
  • #4058 Fixes the namespaced object export when default is the only one available.
  • #4132 Returns an error when a page is null during the creation of a page.

Maintenance and internal improvements

Roadmap

Removal of deprecated k6/experimental/browser module

Since v0.52.0 we have had a non experimental version of the browser module (k6/browser). We urge you to migrate your scripts over to the non experimental browser module as we will be removing the experimental version of it in the next release (v0.57.0).

@github-actions github-actions bot added go Go use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Jan 6, 2025
Copy link
Contributor

github-actions bot commented Jan 6, 2025

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Jan 6, 2025
@BrewTestBot BrewTestBot enabled auto-merge January 6, 2025 19:46
@BrewTestBot BrewTestBot added this pull request to the merge queue Jan 6, 2025
Merged via the queue into master with commit 3d41854 Jan 6, 2025
15 checks passed
@BrewTestBot BrewTestBot deleted the bump-k6-0.56.0 branch January 6, 2025 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. go Go use is a significant feature of the PR or issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants