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

Bump go.k6.io/k6 from 0.51.0 to 0.52.0 #16

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 25, 2024

Bumps go.k6.io/k6 from 0.51.0 to 0.52.0.

Release notes

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

v0.52.0

k6 v0.52.0 is here 🎉! Some special mentions included in this release:

Breaking changes

Switch goja to our own fork named sobek #3775

To accelerate the development speed and bring ECMAScript Modules (ESM) support to k6 earlier (grafana/k6#3265), we have decided to create a fork of the goja project under the Grafana GitHub organization, named sobek.

Starting on this release, k6 (and its extensions) now use sobek instead of the original goja, for all (of the publicly exposed parts of the API) except for a couple of packages that are only used internally by k6.

All k6 extensions linked in the docs have had a PR for this transition opened, as explained in this comment. Any extension author who hasn't gotten a PR can follow the same steps.

Find further details in #3772 and #3773.

Panics are no longer being captured #3777

Since this release, Go panics are no longer being captured by k6. This means that if a panic occurs while running a test, the k6 process will crash, and the panic stack trace will be printed to the console.

We decided to change this behavior because it's something that was left from the past as a safeguard, but it's not as good as it might seem. For most cases with multiple goroutines/async, it's not enough and also makes a bunch of potential bugs seem like less of an issue.

Thus, this will help us to identify and fix bugs earlier, improve the overall stability of k6, and most likely make the experience of developing k6 extensions friendlier.

lib.State no longer has Group #3750

As the result of refactoring the implementation of group and check methods, in order to decouple them, and thus enable other future improvements, the lib.State object no longer has a Group field.

This change should not affect most users, except for a couple of extensions, for which the use of Group was already questionable:

  • xk6-fasthttp
  • xk6-g0

Other breaking changes

  • #3797 starts using - as a special value for --archive-out to output the archive to stdout.
  • browser#1318 makes the Mouse.up and Mouse.down methods no longer take x and y coordinates. Instead, they dispatch events on the current mouse position.

... (truncated)

Commits
  • 20f8feb Release notes v0.52.0 (#3805)
  • ba6a935 Bump k6 version to v0.52.0 (#3810)
  • a525231 Warn on mixing ESM and commonJS (#3807)
  • 8efec40 cmd/archive: also test for non-existence of file named - (#3800)
  • 4481771 cmd/archive: output archive to stdout if - is passed as --archive-out (#3797)
  • cd487a4 Upgrade experimental module (deps): Bump github.com/grafana/xk6-browser
  • 41db838 Log as debug the case when we can't get terminal size
  • 23d8f91 Update sobek and goja respectfully
  • c9e7018 Fix require warning with tests from stdin (#3774)
  • 3415ce6 Graduate to k6/browser from an experimental module (#3793)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 25, 2024
Bumps [go.k6.io/k6](https://github.com/grafana/k6) from 0.51.0 to 0.52.0.
- [Release notes](https://github.com/grafana/k6/releases)
- [Commits](grafana/k6@v0.51.0...v0.52.0)

---
updated-dependencies:
- dependency-name: go.k6.io/k6
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/go.k6.io/k6-0.52.0 branch from a595341 to f10c18b Compare July 18, 2024 22:58
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 13, 2024

Superseded by #19.

@dependabot dependabot bot closed this Aug 13, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/go.k6.io/k6-0.52.0 branch August 13, 2024 15:34
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