Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package k6 for openSUSE:Factory checked in 
at 2026-08-11 17:16:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/k6 (Old)
 and      /work/SRC/openSUSE:Factory/.k6.new.17972 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "k6"

Tue Aug 11 17:16:54 2026 rev:16 rq:1370629 version:2.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/k6/k6.changes    2026-07-01 16:55:13.551773592 
+0200
+++ /work/SRC/openSUSE:Factory/.k6.new.17972/k6.changes 2026-08-11 
17:17:56.184081792 +0200
@@ -1,0 +2,284 @@
+Tue Aug 11 07:00:48 UTC 2026 - Johannes Kastl 
<[email protected]>
+
+- Update to version 2.2.0:
+  https://github.com/grafana/k6/releases/tag/v2.2.0
+  * k6 v2.2.0 is here! This release includes:
+    - k6 cloud run --local-execution now streams k6's logs to
+      Grafana Cloud, so the test run's log view works for local
+      execution too.
+    - chromium.connectOverCDP(), which connects browser tests to an
+      already-running Chromium instance.
+    - TextEncoder and TextDecoder available as globals, and
+      WritableStream support in k6/experimental/streams.
+    - A k6 cloud load-zone list command.
+    - Two new experimental feature flags: merge-run-tags and
+      freeze-env.
+  * Breaking changes
+    - There are no breaking changes in this release.
+  * New features
+    - k6 cloud run --local-execution streams logs to Grafana Cloud
+      #6171
+      When a cloud test runs locally with k6 cloud run
+      --local-execution, k6's logs now stream to the Grafana Cloud
+      test run, so the run's log view is populated the same way it
+      is for cloud execution. Previously, local-execution logs
+      stayed on the machine running k6 and never reached the cloud.
+      Work with Grafana's secrets management to safely work with
+      secrets and redact them if they're accidentally leaked into
+      logs are pushed. Use the new --no-cloud-logs flag opts out to
+      opt out of streaming of logs when working with
+      --local-execution:
+
+        k6 cloud run --local-execution script.js
+        k6 cloud run --local-execution --no-cloud-logs script.js
+
+    - Connect to a running browser with chromium.connectOverCDP()
+      #6165
+      The browser module can now attach to an existing
+      Chromium-based browser over the Chrome DevTools Protocol,
+      mirroring Playwright's browserType.connectOverCDP(). Pass the
+      browser's WebSocket endpoint and k6 manages the returned
+      browser's connection — it's auto-closed at the end of the
+      iteration, though you can call close() earlier to release the
+      connection on demand.
+
+        import { chromium } from 'k6/browser';
+
+        export default async function () {
+          const browser = await 
chromium.connectOverCDP('ws://localhost:9222/devtools/browser/<id>');
+          const page = await browser.newPage();
+
+          try {
+            await page.goto('https://quickpizza.grafana.com/');
+          } finally {
+            await page.close();
+            await browser.close();
+          }
+        }
+
+      Unlike the K6_BROWSER_WS_URL environment variable, the
+      endpoint is a runtime value — you can, for example, request a
+      fresh session URL from a browser provider's API in setup()
+      and connect to it from the iterations.
+    - TextEncoder and TextDecoder globals #6182
+      TextEncoder and TextDecoder are now available as standard
+      globals in both the init and VU contexts, no import required
+      — matching how they are exposed in browsers and other
+      JavaScript runtimes.
+
+        const encoded = new TextEncoder().encode('Hello, world!');
+        const decoded = new TextDecoder().decode(encoded);
+
+    - WritableStream in k6/experimental/streams #6132
+      The experimental streams module now implements WritableStream
+      and WritableStreamDefaultWriter following the WHATWG Streams
+      specification, complementing the existing ReadableStream and
+      paving the way for a future TransformStream implementation.
+
+        import { WritableStream } from 'k6/experimental/streams';
+
+        export default async function () {
+          const stream = new WritableStream({
+            write(chunk) {
+              console.log(`wrote ${chunk}`);
+            },
+          });
+
+          const writer = stream.getWriter();
+          await writer.write('hello');
+          await writer.close();
+        }
+
+    - k6 cloud load-zone list command #6142
+      A new k6 cloud load-zone list subcommand lists the load zones
+      — public and private — available in the configured Grafana
+      Cloud k6 stack, mirroring the existing k6 cloud project list
+      command. Output defaults to a human-readable table; pass
+      --json to emit a JSON array instead.
+
+        $ k6 cloud load-zone list
+        Load zones for https://example.grafana.net:
+
+        ID                     NAME                     TYPE      AVAILABLE
+        amazon:us:ashburn      Ashburn, US (Amazon)     public    yes
+        amazon:sa:cape town    Cape Town, SA (Amazon)   public    yes
+
+    - Configurable handleSummary() timeout #5854
+      The time budget for the handleSummary() callback — previously
+      hardcoded to 120 seconds — is now configurable through the
+      handleSummaryTimeout option or the K6_HANDLE_SUMMARY_TIMEOUT
+      environment variable, so long-running tests with heavy
+      summaries no longer fail with handleSummary() execution timed
+      out. Thanks, @LBaronceli!
+
+        export const options = {
+          handleSummaryTimeout: '5m',
+        };
+
+    - New experimental feature flags: merge-run-tags and freeze-env
+      Two new experimental flags join the feature-flag system
+      introduced in v2.1.0:
+      - #5714 merge-run-tags merges run tags per key across config
+        layers, so options.tags in a script is no longer silently
+        discarded when --tag or K6_TAGS is also used —
+        higher-priority layers win on conflicting keys instead of
+        replacing the whole map.
+      - #6032 freeze-env freezes the __ENV object, so modifications
+        from script code throw a TypeError (in strict mode) instead
+        of silently persisting across iterations and scenarios.
+
+        k6 run --features merge-run-tags,freeze-env script.js
+
+  * UX improvements and enhancements
+    - #5631 Makes the browser module's header accessors —
+      response.allHeaders(), headerValue(), headerValues(), and
+      headersArray() — return the raw wire headers (including
+      Set-Cookie and security-related headers), correctly paired
+      with each hop of a redirect chain instead of Chrome's
+      provisional headers. As part of this, headerValues() now
+      matches header names case-insensitively and splits repeated
+      values on newlines rather than commas, and the
+      browser_data_sent/browser_data_received metrics now include
+      the raw header bytes and no longer vary run-to-run with CDP
+      event ordering.
+    - #6208 Makes k6 cloud reject the run flags (for example,
+      --vus) with an unknown flag error and a non-zero exit code.
+      Previously k6 cloud --vus 10 script.js accepted the flags,
+      printed the help text, and exited 0 — running tests with k6
+      cloud directly was deprecated in v2.0.0 in favor of k6 cloud
+      run.
+    - #6096 Points the cloud secrets error at
+      K6_CLOUD_SECRETS_TOKEN and K6_CLOUD_SECRETS_ENDPOINT when a
+      test run is reused via K6_CLOUD_PUSH_REF_ID under
+      --local-execution, instead of suggesting the
+      --local-execution flag the user is already using.
+    - #6196 Adds catch blocks to the browser examples so a failing
+      iteration reports the original error instead of a subsequent
+      page.close() failure. Thanks, @locker95!
+  * Bug fixes
+    - #6234 Classifies HTTP/2 errors by message so the error_code
+      metric tag stays correct when k6 is built with Go 1.27 (whose
+      x/net/http2 delegates to the standard library), and
+      explicitly enables HTTP/2 negotiation on VU transports.
+    - #6232 Drains queued log entries in the Loki hook at shutdown
+      so --out loki and cloud log streaming no longer lose the
+      final batch, and emits a k6 dropped N log messages warning
+      when the cloud log buffer overflows instead of dropping logs
+      silently.
+    - #6125 Serializes the first concurrent open of a file in the
+      caching filesystem so parallel fs.open() calls on the same
+      file no longer read zero or truncated bytes.
+    - #6147 Fixes a data race and inconsistent request-interception
+      state when browser routes are added or removed concurrently.
+      Thanks, @somak2kai!
+    - #6070 Flushes buffered file log output once per second so
+      recent logs aren't lost when k6 is killed before shutdown.
+      Thanks, @rohan-patnaik!
+    - #6205 Stops sending an invalid Sec-WebSocket-Protocol header
+      when tailing Grafana Cloud logs; spec-strict servers rejected
+      the handshake with websocket: bad handshake.
+    - #6200 Leaves a counter's rate unset when the observed
+      duration is zero, instead of computing +Inf and spuriously
+      failing rate thresholds. Thanks, @samarth70!
+    - #6195 Initializes a gauge's maximum from the first sample so
+      all-negative gauge series no longer report max=0. Thanks,
+      @Solaris-star!
+    - #6145 Prevents the OpenTelemetry output from panicking at
+      startup when basic auth is configured without
+      K6_OTEL_HEADERS. Thanks, @lukdz!
+    - #6140 Stops SharedArray deep-freezing JS primitives, which
+      needlessly wrapped large strings in String objects — cutting
+      memory usage in the reported reproduction from roughly 1 GB
+      to 100 MB.
+  * Maintenance and internal improvements
+    - #6126, #6224, #6229 Adds anonymous extension usage to the k6
+      usage report: a run reports the Go module path, version, and
+      type of registry-cataloged extensions it actually uses
+      (imported k6/x/ modules, output extensions selected with
+      --out, and k6 x subcommands). Private and unlisted extensions
+      are never reported, and the existing --no-usage-report
+      opt-out covers it.
+    - #6183, #6218 Updates Sobek and regexp2, making
+      WeakMap/WeakSet entries garbage-collectable, improving string
+      and typed-array correctness and performance, and bounding
+      regular-expression backtracking memory.
+    - #6169, #6230 Migrates k6 cloud run --local-execution from the
+      legacy v1 cloud API to the v6 and provisioning APIs, and
+      quietens its status polling logs. User-facing behavior is
+      unchanged, and k6 run --out cloud stays on the legacy API.
+    - #6170 Lets an orchestration service that provisioned a test
+      run itself supply the scoped push credentials to k6 cloud run
+      --local-execution via the K6_CLOUD_METRICS_PUSH_URL and
+      K6_CLOUD_TEST_RUN_TOKEN environment variables.
+    - #6151, #6152, #6173 Updates
+      github.com/grafana/k6-cloud-openapi-client-go, consuming the
+      upstream retry body-reset fix (dropping the k6-side
+      workaround) and the int64 resource-ID widening.
+    - #6149, #6159 Cleans up the internal cloud API clients,
+      removing the dead v6 config file and sharing the 401/403
+      error classification between the v1 and v6 clients.
+    - #6144 Retains and calls the regular-duration context cancel
+      function in executors instead of discarding it. Thanks,
+      @the-onewho-knocks!
+    - #6141 Adds unit tests for the browser mouse options. Thanks,
+      @hyuraku!
+    - #6129 Fixes documentation typos. Thanks, @Martonveghcode!
+    - #6203 Fixes the xk6 CI job for fork PRs after the
+      go.k6.io/k6/v2 module move.
+    - #6112 Centralizes the CI Go versions into
+      .github/go-versions.env.
+    - #6104 Skips the code CI jobs for docs-only and
+      release-notes-only PRs.
+    - #6103 Adds the feature brief process to the contributing
+      docs.
+    - #6075 Prepares the workflows for get-vault-secrets v2.
+  * Dependencies
+    - fix(deps): update module github.com/mccutchen/go-httpbin/v2
+      to v2.25.0 (#6239)
+    - fix(deps): update module google.golang.org/grpc to v1.83.0
+      (#6240)
+    - fix(deps): update golang.org/x/crypto/x509roots/fallback
+      digest to d701c51 (#6212)
+    - fix(deps): update module github.com/klauspost/compress to
+      v1.19.1 (#6213)
+    - fix(deps): update module github.com/mattn/go-isatty to
+      v0.0.24 (#6214)
+    - fix(deps): update module go.opentelemetry.io/proto/otlp to
+      v1.11.0 (#6216)
+    - fix(deps): update module github.com/prometheus/client_golang
+      to v1.24.1 (#6215)
+    - fix(deps): update module github.com/mattn/go-isatty to
+      v0.0.23 (#6176)
+    - fix(security/unknown/examples/grpc_server): update module
+      golang.org/x/text to v0.39.0 [security] (#6186)
+    - fix(deps): update module github.com/andybalholm/brotli to
+      v1.2.2 (#6174)
+    - fix(deps): update module github.com/mccutchen/go-httpbin/v2
+      to v2.24.0 (#6177)
+    - fix(security/high/): update module google.golang.org/grpc to
+      v1.82.1 [security] (#6191)
+    - fix(security/high/examples/grpc_server): update module
+      google.golang.org/grpc to v1.82.1 [security] (#6192)
+    - fix(deps): update
+      github.com/grafana/k6-cloud-openapi-client-go digest to
+      97c9614 (#6173)
+    - fix(security/unknown/examples/grpc_server): update module
+      golang.org/x/net to v0.56.0 [security] (#6185)
+    - fix(deps): update module
+      buf.build/gen/go/prometheus/prometheus/protocolbuffers/go to
+      v1.36.11-20260707164124-2360da55afce.1 (#6175)
+    - chore(deps): Update sobek (#6183)
+    - fix(deps): update module github.com/klauspost/compress to
+      v1.19.0 (#6156)
+    - chore(deps): update debian docker tag to trixie-20260623
+      (#6114)
+    - chore(deps): update actions/stale digest to 1e223db (#6121)
+    - fix(deps): update golangx (#6097)
+    - fix(deps): update module github.com/mccutchen/go-httpbin/v2
+      to v2.23.1 (#6083)
+    - fix(deps): update module github.com/evanw/esbuild to v0.28.1
+      (#6082)
+    - fix(security/unknown/): update go toolchain directive to
+      v1.25.12 [security] (#6134)
+
+-------------------------------------------------------------------

Old:
----
  k6-2.1.0.obscpio

New:
----
  k6-2.2.0.obscpio

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ k6.spec ++++++
--- /var/tmp/diff_new_pack.czQ5RA/_old  2026-08-11 17:17:58.600184175 +0200
+++ /var/tmp/diff_new_pack.czQ5RA/_new  2026-08-11 17:17:58.600184175 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           k6
-Version:        2.1.0
+Version:        2.2.0
 Release:        0
 Summary:        Modern load testing tool, using Go and JavaScript
 License:        AGPL-3.0
@@ -26,7 +26,7 @@
 Source1:        vendor.tar.gz
 BuildRequires:  bash-completion
 BuildRequires:  fish
-BuildRequires:  golang(API) >= 1.24
+BuildRequires:  go1.25 >= 1.25.12
 BuildRequires:  zsh
 
 # # github.com/grafana/xk6-output-prometheus-remote/pkg/remote

++++++ _service ++++++
--- /var/tmp/diff_new_pack.czQ5RA/_old  2026-08-11 17:17:58.644186040 +0200
+++ /var/tmp/diff_new_pack.czQ5RA/_new  2026-08-11 17:17:58.648186209 +0200
@@ -3,7 +3,7 @@
     <param name="url">https://github.com/grafana/k6.git</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">refs/tags/v2.1.0</param>
+    <param name="revision">refs/tags/v2.2.0</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">v(.*)</param>
     <param name="changesgenerate">enable</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.czQ5RA/_old  2026-08-11 17:17:58.672187226 +0200
+++ /var/tmp/diff_new_pack.czQ5RA/_new  2026-08-11 17:17:58.680187565 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/grafana/k6.git</param>
-              <param 
name="changesrevision">83a87a41e2c56eedbadbab4001dc11fe78d95942</param></service></servicedata>
+              <param 
name="changesrevision">00a9a1b7f552d6bb4337278b10ae25aac0f4e666</param></service></servicedata>
 (No newline at EOF)
 

++++++ k6-2.1.0.obscpio -> k6-2.2.0.obscpio ++++++
++++ 93198 lines of diff (skipped)

++++++ k6.obsinfo ++++++
--- /var/tmp/diff_new_pack.czQ5RA/_old  2026-08-11 17:18:03.160377416 +0200
+++ /var/tmp/diff_new_pack.czQ5RA/_new  2026-08-11 17:18:03.172377924 +0200
@@ -1,5 +1,5 @@
 name: k6
-version: 2.1.0
-mtime: 1782808704
-commit: 83a87a41e2c56eedbadbab4001dc11fe78d95942
+version: 2.2.0
+mtime: 1786369730
+commit: 00a9a1b7f552d6bb4337278b10ae25aac0f4e666
 

++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/k6/vendor.tar.gz 
/work/SRC/openSUSE:Factory/.k6.new.17972/vendor.tar.gz differ: char 31, line 1

Reply via email to