next-s3-upload

Upload files from your Next.js app to S3

Downloads
35.1K
Stars
547
Committers
9

Bot releases are hidden (Show)

next-s3-upload - v0.3.4 Latest Release

Published by ryanto 12 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/ryanto/next-s3-upload/compare/v0.3.3...v0.3.4

next-s3-upload - v0.3.3

Published by ryanto about 1 year ago

What's Changed

Full Changelog: https://github.com/ryanto/next-s3-upload/compare/v0.3.2...v0.3.3

next-s3-upload - v0.3.2

Published by ryanto about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/ryanto/next-s3-upload/compare/v0.3.1...v0.3.2

next-s3-upload - v0.3.1

Published by ryanto about 1 year ago

next-s3-upload - v0.3.0

Published by ryanto over 1 year ago

What's Changed

Cleaned up configuration around undocumented API route customization. If you're using multiple API routes then see this note: https://next-s3-upload.codingvalue.com/changes/endpoint

New Contributors

Full Changelog: https://github.com/ryanto/next-s3-upload/compare/v0.2.10...v0.3.0

next-s3-upload - v0.2.10

Published by ryanto over 1 year ago

What's Changed

Full Changelog: https://github.com/ryanto/next-s3-upload/compare/v0.2.9...v0.2.10

next-s3-upload - v0.2.9

Published by ryanto almost 2 years ago

next-s3-upload - v0.2.8

Published by ryanto almost 2 years ago

next-s3-upload - v0.2.7

Published by ryanto almost 2 years ago

What's Changed

Docs:

Internal:

Full Changelog: https://github.com/ryanto/next-s3-upload/compare/v0.2.6...v0.2.7

next-s3-upload - v0.2.6

Published by ryanto almost 2 years ago

next-s3-upload - v0.2.5

Published by ryanto almost 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/ryanto/next-s3-upload/compare/v0.2.4...v0.2.5

next-s3-upload - v0.2.4

Published by ryanto almost 2 years ago

  • Fixes a bug where the wrong URL was returned (bucket name listed twice) #100
next-s3-upload - v0.2.3

Published by ryanto about 2 years ago

  • Add resetFiles by @BigDog1400 in #88
next-s3-upload - v0.2.2

Published by ryanto over 2 years ago

next-s3-upload - v0.2.1

Published by ryanto over 2 years ago

What's Changed

next-s3-upload - v0.2.0

Published by ryanto over 2 years ago

🚨Breaking change

Before you upgrading to this version you’ll need to add the following bucket policy to your bucket.

Go to the S3 console, open your bucket, click bucket permissions, find the Bucket policy section, click edit and paste in this policy:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "Statement1",
      "Effect": "Allow",
      "Principal": "*",
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::BUCKET_NAME/*"
    }
  ]
}

IMPORTANT: Replace BUCKET_NAME with the name of your bucket.

If you are using your bucket for other items in addition to next-s3-upload you can set the resource to arn:aws:s3:::BUCKET_NAME/next-s3-uploads/*

The reason for this policy is that AWS no longer enables ACLs for new buckets. This library will no longer rely on ACLs and will instead use your bucket’s policy.

next-s3-upload - v0.1.9

Published by ryanto over 2 years ago

Maintenance release. More tests and improved types. #57

next-s3-upload - v0.1.8

Published by ryanto over 2 years ago

Fixes the ENV check that could return a false negative. #50 #51 (@nealbailly)

next-s3-upload - v0.1.7

Published by ryanto about 3 years ago

Non breaking change: Allow large files to be upload #24 (@narnau)

next-s3-upload - v0.1.6

Published by ryanto about 3 years ago

Non breaking change: The key function can now be async #20 (@kvizcarra)