Skip to content

Releases: jpalumickas/uplo

v0.21.0

29 Oct 20:50
Compare
Choose a tag to compare

Breaking Changes

  • download on Service was replaced with createReadStream. This will allow to use services on Edge runtime.

Features

  • Added contentType & size validations for attachments
  • Added route handler in @uplo/server. This will allow to have direct uploads on Edge runtime

v0.20.0

17 Sep 20:40
Compare
Choose a tag to compare
  • Separate @uplo/server from @uplo/node. This will allow to use @uplo/server in Edge environment.
  • Add Uint8Array support for GCS service

v0.19.2

17 Mar 22:32
Compare
Choose a tag to compare
v0.19.2

v0.19.1

17 Mar 21:55
Compare
Choose a tag to compare
v0.19.1

v0.19.0

17 Mar 20:37
Compare
Choose a tag to compare

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'),
  })
)

v0.18.1

31 May 11:51
Compare
Choose a tag to compare

Upgrade packages

v0.18.0

17 May 08:54
Compare
Choose a tag to compare
  • Migrate from jsonwebtoken to jose
  • Update Uplo utils to support Edge runtime
  • Remove lodash dependency

v0.17.11

05 Apr 18:36
Compare
Choose a tag to compare
  • Set ACL headers if bucket is public
  • Allow to specify default service name

v0.17.10

05 Apr 15:08
Compare
Choose a tag to compare
  • Fix public S3 url with custom endpoint

v0.17.9

28 Mar 08:54
Compare
Choose a tag to compare
  • Add callbacks to react native package