Releases: ricokahler/sanity-codegen
Releases · ricokahler/sanity-codegen
v0.6.1
Includes a small fix (#33) in the ESM build output to make it compatible with sanity studio
v0.6.0
Includes #32
You can now pass babel options down to @babel/register
in sanity-codegen.config.ts
.
v0.5.0
- #29: Adds hotspot and crop support for images
- #27: Full fix for
_type
issues via #30
v0.4.0
New:
- #26 Client caching: If you use the minimal sanity client, it now ships with a simple cache enabled by default. This is great for Jamstack builds where you might request the same document a few times during the build.
Fixes:
v0.3.1
Includes #25: support for typenames without underscore
Thanks to @alexbchr for this!
v0.3.0
Includes #21: Adds the method query
to the sanity client that simply passes the query to your sanity instance. It includes preview-mode logic where draft IDs are preferred in preview mode.
v0.2.5
Includes #20 fix: typo _createAt
=> _createdAt