Releases: ricokahler/sanity-codegen
Releases · ricokahler/sanity-codegen
v0.9.1
Bug Fixes
Includes #83: Fixes a bug where the token is not sent unless preview mode is active. Now the token will be sent regardless of preview mode if useCdn
is not true.
v0.9.0
Bug Fixes:
- #79: changes to the
_type
for images and files. Thanks to @raffij for reporting it!
Breaking Change:
- #80: removes the cache from the typed client. Also updates the docs with support for the first-party client.
v0.8.3
Another fix for #55. Additionally unknown types default to any
now.
v0.8.2
Fixes #55: Schemas that have hyphens in document name are now allowed
Fixes #54: _key
is now correctly typed in all scenarios
Thanks to @PaulPCIO @antonmihaylov, and @NK-WebDev for finding these bugs!
v0.8.1
Includes more babel plugins in the CLI. See #58 for details.
v0.8.0
Includes #56 mutable preview mode for the client. client.setPreviewMode(true)
is now available
v0.7.0
Includes #49 , the useCdn
option is now available in the client.
v0.6.3
#39 Includes a fix for sanity projects that import CSS modules
v0.6.2
Includes #34 . Bug fix: Changes the node build targets from "targets": { "node": true }"
to "targets": "maintained node versions"
to make it compatible with Node 12 again.