domsolutions / xk6-fasthttp

A k6 extension using fasthttp library for improved speed of HTTP/1.1 requests
Apache License 2.0
2 stars 0 forks source link

Bump go.k6.io/k6 from 0.49.0 to 0.50.0 #12

Closed dependabot[bot] closed 3 months ago

dependabot[bot] commented 5 months ago

Bumps go.k6.io/k6 from 0.49.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 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[bot] commented 3 months ago

Superseded by #15.