Releases: nuxt-modules/sanity
Releases · nuxt-modules/sanity
v2.3.0
🚀 Features
🐞 Bug Fixes
- Add explicit export for runtime types - by @rdunk and @danielroe in #1429 and #1430 (59c5b)
- Exclude
useAsyncDatapromise methods fromuseSanityQueryreturn - by @rdunk in #1464 (d0827) - Remove redundant CDN override that ignores explicitly set useCdn - by @rdunk and @isakgustavsen in #1422 (2739d)
- Resolve correct
useSanityQueryfetch options - by @rdunk in #1421 (2c9b7)
View changes on GitHub
v2.2.0
v2.1.0
🚀 Enhancements
🩹 Fixes
- Resolve visual editing dependency issues (#1388)
- Handle undefined return values in useSanityQuery (#1390)
- Ensure preview environment is set independently of live content (#1396)
📖 Documentation
🏡 Chore
- Lint (f8179a0)
- Fix lockfile (6cfba67)
- Lint (trailing comma) (973e43b)
- Update pnpm to 10.21 and enable trust policy (a386585)
- Revert pnpm trust policy and restore provenance action (d853db2)
- Update package versions (c1dc2cd)
- Add .nuxtrc (01ba839)
- Remove unneeded config files (08b0416)
- Release v2.1.0 (1ba17f9)
✅ Tests
- Handle falsy sanity options (d06ca01)
🤖 CI
- Add provenance action to check for downgrades in provenance (5ac5fa2)
- Add trusted publishing releases (148e39b)
❤️ Contributors
- Daniel Roe (@danielroe)
- Rupert Dunk (@rdunk)
- Isak Wang Gustavsen (@isakgustavsen)
- Joël Kuijper (@Joehoel)
- ChrisLaRocque (@ChrisLaRocque)
v2.0.0
🚨 Breaking Changes
- Use
@portabletext/vuein<SanityContent>- by @parion in #1251 (d1ede) - Drop support for nuxt/bridge and nuxt v2 - by @danielroe (d0b63)
🐞 Bug Fixes
- Always optimise
@sanity/visual-editing- by @danielroe (77418) - Add new dependencies to
optimizeDeps.include- by @danielroe (a94b5)
View changes on GitHub
v1.14.1
v1.14.0
🚨 Breaking Changes
- Drop support for nuxt/bridge - by @danielroe (6659e)
- deps: Update dependency @sanity/client to v7 - by @danielroe in #1213 (c675c)
🚀 Features
🐞 Bug Fixes
- Indicate module is compatible with nuxt v4 - by @danielroe (93b05)
- Deprecate maxH, minH, maxW & minW - by @Oli8 in #1227 (6015b)
- Type compatibility between server/client
useSanity- by @danielroe (268ab) - Add back
defaultclient - by @danielroe (270bb) - Add additional checks for visualEditing type narrowing - by @danielroe (cee75)
- Temporarily add back support for nuxt/bridge - by @danielroe in #1266 (39fa8)
View changes on GitHub
v1.13.3
🐞 Bug Fixes
- visual-editing: Check if params are defined before stringifying - by @cadamsdev in #1117 (92173)
View changes on GitHub
v1.13.2
🐞 Bug Fixes
- Allow reactive params in visual editing mode - by @okj579 in #1102 (eeb3e)
- Parse jsx when importing
sanity.config- by @danielroe (efbce)
🏎 Performance
- Remove dependency on
chalk- by @danielroe (a172d)
View changes on GitHub
v1.13.1
🐞 Bug Fixes
- Add
react-compiler-runtime+lodashto visual editing deps - by @danielroe (65576)
View changes on GitHub
v1.13.0
🚀 Features
- Support passing
eventas first param touseSanityon server - by @danielroe (5c05e)
🐞 Bug Fixes
- Apply defaults to sanity config - by @danielroe (07dbb)