Skip to content

Releases: Aratramba/sanity-plugin-media-library

1.0.7

26 Apr 07:02
311773c
Compare
Choose a tag to compare
Update package.json

1.0.6

03 Feb 10:01
Compare
Choose a tag to compare
Merge branch 'main' of github.com:dennispassway/sanity-plugin-media-l…

1.0.5

03 Feb 10:00
0ee7ac3
Compare
Choose a tag to compare

This releases has a couple of bug fixes and performance improvements:

Both from @Aratramba:

  • add select component
  • add custom fields to local values

1.0.4

28 Jan 12:07
acd9a48
Compare
Choose a tag to compare

This releases has a couple of bug fixes and performance improvements:

  • @Aratramba fixed a bug that showed a month as 'undefined'.
  • Added listener to events. Fixes assets not being updated and reduces requests to Sanity Dataset.
  • @Aratramba added lazy loading to asset, reducing requests to Sanity Dataset.

Add support for customFields

18 Jan 08:52
31f326c
Compare
Choose a tag to compare

This version adds support for customFields in the config.
Thanks to @aadgrant for the contribution and @coreyward for the help.

Example with custom fields added:

{
  "theme": "dark",
  "themeChanges": {},
  "customFields": [
    {
      "label": "Additional description",
      "name": "description",
      "placeholder": "No description yet...",
      "type": "textarea"
    },
    {
      "label": "Decade when photo captured",
      "max": 2200,
      "min": 1800,
      "name": "decade",
      "placeholder": "Between 1800 and 2200",
      "step": 10,
      "type": "number"
    },
    {
      "label": "Is a premium photo",
      "name": "premiumPhoto",
      "type": "checkbox"
    },
    {
      "label": "Attribution",
      "name": "attribution",
      "placeholder": "No attribution yet"
    },
    {
      "name": "location",
      "label": "Location",
      "type": "location"
    }
  ],
}

1.0.2

23 Dec 08:47
Compare
Choose a tag to compare
Readme title indentation fix

1.0.1

22 Dec 15:46
Compare
Choose a tag to compare
Correct mistake in docs

1.0.0

22 Dec 15:37
7541c6c
Compare
Choose a tag to compare

Woohooo, a media library 🔥