Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 16, 2025

Bumps the k6 group with 2 updates: go.k6.io/k6 and github.com/grafana/sobek.

Updates go.k6.io/k6 from 1.3.0 to 1.4.0

Release notes

Sourced from go.k6.io/k6's releases.

v1.4.0

k6 v1.4.0 is here 🎉! This release includes:

  • OpenTelemetry output graduated from experimental to stable status.
  • Changes in the Browser module:
    • page.waitForRequest for waiting on specific HTTP requests.
    • QueryAll methods now return elements in DOM order.
    • locator.evaluate and locator.evaluateHandle for executing JavaScript code in the page context with access to the matching element.
    • page.unroute(url) and page.unrouteAll for removing routes registered with page.route.

Breaking changes

As per our stability guarantees, breaking changes across minor releases are allowed only for experimental features.

Breaking changes for experimental modules

  • #5164 OpenTelemetry output now exports rate metrics as a single counter with zero/nonzero labels instead of separate metrics.
  • #5333 OpenTelemetry output configuration: K6_OTEL_EXPORTER_TYPE is deprecated in favor of K6_OTEL_EXPORTER_PROTOCOL to align with OpenTelemetry standards.

Breaking changes for undefined behaviours

  • #5320, #5239, #5342 Automatic extension resolution now only inspects ES module import statements and no longer supports CommonJS require() calls. CommonJS require() calls are dynamic, and it is not possible to know for certain if they will be called, or if they will be called with static strings - the only way they were even previously loaded. This functionality was a quirk of the previous implementation and had numerous problems. Additionally, use k6 directives are now only recognized when they appear at the beginning of files (after optional shebang and whitespace/comments). This was the original intention, but due to implementation bugs, it did not accurately reflect what was happening.

New features

OpenTelemetry output graduation #5334

The OpenTelemetry output has graduated from experimental status and is now available as a stable output using the name opentelemetry. This change makes OpenTelemetry the recommended vendor-agnostic solution for exporting k6 telemetry data.

You can now use the stable output name in your k6 commands:

# Previous experimental usage (still supported for backward compatibility)
k6 run --out experimental-opentelemetry script.js
New stable usage
k6 run --out opentelemetry script.js

The experimental-opentelemetry name will continue to work for backward compatibility for now but it's deprecated and we might remove it in future versions. We recommend migrating to use the new opentelemetry name.

page.waitForRequest #5330

The browser module now supports page.waitForRequest(), which allows you to wait for HTTP requests that match specific URL patterns during browser automation. This method is particularly valuable for testing scenarios where you need to ensure specific network requests are initiated before proceeding with test actions.

The method supports multiple URL pattern matching strategies:

// Wait for exact URL match
const requestPromise = page.waitForRequest('https://api.example.com/data');
await page.click('button[data-testid="load-data"]');
</tr></table> 

... (truncated)

Commits
  • a9f9e3b Release v1.4.0 (#5363)
  • 3f6d5be Bump k6 version to 1.4.0
  • 9a2ac0d chore: format Go Doc comments (#5308)
  • 75eef46 Drop old auto extension resolution implementation
  • 37f52d5 chore(deps): update docker/login-action action to v3.6.0
  • dbab1a1 chore(deps): update github/codeql-action action to v4.31.2
  • 2d31388 chore(deps): update anchore/sbom-action action to v0.20.9
  • b212d74 chore(deps): update github artifact actions (#5355)
  • a9efd0a fix(deps): update github.com/grafana/sobek digest to d05c916
  • d577c9b Apply suggestions for PR #5347
  • Additional commits viewable in compare view

Updates github.com/grafana/sobek from 0.0.0-20250723111835-dd8a13f0d439 to 0.0.0-20251030131753-d05c9166857d

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the k6 group with 2 updates: [go.k6.io/k6](https://github.com/grafana/k6) and [github.com/grafana/sobek](https://github.com/grafana/sobek).


Updates `go.k6.io/k6` from 1.3.0 to 1.4.0
- [Release notes](https://github.com/grafana/k6/releases)
- [Commits](grafana/k6@v1.3.0...v1.4.0)

Updates `github.com/grafana/sobek` from 0.0.0-20250723111835-dd8a13f0d439 to 0.0.0-20251030131753-d05c9166857d
- [Commits](https://github.com/grafana/sobek/commits)

---
updated-dependencies:
- dependency-name: go.k6.io/k6
  dependency-version: 1.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: k6
- dependency-name: github.com/grafana/sobek
  dependency-version: 0.0.0-20251030131753-d05c9166857d
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: k6
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 16, 2025
@dependabot dependabot bot requested a review from a team as a code owner November 16, 2025 16:05
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 16, 2025
@dependabot dependabot bot requested a review from pablochacin November 16, 2025 16:05
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant