uplo

Handle file uploads to different storage services like Amazon S3, Google Cloud or etc. It also supports different type of ORM adapters, like Prisma.

MIT License

Downloads
3.3K
Stars
11
Committers
2

Bot releases are visible (Hide)

uplo -

Published by jpalumickas about 1 month ago

  • Separate @uplo/server from @uplo/node. This will allow to use @uplo/server in Edge environment.
  • Add Uint8Array support for GCS service
uplo - Latest Release

Published by jpalumickas 7 months ago

uplo -

Published by jpalumickas 7 months ago

uplo -

Published by jpalumickas 7 months ago

Breaking Changes

Drop support for node older than 18

Extracted analyzer to separate package

npm i @uplo/analyzer
const uploAnalyzer = UploAnalyzer({
  analyzers: [ImageAnalyzer()]
})

uploAnalyzer.analyze({ blob })

Attach file now accepts blob inputs (blobFileInput, blobBufferInput, blobStringInput)

import { blobBufferInput } from '@uplo/node'

await uplo.attachments.link(link.id).html.attachFile(
  await blobBufferInput({
    fileName: 'index.html',
    contentType: 'text/html',
    content: Buffer.from(content.html, 'utf-8'),
  })
)
uplo -

Published by jpalumickas over 1 year ago

Upgrade packages

uplo -

Published by jpalumickas over 1 year ago

  • Migrate from jsonwebtoken to jose
  • Update Uplo utils to support Edge runtime
  • Remove lodash dependency
uplo -

Published by jpalumickas over 1 year ago

  • Set ACL headers if bucket is public
  • Allow to specify default service name
uplo -

Published by jpalumickas over 1 year ago

  • Fix public S3 url with custom endpoint
uplo -

Published by jpalumickas over 1 year ago

  • Add callbacks to react native package
uplo -

Published by jpalumickas over 1 year ago

  • Fix attachment url types
uplo -

Published by jpalumickas over 1 year ago

uplo -

Published by jpalumickas over 1 year ago

  • Allow to set disposition in url
uplo -

Published by jpalumickas over 1 year ago

  • Update docs
  • Allow to see upload progress using React
  • Allow to pass options to Fastify as function
uplo -

Published by jpalumickas over 1 year ago

uplo -

Published by jpalumickas over 1 year ago

Use lodash-es instead of lodash

uplo -

Published by jpalumickas over 1 year ago

Update dependencies

uplo -

Published by jpalumickas over 1 year ago

Upgrade dependencies

uplo - v0.17.0

Published by jpalumickas almost 2 years ago

What's Changed

  • Add React client
  • Add more docs

Breaking Changes

  • Rewrite S3Service from class to function
uplo -

Published by jpalumickas almost 2 years ago

Add dataloader for multiple attachments

uplo -

Published by jpalumickas almost 2 years ago