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.46.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ó
- xk6-browser extension version bump to v1.0.2, which includes breaking changes.
- Send custom headers to Loki log output
- Cloud Traces, the new integration between k6 and Tempo
- Ability to configure TLS per gRPC connection
- Cloud output v2
- And many UX improvements, bug fixes, and internal improvements
Deprecations
- #3121 deprecates the loadimpact/k6 docker image. We recommend switching to the grafana/k6 image as soon as possible.
- A custom tag named test_run_id, since that is reserved for internal k6 Cloud operations
- Any tag with a key that starts with two underscores (__), that is marked by Prometheus convention as reserved
UX improvements and enhancements
- #3176 Adds a js/promises package, which enables extension developers to easily create promises that will be dispatched to the eventloop using the New function.
- #3181 Adds a RunOnEventLoop method to the modulestest.
Runtime type, which allows extensions developers to run code on the event loop from their tests.
- xk6-grpc#19 Fixes EOF (end of file) error that was produced when writing to a closed gRPC stream.
Additionally, if no error handlers are set up, the error is logged to the console.
- browser#881 Adds a new browser_http_req_failed metric.
- browser#901 Adds support for shadow DOM piercing in locator.
Thanks to @tmc for its implementation.
- browser#953 Improves Web Vitals reporting for better accuracy and consistency.
Bug fixes
- #3178, xk6-grpc#23 Fixes the registration of nested protobuf messages in the gRPC module.
Thanks @thiagodpf for reporting and fixing the bug!
- #3194 Fixes loki log output exiting before push is finished.
- #3231 Fixes the tracing module sampling option to default to 1.0 when not set by the user.
- browser#866 Disables the timeout on browser process execution.
- browser#942 Fixes deadlock in frameNavigated.
- browser#943 Fixes a race condition in navigation and lifecycle events.
- browser#979 Fixes a deadlock on pagehide event evaluation when page.close() is called.
- browser#980 Fixes Loki log output for console log serializer.
- browser#991 Fixes data directory not being cleared during browser.close() panic.
Maintenance and internal improvements
- #3112 Adds an event system for core JS modules.
- #3170 Upgraded the version of gRPC k6 demo service dependency to address a security vulnerability ([CVE-2023-32731]).
- #3211 Updates the experimental gRPC module version used by k6.
- #3210 Updates the xk6-output-prometheus-remote version used by k6.
- #3136 Updates k6 Go dependencies.
- #3131 Updates our Pull Request template to be more structured and include a checklist for contributors.
- #3177 Updates the version of golangci-lint we use to the latest version.
- #3163 Fixes our gRPC example.
- #3196 Logs packages lint fixes, and test for loki flushing at end.
- browser#849, browser#972, browser#977, browser#978, browser#983 Log fixes and improvements.
- browser#889, browser#889, browser#902, browser#935, browser#936 Internal refactors.
- browser#904, browser#959 Test fixes.
- browser#906 Parses the scenarios JSON definition from the K6_INSTANCE_SCENARIOS environment variable.
- browser#918 Replaces the usage of os.
LookupEnv for k6 LookupEnv and abstracts environment variables lookup.
- browser#984 Ensures CDP requests message ID are unique at the connection scope.