Skip to content

Releases: sanity-io/sanity-plugin-media

v1.4.9

29 May 21:33
Compare
Choose a tag to compare

Notable bugfixes

  • Fix regression where non-image assets would be stuck in a queued state upon upload [#80]

v1.4.8

05 May 08:22
Compare
Choose a tag to compare

Notable bugfixes

  • Fix regression where assets weren't selectable (due to with onSelect not passing an array)

v1.4.7

04 May 20:56
Compare
Choose a tag to compare

Notable bugfixes

  • Search facets <MenuButton> will now correctly render in a portal and not clip at smaller breakpoints

v1.4.5

04 May 20:55
Compare
Choose a tag to compare

Notable bugfixes

  • Fixed layout issues on smaller breakpoints, as well as 'zero-sized element' errors in react-virtuoso
  • It's no longer possible to re-upload files that are in the process of being uploaded
  • Blurhash is now correctly extracted on new uploads

v1.4.4

14 Nov 22:55
Compare
Choose a tag to compare

Minor changes

  • Bump RTK to use latest version of immer (#54)

v1.4.3

26 Oct 15:15
Compare
Choose a tag to compare

Notable bugfixes

  • Default search input will now search on _id, assetId and url asset fields (in addition to altText, description, originalFilename and title)

v1.4.2

21 Oct 00:48
Compare
Choose a tag to compare

Notable bugfixes

  • Fixes an issue where uploading images with extreme aspect ratios (e.g. 5000 x 1px) would fail whilst generating low res previews

v1.4.1

14 Oct 14:37
Compare
Choose a tag to compare

Notable bugfixes

  • Fixes a regression in Sanity 2.21.0 where the plugin would open in a full screen when accessed as a tool (via the nav bar)

v1.4.0

22 Sep 00:34
Compare
Choose a tag to compare

Highlights

File asset source support

You can now use the plugin when selecting assets via file fields!

Simply add the following to your parts array in your studio sanity.json. (Sanity 2.16.x+)

{
  "implements": "part:@sanity/form-builder/input/file/asset-sources",
  "path": "./parts/assetSources.js"
},

More information on custom asset sources

Notable bugfixes

  • Fixes an issue with large numbers of tags (1000+) causing severe performance issues
  • Fixes various dialog scroll overflow issues on smaller breakpoints