Skip to content

Latest commit

 

History

History
327 lines (147 loc) · 15.3 KB

CHANGELOG.md

File metadata and controls

327 lines (147 loc) · 15.3 KB

1.2.2 (2022-05-30)

Performance Improvements

  • use $fetch for minimal client (7b7517e)

1.2.1 (2022-05-17)

Bug Fixes

  • include both public + private runtime config (3a478ef)

1.2.0 (2022-04-20)

1.1.2 (2022-04-15)

1.1.1 (2022-02-20)

Bug Fixes

  • don't overwrite provided options (e0263e6)

1.1.0 (2022-02-20)

⚠ BREAKING CHANGES

  • If you were relying on the auto-disabling part of this module

Bug Fixes

  • add sanity options from runtimeconfig to module defaults (#319) (a167ef2)
  • don't disable module if no projectId is specified (8a5b918)
  • render children of custom components (44bfcab)
  • rework nested list handling (0b18069), closes #266

1.0.0 (2022-02-17)

Features

  • migrate module to support nuxt3 and bridge (#316) (2ec11d6)

0.10.0 (2021-08-03)

Features

0.9.4 (2021-05-15)

Bug Fixes

0.9.3 (2021-05-15)

Bug Fixes

0.9.2 (2021-04-23)

0.9.1 (2021-04-14)

Bug Fixes

  • don't break if no apiVersion is set (0023bfe), closes #120

0.9.0 (2021-04-11)

Features

  • add <SanityFile> component to assist with auto-generating file URLs (0b2d353), closes #70

Bug Fixes

  • list rendering fixes for SanityContent (db4408a), closes #102

0.8.0 (2021-03-31)

⚠ BREAKING CHANGES

  • @nuxtjs/sanity/module is now how the module should be imported in nuxt.config

Features

  • support sanity apiVersion option (6a2c956)

Bug Fixes

  • add entrypoint for pre-exports support (a053822)

Code Refactoring

0.7.1 (2021-02-16)

Bug Fixes

  • exclude .d.ts files from @nuxt/components treatment (df53978), closes #68

0.7.0 (2021-01-31)

⚠ BREAKING CHANGES

  • change minimum supported node version to 12

Bug Fixes

  • exclude upath from client bundle (88b7d58), closes #66

Miscellaneous Chores

  • change minimum supported node version to 12 (adcde28)

0.6.2 (2021-01-20)

Bug Fixes

  • export types for components (dab55f2)

0.6.1 (2021-01-18)

Bug Fixes

  • add default exports for compatibility with @nuxt/components (d48f61a), closes #51
  • hotfix to use backwards-compatible imports (f36a3c4), closes #64

0.6.0 (2021-01-17)

Features

  • re-enable autoregistration of components (1af262e), closes #53 #51

Bug Fixes

  • correctly generate url params for sanity images (cb9c223), closes #63
  • get <SanityImage> config from injected config (4d5684f)
  • improve windows compatibility (6efe29a)
  • use nuxt resolver to suppress warnings about missing dependency (b0d7222), closes #33

0.5.0 (2021-01-08)

Features

  • disable cdn when enablePreview is called (137149a), closes #45

Bug Fixes

  • don't fail when no sanity object exists in nuxt.config.js (f5ab953), closes #62

0.4.2 (2020-11-18)

Bug Fixes

  • correctly use q prop in <SanityImage> (#52) (7f5eeba)
  • temporarily disable autoregistration of components (b5abd8d), closes #51

0.4.0 (2020-11-11)

Features

  • expose generated sanity config within nuxt config for later use (0b4ebe8)
  • use @nuxt/components for auto-registration of helper components (4ea5796)

Bug Fixes

  • add name to <SanityImage> component for better DX (8d581ce)
  • correctly handle vue keys from portable text (9e6ca61)

0.3.11 (2020-10-27)

Bug Fixes

  • set Content-Type header for POST query (c251a21)

0.3.10 (2020-10-27)

Features

Performance Improvements

  • use built-in String.raw if available (0da5573)

0.3.9 (2020-10-11)

Features

  • expose sanity configuration as $sanity.config (35f3e92), closes #19

0.3.8 (2020-10-10)

Bug Fixes

  • resolve unexpected token error (ac9c52c), closes #19

0.3.7 (2020-10-10)

Bug Fixes

  • correctly detect @sanity/client (0792049)

0.3.6 (2020-10-07)

Bug Fixes

  • correctly extend @nuxt/types (7f54ba7)

0.3.5 (2020-10-06)

Bug Fixes

  • correct type error of renderless component (b4679f7)

0.3.4 (2020-10-06)

Features

  • allow using scoped slots for full control of <SanityImage> (c40313d)

0.3.3 (2020-09-27)

Features

  • add vetur auto-completion for <SanityImage> and <SanityContent> (01ddb19)

0.3.2 (2020-08-21)

Bug Fixes

  • read sanity.json at build time (b3e804f)

0.3.1 (2020-08-21)

Bug Fixes

  • add default object for additionalClients (9452722)

0.3.0 (2020-08-21)

Features

  • add multiple sanity client capability (0b04120), closes #2
  • allow using runtimeConfig to set sanity options (8657d48)

Bug Fixes

  • avoid accidentally including @sanity/client in bundle (7dcbe39)
  • prevent chalk and consola from being included in client build (e16e297)

0.2.2 (2020-08-10)

Bug Fixes

  • build components in cjs format (742cfa1)

0.2.1 (2020-08-10)

Bug Fixes

  • correct import path for <SanityContent> helper (2aa00c4)

0.2.0 (2020-08-09)

Features

  • ✨ add new <SanityContent> component to handle portable text (0839b97)
  • allow local import of <SanityImage> (762df3c)

Performance Improvements

  • ⚡️ improve options dx and decrease final bundle size (d1c4a76)

0.1.0 (2020-08-08)

Features

  • initial sanity module for Nuxt (0b204ee)