Skip to content
This repository was archived by the owner on Jun 5, 2026. It is now read-only.

Releases: grafana-cold-storage/k6pack

v0.2.4

Choose a tag to compare

@szkiba szkiba released this 14 Jan 15:02

k6pack v0.2.4 is here 🎉!

This is a maintenance release, mainly containing dependency updates.

In addition, the go versions have been set to 1.22.
(if the k6 binary provisioning client module is integrated into k6, k6pack may also be included as a transitive dependency)

v0.2.3

Choose a tag to compare

@szkiba szkiba released this 25 Nov 10:31
37817de

k6pack v0.2.3 is here 🎉!

This release contains: change esbuild target to ESNext and format to ESModule.

Some JavaScript constructs already supported by k6 will only work correctly with esbuild when using the ESNext esbuild target and ESModule format.

v0.2.2

Choose a tag to compare

@szkiba szkiba released this 10 Jul 13:58
6f1c888

k6pack v0.2.2 is here 🎉!

This release is only a maintenance release, primarily contains documentation improvements and reusability.

v0.2.1

Choose a tag to compare

@szkiba szkiba released this 06 Jun 14:09

k6pack v0.2.1 is here 🎉!

This release is only a maintenance release, primarily contains documentation improvements and reusability.

v0.2.0

Choose a tag to compare

@szkiba szkiba released this 24 May 14:47
c5f2817

k6pack v0.2.0 is here 🎉! This release includes:

  • Breaking Changes
  • Features

Breaking Changes

Merging the Imports() and Pack() functions

In practice, it turned out that the return value of the Imports() and Pack() functions is mostly needed by the caller at the same time. Therefore, the Imports() function has been merged into the Pack() function. The Pack() function returns a Metadata struct whose Imports field contains the k6 imports found in the input script (core modules and extensions).

Features

Making the k6pack CLI command reusable

Making the cobra Command, which implements the pack command, available using the factory function (cmd.New()). This allows the pack command to be included as a subcommand in other tools.

v0.1.5

Choose a tag to compare

@szkiba szkiba released this 23 Apr 16:53

Update go module path to github.com/grafana/k6pack

v0.1.4

Choose a tag to compare

@szkiba szkiba released this 23 Apr 16:26
234effa

k6 depends on go version 1.20 and cobra version 1.4.0. This is why k6pack dependencies downgraded accordingly so that vendoring does not cause unnecessary version updates.

v0.1.3

Choose a tag to compare

@szkiba szkiba released this 18 Apr 14:04
6ae4481

Source Root support

If sourcemap is enabled, by default, the current directory will be set in the sourcemap as the source root directory. This can be changed by using the --source-root flag. You can even disable the source root setting by specifying the empty string.

v0.1.2

Choose a tag to compare

@szkiba szkiba released this 17 Apr 15:51
bd8bdcd
  • fix #5
  • fix ResolveDir option for local relative imports

v0.1.1

Choose a tag to compare

@szkiba szkiba released this 11 Apr 15:09
0937013
  • fix async function handling
  • support scoped extension names