Skip to content

Releases: grafana/k6-jslib-aws

0.7.2

21 Apr 12:36
5f3d27d
Compare
Choose a tag to compare

This release offers:

  • A SQSClient allowing users to interact with the Amazon Simple Queue service from their k6 scripts. Thanks @nickcaballero and @jdinsel-xealth for your contributions 🙇🏻
  • AWSConfig now has a static fromEnvironment method, allowing to include the AWS configuration from environment variables in a one-liner
const config = AWSConfig.fromEnvironment()
  • A fix for misnamed accessKeyId configuration. Errors have also been adjusted to be clearer in the event of a misconfiguration.
  • A fix for the handling of signed requests by clients. Under certain circumstances, the SignatureV4 class, which is also used by most of our client classes would have produced incorrect signatures, depending on the request's payload.

0.7.1

09 Jan 08:56
Compare
Choose a tag to compare

This version contains minor bug fixes:

v0.7.0

07 Dec 13:35
24a1c25
Compare
Choose a tag to compare

This version contains a complete rewrite of the AWS signature v4 procedure, and exposes a SignatureV4 class allowing to both sign and presign requests to AWS directly from your k6 scripts 🚀

It is also now possible to override the jslib's client classes (S3Client, SecretsManagerClient, etc) host, in order to, for example, interact with a AWS-compatible backend. We actually use that new feature ourselves in our test suite, in order to interact with localstack.

v0.6.0

05 Oct 14:16
Compare
Choose a tag to compare

This version adds support for a limited subset of the Amazon AWS Systems Manager service 🚀

From the ssm.js file, users are now able to use the SystemsManagerClient to retrieve a parameter from Amazon Systems Manager, using the getParameter method.

A big thank you to @mcnamaram for contributing this feature and making this release possible 🎉 👏🏻 🙇🏻

v0.4.0

26 Apr 15:01
Compare
Choose a tag to compare

This version contains minor improvements, refactors and bug fixes:

  • It implements support for the S3Client.listObjects prefix parameter,
    which now allows you to query only objects with a name matching the
    provided prefix.
  • It ensures the S3Object.storageClass is set when returned by the
    S3Client.getObject method.
  • Renames the existing SecretsManagerError to
    SecretsManagerServiceError for consistency.
  • Renames the SecretsManagerClient methods secretID parameter to
    id, and secretString to secret.
  • Aligns the internal error handling APIs

v0.3.0

26 Apr 15:03
Compare
Choose a tag to compare

The bundling of the library has been reshaped so that it delivers three different JS files, as well as their respective source-maps:

  • aws.min.js: includes the whole set of available AWS services.
  • s3.min.js: includes the S3Client client, as well as its dependencies.
  • secrets-manager.min.js: includes the SecretsManagerClient, as well as its dependencies.

The whole codebase has also been ported to typescript, to offer and support type annotations, which both helps to develop the library and using it.

v0.1.0

26 Apr 15:04
Compare
Choose a tag to compare

Includes:

  • support for AWS v4 signature computation.
  • support for basic subset of AWS S3 operations.