1.2.2 (2022-05-30)
- use
$fetch
for minimal client (7b7517e)
1.2.1 (2022-05-17)
- 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)
- don't overwrite provided options (e0263e6)
1.1.0 (2022-02-20)
- If you were relying on the auto-disabling part of this module
- 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)
0.10.0 (2021-08-03)
0.9.4 (2021-05-15)
0.9.3 (2021-05-15)
0.9.2 (2021-04-23)
0.9.1 (2021-04-14)
0.9.0 (2021-04-11)
0.8.0 (2021-03-31)
@nuxtjs/sanity/module
is now how the module should be imported innuxt.config
- support sanity
apiVersion
option (6a2c956)
- add entrypoint for pre-exports support (a053822)
0.7.1 (2021-02-16)
0.7.0 (2021-01-31)
- change minimum supported node version to 12
- change minimum supported node version to 12 (adcde28)
0.6.2 (2021-01-20)
- export types for components (dab55f2)
0.6.1 (2021-01-18)
- 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)
- 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)
0.4.2 (2020-11-18)
- correctly use
q
prop in<SanityImage>
(#52) (7f5eeba) - temporarily disable autoregistration of components (b5abd8d), closes #51
0.4.0 (2020-11-11)
- expose generated sanity config within nuxt config for later use (0b4ebe8)
- use
@nuxt/components
for auto-registration of helper components (4ea5796)
- add name to
<SanityImage>
component for better DX (8d581ce) - correctly handle vue keys from portable text (9e6ca61)
0.3.11 (2020-10-27)
- set Content-Type header for POST query (c251a21)
0.3.10 (2020-10-27)
- make POST requests for large queries (12c7bb1), closes /www.sanity.io/docs/http-query#the-post-form-J0Wj7
- use built-in
String.raw
if available (0da5573)
0.3.9 (2020-10-11)
0.3.8 (2020-10-10)
0.3.7 (2020-10-10)
- correctly detect
@sanity/client
(0792049)
0.3.6 (2020-10-07)
- correctly extend
@nuxt/types
(7f54ba7)
0.3.5 (2020-10-06)
- correct type error of renderless component (b4679f7)
0.3.4 (2020-10-06)
- allow using scoped slots for full control of
<SanityImage>
(c40313d)
0.3.3 (2020-09-27)
- add vetur auto-completion for
<SanityImage>
and<SanityContent>
(01ddb19)
0.3.2 (2020-08-21)
- read
sanity.json
at build time (b3e804f)
0.3.1 (2020-08-21)
- add default object for
additionalClients
(9452722)
0.3.0 (2020-08-21)
- add multiple sanity client capability (0b04120), closes #2
- allow using
runtimeConfig
to set sanity options (8657d48)
- avoid accidentally including
@sanity/client
in bundle (7dcbe39) - prevent
chalk
andconsola
from being included in client build (e16e297)
0.2.2 (2020-08-10)
- build components in
cjs
format (742cfa1)
0.2.1 (2020-08-10)
- correct import path for
<SanityContent>
helper (2aa00c4)
0.2.0 (2020-08-09)
- ✨ add new
<SanityContent>
component to handle portable text (0839b97) - allow local import of
<SanityImage>
(762df3c)
- ⚡️ improve options dx and decrease final bundle size (d1c4a76)
- initial sanity module for Nuxt (0b204ee)