Skip to content

v0.14.0

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Jun 08:41
dcb5c40

🚀 What's New for You

Complete SQS Message Handling

You can now build comprehensive SQS workflows in your k6 tests. This release adds the missing pieces for complete queue message lifecycle testing:

  • Receive messages from your SQS queues with receiveMessages()
  • Delete processed messages using deleteMessage() to clean up after testing

Perfect for testing event-driven architectures, background job processing, or any application that relies on SQS messaging.

Better S3 Upload Insights

When uploading objects to S3, you now get richer response data through the new S3UploadObject type.

This means you can:

  • Inspect upload results more thoroughly
  • Build more robust error handling in your tests
  • Get detailed feedback on your S3 operations

Faster, More Reliable Development

We've modernized the entire development stack by migrating from Node.js to Deno.

While this is largely behind-the-scenes, it delivers:

  • Faster builds and more reliable CI/CD
  • Simplified project setup for contributors
  • Modern TypeScript support out of the box

🔧 Fixes That Matter

  • S3 presigned URLs now work correctly - fixed an extra slash issue that was breaking URL generation
  • Better STS session token validation - access key length validation now properly accounts for temporary credentials
  • Enhanced security - addressed several workflow security improvements

📦 Breaking Changes

None! This release is fully backward compatible with your existing k6 scripts.

Showcase

  import { SQSClient } from 'https://jslib.k6.io/aws/0.14.0/sqs.js'
  import { S3Client } from 'https://jslib.k6.io/aws/0.14.0/s3.js'

  // Now with complete SQS message handling
  const sqs = new SQSClient(awsConfig)
  const messages = await sqs.receiveMessages(queueUrl)
  // Process your messages...
  await sqs.deleteMessage(queueUrl, messages[0].receiptHandle)

  // Enhanced S3 upload feedback
  const s3 = new S3Client(awsConfig)
  const uploadResult = await s3.putObject(bucket, key, data)
  // Inspect detailed upload results

🙏 Thanks to Our Contributors

A huge thank you to our new contributors who made this release possible: @Sergei-Kraven, @frank-olszewski, @e-fisher, @2Steaks, and @Altiire. Your contributions make the k6 ecosystem stronger!