Skip to content

Latest commit

 

History

History
461 lines (274 loc) · 16.9 KB

CHANGELOG.md

File metadata and controls

461 lines (274 loc) · 16.9 KB

Changelog

v2.0.1

compare changes

🔥 Performance

  • Replace uuid with crypto.randomUUID (d0c8d65)

📖 Documentation

🌊 Types

🏡 Chore

  • ⚠️ Rename the module to @bg-dev/nuxt-s3 (cf9afd1)
  • release: V2.0.0 (6289c0a)
  • package.json: Set homepage (59eb410)
  • lint: Migrate to @nuxt/eslint (3a3cd1a)
  • Correctly import nitro utilities (19922fc)
  • Allow nuxt compatibility with v4 (287282f)

✅ Tests

⚠️ Breaking Changes

  • ⚠️ Rename the module to @bg-dev/nuxt-s3 (cf9afd1)

❤️ Contributors

v2.0.0

compare changes

📖 Documentation

🏡 Chore

  • ⚠️ Rename the module to @bg-dev/nuxt-s3 (cf9afd1)

⚠️ Breaking Changes

  • ⚠️ Rename the module to @bg-dev/nuxt-s3 (cf9afd1)

❤️ Contributors

v1.2.0

compare changes

🚀 Enhancements

  • No server option (#13)

🩹 Fixes

  • upload: Delete the current file after uploading the new one (e6e84ef)

💅 Refactors

  • Export useS3Object as named (9e80c4f)

🌊 Types

  • Allow all headers on s3:auth hook (1f07d8c)

🏡 Chore

  • deps-dev: Bump vite from 4.5.1 to 4.5.2 in /docs (fce2ad4)
  • deps-dev: Bump ip from 2.0.0 to 2.0.1 in /docs (0ca45a2)
  • deps-dev: Bump undici from 5.27.2 to 5.28.3 in /docs (313648f)

❤️ Contributors

v1.1.2

compare changes

🔥 Performance

  • Use named imports on js2xml and xml2js (db1b166)

🩹 Fixes

  • Avoid calling setMeta on upload with s3 driver (e13e578)
  • Add missing headers on upload with s3 driver (#8)
  • s3: Include body in aws signature (#8)
  • s3Driver: Internally set Content-Length header on setItem (a3dd9e9)

💅 Refactors

❤️ Contributors

v1.1.1

compare changes

🩹 Fixes

  • fs: Throw 404 error when object not found (2f5fe0a)

💅 Refactors

❤️ Contributors

v1.1.0

compare changes

🚀 Enhancements

  • useS3Object: Add object metadata on upload (4b1adbe)
  • s3 driver: Add getMeta method (f785eeb)
  • Add getMeta server utility (7b0c71b)

🩹 Fixes

  • api: Make sure to remove metadata on object delete (f47035e)

💅 Refactors

  • api: Set metadata on object create (2ecf30c)
  • s3 driver: Send object metadata on setItemRaw (0c29645)
  • api: Always set meta on object create (8b3bcd2)
  • getKey: Throw an error on invalid pathname (dca2948)
  • getKey: Make sure key is without trailing slash (7a4941b)
  • No significant change (c01fbf9)

📖 Documentation

🌊 Types

  • Group types in a declaration file (d6c9326)
  • Remove event.context.s3 type definition (24527cb)

🏡 Chore

  • deps-dev: Bump vite from 4.4.9 to 4.5.1 (22f5c5d)
  • deps-dev: Bump vite from 4.5.0 to 4.5.1 in /docs (56529bc)

❤️ Contributors

v1.0.2

compare changes

🩹 Fixes

  • useS3Object: Check if url is valid on remove (a4d53f1)
  • Allow env variables to overwrite config options (71f4003)

💅 Refactors

  • Minor refactoring (74f2cbb)
  • Return json on success mutation response (b4219eb)
  • No significant change (8702345)

📖 Documentation

🌊 Types

🏡 Chore

  • deps-dev: Bump postcss from 8.4.30 to 8.4.31 (18dd07d)
  • deps-dev: Bump undici from 5.25.2 to 5.27.0 (9825a69)
  • defaults: ⚠️ Set fs as default storage driver (a2af160)
  • defaults: ⚠️ Set 10 as default maxSizeMb (b0a7b97)
  • Add compatible S3 providers (c44eb03)
  • No significant change (d1f0367)
  • Bump version to 1.0.0 (0d2d467)
  • release: V1.0.1 (dd839c0)

⚠️ Breaking Changes

  • defaults: ⚠️ Set fs as default storage driver (a2af160)
  • defaults: ⚠️ Set 10 as default maxSizeMb (b0a7b97)

❤️ Contributors

v0.2.2

compare changes

💅 Refactors

  • Move driver selection to server plugin (668e242)

📖 Documentation

  • readme: Add object via CDN note on Caching section (c27f24b)

❤️ Contributors

v0.2.1

compare changes

💅 Refactors

  • Rename config options �ase to sBase (c3d0012)

❤️ Contributors

v0.2.0

compare changes

🚀 Enhancements

  • Add node filesystem driver (05ef28f)
  • Add maxSizeMb constraint on upload (fb60270)

🩹 Fixes

  • Resolve mime-type from s3 content-type for keys without extension (4c2394e)

💅 Refactors

  • Transform s3 utility to an Unstorage driver (bcb437e)
  • ⚠️ Resolve object type from extension instead of content-type header (09a3787)
  • Load fs and s3 storage instances conditionally (85ddd06)
  • useS3Object: Allow failed remove on object update (d314f5d)
  • fs: Set default base to uploads/ (f2f189f)
  • Use createError instead of new Error (b185d29)

📖 Documentation

  • readme: Add new config options (443991d)
  • readme: Add new config options (dca9f2a)

🌊 Types

  • Set module config type as dynamic based on driver (ca68ac6)
  • Remove event.context.s3 type definition (9eb09aa)

🏡 Chore

  • Fix lint issues (ed470c1)
  • Add driver config option (91d3294)
  • Change lint config (5e3c6dc)
  • Remove demo (f3c2b32)
  • Add server-side size validation (bde7969)
  • Convert return type of getItemRaw on s3 to readable stream (b736b67)
  • Set tag to latest (bf53c61)
  • Remove uploads folder (52af6f7)

⚠️ Breaking Changes

  • ⚠️ Resolve object type from extension instead of content-type header (09a3787)

❤️ Contributors

v0.1.7

compare changes

🚀 Enhancements

  • useS3Object: Add prefix option on upload method (566c66b)

🩹 Fixes

  • Allow naming keys with / (b638e14)

💅 Refactors

  • useS3Object: Resolve key at upload function (9d63e9c)

📖 Documentation

  • readme: Update features section (fc4b71e)
  • readme: Add key naming section (a673a25)
  • readme: Update key naming section (cb0afff)
  • readme: Update caching section (701517d)
  • readme: Update description (1182d2c)

🏡 Chore

❤️ Contributors

v0.1.6

compare changes

🩹 Fixes

  • Omit credentials on fetch calls (0e54424)
  • Set content-type on Get object response (61d3c29)

📖 Documentation

  • Update pkg size (6b230ae)

❤️ Contributors

v0.1.5

compare changes

🔥 Performance

  • Call S3 with $fetch instead of etch (4be6ea7)
  • On object update replace server-side remove & create calls to client-side (dc3a906)
  • Stream Get object response (461ae0c)

❤️ Contributors

v0.1.4

compare changes

🩹 Fixes

  • Fix error message (2375e8a)

❤️ Contributors

v0.1.3

compare changes

💅 Refactors

  • Register server routes with explicit methods (95c0499)

📖 Documentation

  • Update Readme (a01903d)

❤️ Contributors

v0.1.2

compare changes

🚀 Enhancements

  • Add file type validation (f4b0236)

📖 Documentation

  • Update Readme (d485038)
  • Update Readme (686dbaa)
  • Update Readme (92d3683)

❤️ Contributors

v0.1.1

🚀 Enhancements

  • Add object create update delete get API handlers (54b3de5)
  • Create useS3Object (9ad07c0)
  • Create upload as wrapper of create & update (9acc32a)
  • Add s3:auth hook to pass authorization header (f1c1f89)

🩹 Fixes

  • Create virtual import for server utils (0cb503a)
  • Status to 404 on get object fail (5e09c67)
  • Fix runtime dir resolution (6f1b4a4)
  • Add formdata to request body (0a64682)

💅 Refactors

  • Create isValidURL utility (ae473a6)

📖 Documentation

  • Update Readme (3ace113)
  • Update Readme (5ebd11e)

🏡 Chore

  • Set package metadata (008c827)
  • Update Readme (a1560dc)
  • Add module options (1fdcc71)
  • Register server APIs (1f90471)
  • Add s3 client (5cbafa3)
  • Rename APIs routes (dac3073)
  • demo: Upgrade dependencies (eeb7909)
  • demo: Add to git (2321b27)
  • Set default uuid key (3599c4b)
  • Add JSDOC to public APIs (9eceba9)
  • Test server side middleware (d93ce76)
  • demo: Upgrade dependencies (77d8556)
  • Remove demo (09e1b42)

❤️ Contributors