Aquesta és una versió anterior. La versió actual és la 2.2.0. k6 2.2.0 · Data de publicació:
Fitxers d’instal·lació 0.45.0
| Arquitectura | Tipus | Àmbit | Mida del fitxer | Baixa | SHA256 |
|---|---|---|---|---|---|
| 64 bits | MSI · en-US | — | — | github.com | VirusTotal |
L’enllaç i l’SHA256 provenen del manifest comunitari del Gestor de paquets del Windows. Convé comparar el hash del fitxer baixat abans d’executar-lo.
Notes de la versió
- Experimental gRPC streaming support.
- Update scripts in the cloud without running tests.
- JS Metadata API.
- A lot of internal changes and bugfixes.
Breaking changes
- #3066 k6 will warn users about metric names incompatible with OpenTelemetry or Prometheus.
This is planned to become an error with v0.48.0.
- browser#851 Remove existing browser namespaced metrics.
These have been deprecated in favor of Web Vitals metrics.
UX improvements and enhancements
- #3099 replace "breached" with "crossed" in logs around thresholds. Thanks to @MattDodsonEnglish 🙇.
- #3102 Better error message when SharedArray constructor is provided with an async function.
This is not supported, but the original message wasn't very clear.
- #3089 Add Software Bill of Materials (SBOM) reports to k6 releases.
Thanks to @SadFaceSmith 🙇.
- goja#510 JSON.parse will now fail with a friendlier error message.
Bug fixes
- browser#852 Fix Locator.
WaitFor for detached and hidden states.
- browser#859 Fix remote object parsing when subtype is null.
Maintenance and internal improvements
- #2991 Refactor JS modules system so that is usable in tests.
Which allowed enabling the tc39 tests for modules #3040.
- #3025 Internally stop referring to afero and use an internal package to do all file system interaction.
That package still uses afero.
- #3036 and #3053 Add options to scenarios for usage by browser module.
- #3058 fix repetitive the. Thank you, @cuishuang 🙇.
- #3064, #3070, #3075 and #3106 Go dependencies updates.
- #3067 Add method to retrieve all registered metrics.
- #3068 Add metric Sink constructor.
- #3078 Pin base Docker builder image to Alpine 3.17.
Thank you, @arukiidou 🙇.
- #3086 Fix downloading .golangci.yml for PRs from forks.
- #3088 Make TestDNSResolver less flaky.
- #3094 Fix example from the run command.
Thanks to @rocktwotj 🙇.
- #3095 Maintenance update of .golangci.yml.
- #3103 Fix lint and logical issues in k6/data module tests.
- #3045, #3049, #3073 and #3044 New issues are now automatically assigned to maintainers, to improve response time on issues.
Both new issue and new PR assignments are now not using external actions.
- #3109 Add a way to get the cloudapi Client's base URL.
Thanks to @yorugac 🙇.
- Binary (protobuf) format instead of JSON #2963
- Samples aggregation for every metric instead of only for HTTP ones #3071
- HDR Histogram generation for trend-type metrics #3027