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

v0.40.0 release notes #2669

Merged
merged 37 commits into from
Sep 8, 2022
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
efd63ef
Draft of the v0.40.0 release notes
mstoykov Aug 30, 2022
9b4309f
Apply suggestions from code review
mstoykov Aug 31, 2022
65bee38
Add experimental modules notes
mstoykov Aug 31, 2022
78e0364
Add main module breaking change
mstoykov Aug 31, 2022
e133f5c
fixes
mstoykov Aug 31, 2022
e4b9548
Class support notes
mstoykov Aug 31, 2022
7fc38a4
k6/ws release notes
mstoykov Aug 31, 2022
4ac810a
Add two more breaking changes
mstoykov Aug 31, 2022
ff46e2f
Add test helper type release notes
mstoykov Aug 31, 2022
822c458
fix
mstoykov Aug 31, 2022
8ba837f
Add first sentence to release notes and reformat
mstoykov Aug 31, 2022
0dbffb4
Apply suggestions from code review
mstoykov Aug 31, 2022
3411d04
Apply suggestions from code review
mstoykov Aug 31, 2022
7ccc052
Breaking changes updates
mstoykov Aug 31, 2022
f6497fd
Fill Roadmap's release notes
mstoykov Aug 31, 2022
516722a
Apply suggestions from code review
mstoykov Aug 31, 2022
844ccd0
Add an example to what won't work with ESM in the future
mstoykov Aug 31, 2022
e2e0661
Some suggestion by @olegbespalov
mstoykov Aug 31, 2022
b358c6a
Move breaking changes to the top and combine them
mstoykov Sep 1, 2022
77bbab6
Not on CommonJS and ESM cycles not working ... probably
mstoykov Sep 1, 2022
d59befc
Apply suggestions from code review
mstoykov Sep 1, 2022
89a2d60
Apply suggestions from code review
mstoykov Sep 1, 2022
f317889
Apply suggestions from code review
mstoykov Sep 1, 2022
faa72d6
Apply suggestions from code review
mstoykov Sep 1, 2022
e8a25ea
Apply suggestions from code review
mstoykov Sep 1, 2022
7fc6a17
key-value pair maps
MattDodsonEnglish Sep 1, 2022
4a7490a
typo fix thanks to @spazm
mstoykov Sep 2, 2022
3db8244
Make example collapsabile
mstoykov Sep 2, 2022
4dcb7b3
can -> could
MattDodsonEnglish Sep 5, 2022
8e802e1
Apply suggestions from code review
mstoykov Sep 7, 2022
7286099
Add one # to each heading in the release notes
mstoykov Sep 7, 2022
dd689c7
Apply suggestions from code review
mstoykov Sep 7, 2022
b27005f
Apply suggestions from code review
mstoykov Sep 7, 2022
396dbff
Apply suggestions from code review
mstoykov Sep 7, 2022
7aaeb22
Apply suggestions from code review
mstoykov Sep 7, 2022
56bb215
Apply suggestions from code review
mstoykov Sep 7, 2022
5a06532
Apply suggestions from code review
mstoykov Sep 7, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 83 additions & 0 deletions release notes/v0.40.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
k6 v0.40.0 is here! :tada:
#TODO
[Roadmap and future plans section](#roadmap-and-future-plans).

## New Features!

### experimental extensions
https://github.com/grafana/k6/pull/2630
https://github.com/grafana/k6/pull/2656


### https://github.com/grafana/k6/pull/2571

### First class support for JavaScript Classes [#]()
https://github.com/grafana/k6/issues/1763
https://github.com/grafana/k6/pull/2618
https://github.com/grafana/k6/pull/2610
Other goja updates

https://github.com/grafana/k6/pull/2645
https://github.com/grafana/k6/pull/2600
https://github.com/dop251/goja/pull/405

### New Test runtime for module extension developers

https://github.com/grafana/k6/issues/2598
https://github.com/grafana/k6/pull/2602
https://github.com/grafana/k6/pull/2621


### https://github.com/grafana/k6/pull/2616


## Breaking changes

- [#2632](https://github.com/grafana/k6/pull/2632) As part of refactor to set tags provided to `metric.add` in the order they are provided, it was found out that you can provide tags as multiple objects/maps. This has never been the intend use and has never been documented. As such and as that makes no sense given every other API we have decided to remove this ability.
- [#2582](https://github.com/grafana/k6/pull/2582) If `RegisterCallback` result is called twice this will now lead to a panic, instead of the second call silently breaking the event loop. This has never been the expected behaviour and calling it twice is always a bug in the code using it.
- As part of [#2596](https://github.com/grafana/k6/pull/2596) the `tainted` property of the Metric type is no longer outputted by the JSON output. That property was (likely) always going to have the value `false` as it was outputted in the beginning of the test.
mstoykov marked this conversation as resolved.
Show resolved Hide resolved

## Enhancements and UX improvements

## Bug fixes

- [#2585](https://github.com/grafana/k6/pull/2585) `http.batch()` now displays an error if not exactly 1 argument is given to it([#1289](https://github.com/grafana/k6/issues/1289)). Thanks, @vanshaj!
- [#2596](https://github.com/grafana/k6/pull/2596) Fix a potential data race in the JSON output. Includes a breaking change where `tainted` property is no longer outputted. That property was (likely) always going to have the value `false` as it was outputted in the beginning of the test.
- [#2604](https://github.com/grafana/k6/pull/2604) Fix ssl keylogger not working with absolute paths.
- [#2637](https://github.com/grafana/k6/pull/2637) Fix setting the options `rps` to `0` or below leading to exceptions. Now setting to 0 or below disables the limit. Thanks @tbourrely. [#2613](https://github.com/grafana/k6/issues/2613)
- [#2278](https://github.com/grafana/k6/issues/2278) Reading directly `options.tags` was not possible. This was fixed by accident by [#2631](https://github.com/grafana/k6/pull/2631). It is still recommended that `k6/execution` is used instead to access the [final options of the test](https://k6.io/docs/javascript-api/k6-execution/#get-test-options).
mstoykov marked this conversation as resolved.
Show resolved Hide resolved

## Maintenance and internal improvements

- [#2590](https://github.com/grafana/k6/pull/2590) Update direct dependencies with no know specific interesting changes apart for goja.
mstoykov marked this conversation as resolved.
Show resolved Hide resolved
- [#2591](https://github.com/grafana/k6/pull/2591) Changes to the CI process to always build rpm/deb and windows packages and use nfpm to do it.
- [#2593](https://github.com/grafana/k6/pull/2593) Internal cleanup after finally removing `common.Bind`.
- [#2597](https://github.com/grafana/k6/pull/2597) Fix go benchmarks we have broken over time.
- [#2599](https://github.com/grafana/k6/pull/2599) Reformat `//nolint` comments as part of getting ready for go 1.19.
- A bunch of fixes for tests [#2589](https://github.com/grafana/k6/pull/2589), [#2620](https://github.com/grafana/k6/pull/2620), [#2625](https://github.com/grafana/k6/pull/2625), [#2643](https://github.com/grafana/k6/pull/2543), [#2647](https://github.com/grafana/k6/pull/2647), [#2648](https://github.com/grafana/k6/pull/2648),
- [#2607](https://github.com/grafana/k6/pull/2607) Fix build badge in the README. Thanks @AetherUnbound!
- [#2614](https://github.com/grafana/k6/pull/2614) Fix advice for rpm install on Amazone Linux.
- [#2615](https://github.com/grafana/k6/pull/2615) Improve documentation of RegisterCallback due to feedback on how hard it was to understand how to properly use it.
mstoykov marked this conversation as resolved.
Show resolved Hide resolved
- [#2627](https://github.com/grafana/k6/pull/2627) Create distinct test state objects for the pre-init and run phases.
- [#2635](https://github.com/grafana/k6/pull/2635) Drop License header in each file.
- [#2636](https://github.com/grafana/k6/pull/2636) Add SECURITY.md with instructions how to report security issues responsibly.
mstoykov marked this conversation as resolved.
Show resolved Hide resolved
- [#2641](https://github.com/grafana/k6/pull/2641) Fix spelling of `lose`. Thanks @spazm!
- Update to golangci-lint v1.47.2 and enable a bunch more linters. [#2609](https://github.com/grafana/k6/pull/2609), [#2611](https://github.com/grafana/k6/pull/2611). Also drop some old configuration for unused linter [#2619](https://github.com/grafana/k6/pull/2619).
mstoykov marked this conversation as resolved.
Show resolved Hide resolved

# Roadmap and future plans

## Native support for ECMAScript modules

UPDATE THIS

## Refactoring metrics
https://github.com/grafana/k6/pull/2629
https://github.com/grafana/k6/pull/2631
https://github.com/grafana/k6/pull/2634
https://github.com/grafana/k6/pull/2655

Update this whole section

### Prometheus remote-write output

### Tracing support