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 (deps): Bump go.k6.io/k6 from 0.54.0 to 0.55.0 #1535

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 12, 2024

Bumps go.k6.io/k6 from 0.54.0 to 0.55.0.

Release notes

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

v0.55.0

k6 v0.55.0 is here 🎉! This release includes:

  • ⚠️ The deprecated StatsD output has been removed.
  • ⚠️ The experimental k6/experimental/tracing module has been removed.
  • 🆕 URL grouping support in the browser module.
  • 🆕 Top-level await support.
  • 🔐 Complete RSA support for k6/experimental/webcrypto.

Breaking changes

k6/experimental/tracing module removed [#3855](https://github.com/grafana/k6/issues/3855)

The experimental k6/experimental/tracing module has been removed, in favor of a replacement jslib polyfill, please consult our guide on how to migrate, [#3855](https://github.com/grafana/k6/issues/3855).

StatsD output removed [#3849](https://github.com/grafana/k6/issues/3849)

The StatsD output was deprecated in k6 v0.47.0 and is now removed. You could still output results to StatsD using the community xk6 extension LeonAdato/xk6-output-statsd. Thanks, @​LeonAdato for taking over the extension!

open will have a breaking change in the future.

Currently, open opens relative files based on an unusual root, similar to how require behaved before it was updated for ESM compatibility. To make k6 more consistent, open and other functions like it will start handling relative paths in the same way as imports and require. For a more in-depth explanation, please refer to the related issue.

With this version, k6 will start emitting warnings when it detects that in the future, this will break. We recommend using import.meta.resolve() as a way to make your scripts future proof.

http.file#data now truly has the same type as the provided data [#4009](https://github.com/grafana/k6/issues/4009)

Previously http.file#data was always a slice of byte ([]byte) - which was very likely a bug and a leftover from years past.

The original aim (also documented) was to have the same type as the data provided when creating the http.file object, and it is now effectively the case.

New features

Top-level await support 4007

After the initial native support for ECMAScript modules, k6 can now load those modules asynchronously which also allows await to be used in the top-level of a module. That is you can write await someFunc() directly in the top most level of a module instead of having to make an async function that you call that can than use await.

Until now, you had to wrap your code in an async function to use await in the top-level of a module. For example, the following code:

import { open } from 'k6/experimental/fs'
import csv from 'k6/experimental/csv'
let file;
let parser;
(async function () {
file = await open('data.csv');
parser = new csv.Parser(file);
})();
</tr></table>

... (truncated)

Commits
  • 90bb941 V0.55.0 Release Notes (#4033)
  • f896f1c Bump version to v0.55.0 (#4034)
  • ef87fcd Drop k6/experimental/tracing
  • 0411e28 Adjusts recommendations for check
  • a40d853 chore: update examples to use TLA
  • 8dfdef1 Update issues auto-assigner maintainers
  • c77cb75 Warn on usage of open that will break in the future (#4030)
  • 1d6d66e update recommendation for async check
  • 7e3f67e Bump github.com/jhump/protoreflect from 1.16.0 to 1.17.0 (#4001)
  • c408b44 Make the banner bold to be more readable
  • 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)

Bumps [go.k6.io/k6](https://github.com/grafana/k6) from 0.54.0 to 0.55.0.
- [Release notes](https://github.com/grafana/k6/releases)
- [Commits](grafana/k6@v0.54.0...v0.55.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 requested a review from a team as a code owner November 12, 2024 07:07
@dependabot dependabot bot requested review from inancgumus and ankur22 and removed request for a team November 12, 2024 07:07
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 12, 2024
@ankur22 ankur22 merged commit e75e6f3 into main Nov 12, 2024
21 checks passed
@ankur22 ankur22 deleted the dependabot/go_modules/main/go.k6.io/k6-0.55.0 branch November 12, 2024 10:16
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant