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.6.1

20 Dec 02:03
78e51f1
Compare
Choose a tag to compare

Includes a small fix (#33) in the ESM build output to make it compatible with sanity studio

v0.6.0

20 Dec 00:14
ebe43df
Compare
Choose a tag to compare

Includes #32

You can now pass babel options down to @babel/register in sanity-codegen.config.ts.

v0.5.0

18 Dec 22:49
7ce9093
Compare
Choose a tag to compare
  • #29: Adds hotspot and crop support for images
  • #27: Full fix for _type issues via #30

v0.4.0

18 Dec 09:43
69bc4a9
Compare
Choose a tag to compare

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:

  • Partial fix for #27

v0.3.1

14 Dec 16:03
Compare
Choose a tag to compare

Includes #25: support for typenames without underscore

Thanks to @alexbchr for this!

v0.3.0

13 Dec 21:36
4d5fe11
Compare
Choose a tag to compare

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

10 Dec 08:07
fcfa87d
Compare
Choose a tag to compare

Includes #20 fix: typo _createAt => _createdAt

v0.2.4

07 Dec 10:26
174c10c
Compare
Choose a tag to compare

Includes #19

v0.2.3

03 Dec 01:30
52049e6
Compare
Choose a tag to compare

Includes #14

v0.2.2

02 Dec 09:35
b49b0f0
Compare
Choose a tag to compare

Includes #12 and #13

This build fix also enables bundlephobia to work correctly for this package. The client clocks in a 671B!

bundlephobia