Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Releases: ricokahler/sanity-codegen

v0.9.1

18 Feb 04:34
d82a0e2
Compare
Choose a tag to compare

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

14 Feb 00:59
2a5ee38
Compare
Choose a tag to compare

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

19 Jan 05:10
f1c036b
Compare
Choose a tag to compare

Another fix for #55. Additionally unknown types default to any now.

v0.8.2

18 Jan 21:05
1e45003
Compare
Choose a tag to compare

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

18 Jan 06:27
8bb147a
Compare
Choose a tag to compare

Includes more babel plugins in the CLI. See #58 for details.

v0.8.0

16 Jan 06:18
c350bd5
Compare
Choose a tag to compare

Includes #56 mutable preview mode for the client. client.setPreviewMode(true) is now available

v0.7.0

02 Jan 05:00
cc18bd1
Compare
Choose a tag to compare

Includes #49 , the useCdn option is now available in the client.

v0.6.4

02 Jan 04:17
c383174
Compare
Choose a tag to compare

Fixes #46. Thanks to @bdashore3 for finding the bug!

v0.6.3

21 Dec 20:24
86c22ec
Compare
Choose a tag to compare

#39 Includes a fix for sanity projects that import CSS modules

v0.6.2

20 Dec 02:27
96330e3
Compare
Choose a tag to compare

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.