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

build(deps): bump go.k6.io/k6 from 0.47.0 to 0.50.0 #4

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 4, 2024

Bumps go.k6.io/k6 from 0.47.0 to 0.50.0.

Release notes

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

v0.50.0

k6 v0.50.0 is here 🎉!

This release:

  • Adds support for uploading files from the browser module.
  • Introduces the options.cloud option.
  • Stabilizes the previously experimental timers module as the k6/timers module.
  • Brings JSON Web Key support to the k6/experimental/webcrypto module.

Breaking changes

  • websockets#60 allows manually setting the name tag, which also overwrites the url tag with the name value. This change makes it consistent with the logic that was implemented in k6 v0.41. Thanks, @​mkadirtan for contributing!

Browser APIs to Async

In future releases, we are going to be moving most of the synchronous browser APIs to asynchronous ones (promisifying them). We expect this will affect most of our users, so we are posting this upfront before making the change. Here are the reasons for making this large breaking change:

  1. Most browser APIs use some form of long-running IO operation (networking) to perform the requested action on the web browser against the website under test. We need to avoid blocking JavaScript's runtime event loop for such operations.
  2. We're going to add more asynchronous event-based APIs (such as page.on) that our current synchronous APIs would block.
  3. To align with how developers expect to work with JavaScript APIs.
  4. To have better compatibility with Playwright.

You can find a list of all the APIs that we expect to convert to async in a comment in issue browser#428.

Awaiting on something that’s not a thenable just returns that value, which means you can add the await keyword against APIs that will become async to future proof your test scripts.

New features

Add support for uploading files from the browser module browser#1097, browser#1244

You can now upload files using the available input forms on the website under test. The new API is setInputFiles which can be called from a page, frame or elementHandle types. It can upload one or more files encoded in the test script. To upload files from the local file system, work with the experimental fs module.

For the following examples, we will use the HTML file:

<html>
<body>
<form method="POST" action="/upload" enctype="multipart/form-data">
<input type="file" name="upl" id="upload" multiple />
<input type="submit" value="Send" />
</form>
</body>
</html>

... (truncated)

Commits
  • f18209a Bump k6 version to v0.50 (#3647)
  • 02940ff Release notes v0.50.0 (#3646)
  • 0af62a2 Validate timeUnit in ramping-arrival-rate
  • fc60f4d Updated go-sourcemap to v2.1.4
  • f27cca5 Make options.hosts case insensitive (#3653)
  • 87dee4c Bump xk6-browser to 1.4.3
  • 9ee0188 Bump google.golang.org/protobuf in /examples/grpc_server
  • b75441c Update k6 with browser v1.4.2
  • 55256e6 Update google.golang.org/protobuf to v1.33.0
  • 76077bd Updating webcrypto to v0.2.1
  • 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 Apr 4, 2024
@dependabot dependabot bot force-pushed the dependabot/go_modules/go.k6.io/k6-0.50.0 branch from 43d0657 to 6482b12 Compare April 4, 2024 20:29
Bumps [go.k6.io/k6](https://github.com/grafana/k6) from 0.47.0 to 0.50.0.
- [Release notes](https://github.com/grafana/k6/releases)
- [Commits](grafana/k6@v0.47.0...v0.50.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/go.k6.io/k6-0.50.0 branch from 6482b12 to c8de5de Compare April 4, 2024 20:30
@phymbert phymbert merged commit 9d48d34 into main Apr 4, 2024
2 checks passed
@phymbert phymbert deleted the dependabot/go_modules/go.k6.io/k6-0.50.0 branch April 4, 2024 20:32
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