Skip to content

Releases: sentienhq/ultralight-s3

v0.0.7

04 Nov 11:14
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.0.6...v0.0.7

Screenshot 2024-08-11 at 20 56 08

v0.0.6

22 Aug 10:43
Compare
Choose a tag to compare

Changelog

New Features

  • Added bucket-exists endpoint to check if a bucket exists.
  • Implemented create-bucket endpoint to create a new S3 bucket.

Improvements

  • get function now returns null for non-existent objects instead of throwing an error. Now you can get etag directly from get headers

Documentation

  • Updated README with new functions and examples.
  • Added "Public Functions" section for easier reference.

Testing

  • Added test cases for update/upsert functionality.
  • Introduced testing pipeline for Cloudflare R2 and Minio.

CI/CD

  • Introduced testing pipeline for Cloudflare R2 and Minio.

Miscellaneous

  • Bumped package version to 0.0.6.
  • Updated minimum Node.js version requirement.

Full Changelog: v0.0.5...v0.0.6

Screenshot 2024-08-22 at 12 03 20

v0.0.5

14 Aug 11:16
Compare
Choose a tag to compare

Changes

New Features

  • Added getObjectWithETag function to retrieve both the object and its ETag
  • Implemented getEtag function to fetch only the ETag of an object
  • Added support for conditional requests using If-Match and If-None-Match headers for get, getObjectWithETag, getResponse, 'fileExists`
  • Introduced sanitizeETag utility function to clean ETag strings - can be useful

Improvements

  • Enhanced fileExists function to return more detailed status codes (false, true, or null for ETag mismatch)
  • Updated delete function to return a boolean instead of a string
  • Improved error handling and logging throughout the codebase
  • Optimized multipart upload process

Bug Fixes

  • Fixed issues with ETag handling in various operations
  • Corrected behavior for non-existent objects in get function (now returns null instead of throwing an error)

Documentation

  • Updated README with new function descriptions and examples
  • Added a new "Public functions" section in the documentation for easier reference
  • Improved API documentation with more detailed function signatures and return types

Testing

  • Added new test cases for ETag-related functionality
  • Expanded test coverage for conditional requests and multipart uploads

CI/CD

  • Updated GitHub Actions workflow to use docker compose command
  • Added dependency review action to the CI pipeline
  • Improved error handling in CI scripts

Miscellaneous

  • Bumped package version to 0.0.5
  • Updated minimum Node.js version requirement

Full Changelog: v0.0.4...v0.0.5

image

v0.0.4

11 Jul 09:25
Compare
Choose a tag to compare
  • Fixed List and ListMultiPartUpload
  • Add test
  • Minor cleanup

Full Changelog: v0.0.3...v0.0.4

v0.0.3

02 Jul 16:46
Compare
Choose a tag to compare

Replaced getStream by getResponse - returning whole fetch response
Bump dev deps

Full Changelog: v0.0.2...v0.0.3

v0.0.2

01 Jul 07:04
Compare
Choose a tag to compare

Changed "getStream" from using partNumbers to range bytes

Full Changelog: v0.0.1...v0.0.2

First release

28 Jun 11:27
Compare
Choose a tag to compare

ultralight-s3 v0.0.1 Release Notes

We're excited to announce the first release of ultralight-s3, a lightweight S3 client for Node.js and edge environments.

Features

  • Minimal S3 client with no dependencies
  • Supports essential S3 operations: list, put, get, delete, and multipart uploads
  • Works in Node.js, edge environments, workers, and AWS Lambda
  • Lightweight: ~15KB minified
  • TypeScript support

Supported Operations

  • List objects
  • Put objects (single and multipart)
  • Get objects (single and streaming)
  • Delete objects
  • Abort multipart uploads
  • Check file existence

Installation

npm install [email protected]

We greatly welcome feedback and contributions. Please report any issues on our GitHub repository.