github nhost/nhost @nhost/hasura-storage-js@1.13.0

latest releases: @nhost/dashboard@2.62.0, functions@2.2.0-hotreload001, functions@2.2.0-betamem02...
3 years ago

Minor Changes

  • 83e0a4d: Image transformation parameters

    It is now possible to pass on image transformation parameters in nhost.storage.getPublicUrl().
    Available parameters:

    • height
    • width
    • blur
    • quality

    For instance:

    const url = nhost.storage.getPublicUrl({
      fileId: 'cd8eaca3-30a9-460e-b4d7-b4b7afc759c1',
      width: 800,
      blur: 20
    })

Patch Changes

  • 13876ed: Convert non ISO-8859-1 file names

    It is now possible to upload files with names that are not ISO-8859-1 compliant.
    In that case, file names will be converted using encodeURIComponent.

Don't miss a new nhost release

NewReleases is sending notifications on new releases.