Releases: grafana-cold-storage/k6pack
Release list
v0.2.4
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
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
v0.2.1
v0.2.0
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
v0.1.4
v0.1.3
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.