Releases: sentienhq/ultralight-s3
Releases · sentienhq/ultralight-s3
v0.0.7
What's Changed
- Bump hono from 4.4.10 to 4.5.8 by @dependabot in #10
- Bump hono from 4.5.8 to 4.6.5 by @dependabot in #12
- "default" must be the last key in export maps by @spalger in #13
- Bump cookie and youch by @dependabot in #14
New Contributors
Full Changelog: v0.0.6...v0.0.7
v0.0.6
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 returnsnull
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
v0.0.5
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
andIf-None-Match
headers forget
,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
v0.0.4
- Fixed List and ListMultiPartUpload
- Add test
- Minor cleanup
Full Changelog: v0.0.3...v0.0.4
v0.0.3
Replaced getStream by getResponse - returning whole fetch response
Bump dev deps
Full Changelog: v0.0.2...v0.0.3
v0.0.2
Changed "getStream" from using partNumbers to range bytes
Full Changelog: v0.0.1...v0.0.2
First release
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.