Skip to content

v3.0.4

Latest

Choose a tag to compare

@SimonJang SimonJang released this 11 Oct 18:25
160e310

aws-sqs-push 3.0.4

Maintenance release incorporating #23.

  • Validate queue names, account IDs and message request shapes before constructing the SQS client. Reject missing, empty or nonstring queue URL replies before sending.
  • Always send to the URL resolved for the named queue, even if a JavaScript caller supplies an extra QueueUrl property.
  • Preserve FIFO group/deduplication fields, cross-account routing, recursive request cleaning, zero delay and unchanged caller input.
  • Keep Git source preparation compatible with Node.js 8 and npm 5/6, including strict engine checks, while testing current SDK/compiler tools separately.
  • Replace obsolete development tooling with node:test and GitHub Actions, and consolidate the earlier dependency maintenance updates.

Compatibility

The callable CommonJS export, .default interop, TypeScript declarations and AWS SDK v2 peer range are preserved. The artifact is now plain CommonJS rather than a minified bundle; its incidental function name is pushMessage.

Node.js 8 applications must use a compatible AWS SDK v2 release; CI verifies the peer-range minimum, aws-sdk@2.580.0. Current SDK v2 releases require Node.js 10 or newer, and SDK v2 is end-of-support. Full contributor tests use modern Node.js and npm 12; obsolete lint/format/coverage commands are removed. These contributor requirements do not apply to package or Git consumers.

Malformed JavaScript arguments now fail validation earlier. QueueUrl remains excluded from the public request type and is supplied by the package.

AWS SDK v2 compatibility does not imply that every supported peer version is free of security advisories. Old releases, including the minimum used in compatibility tests, have known advisories. AWS also recommends protecting or validating SDK region configuration and migrating to v3 in its SDK v2 advisory. Applications supply and configure this peer themselves; this patch retains the existing v2 contract.