Skip to content

Releases: grafana/k6pack

v0.2.2

10 Jul 13:58
6f1c888
Compare
Choose a tag to compare

k6pack v0.2.2 is here 🎉!

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

v0.2.1

06 Jun 14:09
Compare
Choose a tag to compare

k6pack v0.2.1 is here 🎉!

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

v0.2.0

24 May 14:47
c5f2817
Compare
Choose a tag to compare

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

23 Apr 16:53
Compare
Choose a tag to compare

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

v0.1.4

23 Apr 16:26
234effa
Compare
Choose a tag to compare

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

18 Apr 14:04
6ae4481
Compare
Choose a tag to compare

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

17 Apr 15:51
bd8bdcd
Compare
Choose a tag to compare
  • fix #5
  • fix ResolveDir option for local relative imports

v0.1.1

11 Apr 15:09
0937013
Compare
Choose a tag to compare
  • fix async function handling
  • support scoped extension names

v0.1.0

30 Mar 18:09
Compare
Choose a tag to compare

Initial release.