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

Release v0.57.0 #4511

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Release v0.57.0 #4511

wants to merge 23 commits into from

Conversation

inancgumus
Copy link
Member

@inancgumus inancgumus commented Feb 4, 2025

What?

This PR contains the Release notes for the upcoming k6 version v0.57.0. Please add commits as you see fit to update the content according to the changes you've made this cycle 🙇🏻

Related PR(s)/Issue(s)

#4162

@inancgumus inancgumus self-assigned this Feb 4, 2025
@inancgumus inancgumus mentioned this pull request Feb 4, 2025
28 tasks
release notes/v0.57.0.md Outdated Show resolved Hide resolved
release notes/v0.57.0.md Outdated Show resolved Hide resolved

## Breaking changes

- [#4161](https://github.com/grafana/k6/pull/4161) Drops `k6/experimental/browser`. If you are still using it, please follow the [instructions](https://grafana.com/docs/k6/latest/using-k6-browser/migrating-to-k6-v0-52/) to move to the not experimental module.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [#4161](https://github.com/grafana/k6/pull/4161) Drops `k6/experimental/browser`. If you are still using it, please follow the [instructions](https://grafana.com/docs/k6/latest/using-k6-browser/migrating-to-k6-v0-52/) to move to the not experimental module.
- [#4161](https://github.com/grafana/k6/pull/4161) Drops `k6/experimental/browser`. If you are still using it, please follow the [instructions](https://grafana.com/docs/k6/latest/using-k6-browser/migrating-to-k6-v0-52/) to move to the graduated and stable `k6/browser` module.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codebien suggestion is great 👍 . Two small nits, I would also replace "you are" with "you're" and remove "please".

release notes/v0.57.0.md Outdated Show resolved Hide resolved

The k6 team has been developing a new official jslib dedicated to functional testing. While it is still under active development and will potentially see breaking changes, the set of APIs and behaviors it offers are meant to make their way into k6 eventually, and it is now available for early feedback.

[k6-testing](https://github.com/grafana/k6-jslib-testing) is a k6 javascript library that offers a seamless way to write functional tests in k6, using a Playwright-compatible assertions API. It exposes an `expect` function, with which assertions can be performed using specific matchers that reflect the expectation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[k6-testing](https://github.com/grafana/k6-jslib-testing) is a k6 javascript library that offers a seamless way to write functional tests in k6, using a Playwright-compatible assertions API. It exposes an `expect` function, with which assertions can be performed using specific matchers that reflect the expectation.
[k6-testing](https://github.com/grafana/k6-jslib-testing) is a k6 JavaScript library that offers a seamless way to write functional tests in k6, using a Playwright-compatible assertions API. It exposes an `expect` function, with which assertions can be performed using specific matchers that reflect the expectation.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"expectation" at the end seems a little bit odd to me. What if we replaced it with "expected results"?

release notes/v0.57.0.md Outdated Show resolved Hide resolved
release notes/v0.57.0.md Outdated Show resolved Hide resolved
release notes/v0.57.0.md Outdated Show resolved Hide resolved
Comment on lines 178 to 180
## _Optional_ Roadmap

_Discussion of future plans_
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joanlopez it would be good to announce the end-of-test summary's changes.

release notes/v0.57.0.md Outdated Show resolved Hide resolved
Co-authored-by: Ivan <2103732+codebien@users.noreply.github.com>
inancgumus and others added 3 commits February 7, 2025 11:32
Co-authored-by: Ivan <2103732+codebien@users.noreply.github.com>

## Breaking changes

- [#4161](https://github.com/grafana/k6/pull/4161) Drops `k6/experimental/browser`. If you are still using it, please follow the [instructions](https://grafana.com/docs/k6/latest/using-k6-browser/migrating-to-k6-v0-52/) to move to the not experimental module.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codebien suggestion is great 👍 . Two small nits, I would also replace "you are" with "you're" and remove "please".

release notes/v0.57.0.md Outdated Show resolved Hide resolved
release notes/v0.57.0.md Outdated Show resolved Hide resolved
release notes/v0.57.0.md Outdated Show resolved Hide resolved

The k6 team has been developing a new official jslib dedicated to functional testing. While it is still under active development and will potentially see breaking changes, the set of APIs and behaviors it offers are meant to make their way into k6 eventually, and it is now available for early feedback.

[k6-testing](https://github.com/grafana/k6-jslib-testing) is a k6 javascript library that offers a seamless way to write functional tests in k6, using a Playwright-compatible assertions API. It exposes an `expect` function, with which assertions can be performed using specific matchers that reflect the expectation.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"expectation" at the end seems a little bit odd to me. What if we replaced it with "expected results"?

release notes/v0.57.0.md Outdated Show resolved Hide resolved
release notes/v0.57.0.md Outdated Show resolved Hide resolved
release notes/v0.57.0.md Outdated Show resolved Hide resolved
release notes/v0.57.0.md Outdated Show resolved Hide resolved
release notes/v0.57.0.md Outdated Show resolved Hide resolved
import { expect } from "https://jslib.k6.io/k6-testing/0.2.0/index.js";
```

Try it out and give us feedback or contribute to the project on the [k6-jslib-testing repository](https://github.com/grafana/k6-jslib-testing)!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a question for the team, do we want to include a mention of this new library in the jslib docs page, or do we want to wait for some user feedback/more development before doing so?

Copy link
Contributor

@olegbespalov olegbespalov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly looks good, left a few minor comments.

Also, since we created a v1.0.0-rc1 milestone, should we somehow announce it un Roadmap section?

release notes/v0.57.0.md Outdated Show resolved Hide resolved
The k6 team has been developing a new official jslib dedicated to functional testing. While it is still under active development and will potentially see breaking changes, the set of APIs and behaviors it offers are meant to make their way into k6 eventually, and it is now available for early feedback.

[k6-testing](https://github.com/grafana/k6-jslib-testing) is a k6 javascript library that offers a seamless way to write functional tests in k6, using a Playwright-compatible assertions API. It exposes an `expect` function, with which assertions can be performed using specific matchers that reflect the expectation.
When assertions fail, the test will immediately fail with a clear error message, including the expected and actual values in a similar fashion to what users would observe when using Playwright assertions.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel that it's worth mentioning something like

Suggested change
When assertions fail, the test will immediately fail with a clear error message, including the expected and actual values in a similar fashion to what users would observe when using Playwright assertions.
Unlike current k6's `check` when `expects` assertions fail, the test will immediately fail with a clear error message, including the expected and actual values in a similar fashion to what users would observe when using Playwright assertions.

Also, it could be something relevant to mention on https://grafana.com/docs/k6/latest/javascript-api/k6/check/

release notes/v0.57.0.md Outdated Show resolved Hide resolved
```

See the [csv module's documentation](https://grafana.com/docs/k6/latest/javascript-api/k6-experimental/csv/) for more information.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like a header here is missing, or at least we need a separator between the CSV new feature and the list.

release notes/v0.57.0.md Outdated Show resolved Hide resolved
joanlopez and others added 2 commits February 10, 2025 16:48
Co-authored-by: Heitor Tashiro Sergent <heitortsergent@gmail.com>
Co-authored-by: Oleg Bespalov <oleg.bespalov@grafana.com>
@inancgumus
Copy link
Member Author

inancgumus commented Feb 10, 2025

Reminder:

We should also add recent k6-browser-related PRs to the release notes (e.g., #4531).

@grafana/k6-core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants