All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
4.1.2 (2023-01-26)
4.1.1 (2023-01-19)
4.1.0 (2023-01-17)
- support modern npm peer deps (b06546a)
- improve npm deduping of shared deps (5fb74ef)
4.0.6 (2023-01-14)
4.0.5 (2023-01-14)
4.0.4 (2023-01-12)
4.0.3 (2023-01-12)
4.0.2 (2023-01-12)
4.0.1 (2023-01-12)
4.0.0 (2023-01-08)
- change
import NextStudioLoading from 'next-sanity/studio/loading'
toimport {NextStudioLoading} from 'next-sanity/studio/loading'
- add full Node.js ESM runtime support (ad3ceb7)
- deps: update dependency @sanity/client to ^4.0.1 (#267) (b489987)
- deps: update dependency @sanity/client to v4 (#262) (a6ea4f3)
- deps: update dependency @sanity/preview-kit to ^1.2.17 (#264) (006fac3)
- deps: update dependency @sanity/preview-kit to ^1.2.18 (#270) (3d15213)
- deps: update dependency @sanity/preview-kit to ^1.2.19 (#274) (ca28e5b)
- make
NextStudioLoading
a named export (086de6f)
3.1.9 (2022-12-30)
- deps: update dependency @sanity/preview-kit to ^1.2.14 (#250) (a02246c)
- deps: update dependency @sanity/preview-kit to ^1.2.15 (#259) (79e375f)
3.1.8 (2022-12-23)
3.1.7 (2022-12-23)
3.1.6 (2022-12-23)
- deps: correct peer dependency versions (#236) (b24d18c)
- deps: update dependency @sanity/preview-kit to ^1.2.12 (#245) (4482c18)
3.1.5 (2022-12-20)
3.1.4 (2022-12-18)
3.1.3 (2022-12-06)
- deps: update dependency @sanity/pkg-utils to ^1.20.1 (#202) (532ffd7)
- deps: update dependency @sanity/preview-kit to ^1.2.10 (#210) (18b6093)
3.1.2 (2022-11-26)
3.1.1 (2022-11-25)
- show "Loading..." text over spinner (6082652)
3.1.0 (2022-11-25)
3.0.5 (2022-11-25)
- add temp workaround for RSC compat (1166b61)
- call
store.close
onbeforeunload
(#195) (e7b9bf6) - docs: Next 13 RSC auto code split client components (80c2918)
3.0.4 (2022-11-24)
- set the webhooks runtime to
nodejs
by default (1cf0a72)
3.0.3 (2022-11-24)
- set
key
prop on favicon links (edde50a)
3.0.2 (2022-11-22)
- wait for eventual consistency by default (d76f111)
3.0.1 (2022-11-22)
3.0.0 (2022-11-22)
- See the Migration section in the README for details.
- add support for Next 13
appDir
(#184) (0c80876), closes /github.com/sanity-io/next-sanity/tree/main#from-v2
2.1.0 (2022-11-21)
2.0.2 (2022-11-18)
- support
swcMinify
in NextJS 13 (8e4ad34)
2.0.1 (2022-11-16)
- deps: update dependency @sanity/groq-store to ^1.1.3 (#172) (77d4a98)
- deps: update dependency @sanity/preview-kit to ^1.2.7 (#173) (7d580d7)
2.0.0 (2022-11-16)
Check the full migration guide for details.
- Requires Node
v16
, likeNext 13
. createPreviewSubscriptionHook
is replaced withdefinePreview
.createCurrentUserHook
is removed
- add new preview mode for Next 13 (#152) (9eae92a), closes #next-12 #65 #4 #8 #16 #53 #46 #35 #22 #154
- deps: update dependency @sanity/groq-store to ^1.1.1 (main) (#159) (13c6d93)
- deps: update dependency @sanity/groq-store to ^1.1.2 (main) (#165) (4305d75)
- support TS
v4.9.x
(#162) (0afc823)
1.1.0 (2022-11-15)
1.1.0-add-type-allowlist.1 (2022-11-14)
- add support for fetching subset of dataset by type (8416e74)
1.0.9 (2022-11-07)
- add
package.json
to exports (6abbcb1)
1.0.8 (2022-11-04)
- mark internals (5b714a9)
1.0.7 (2022-11-04)
- ESM + CJS interop bugs with
next-sanity/studio
(b272225)
1.0.6 (2022-11-03)
- ESM bug in
next
+studio v3
(935be44)
1.0.5 (2022-11-03)
1.0.4 (2022-11-03)
- add TS release tags (15d8c06)
1.0.3 (2022-10-28)
- deps: update dependency @sanity/groq-store to ^1.0.3 (afd27f5)
1.0.2 (2022-10-27)
- deps: update dependency @sanity/groq-store to v1 (22f7b5a)
- export the subscription options to avoid ts errors (#104) (2fca80f)
1.0.1 (2022-10-25)
- expand supported next version range to allow v13 (5573e6d)
1.0.0 (2022-10-13)
- upgrade to node v14 or later.
0.8.5 (2022-10-10)
- deps: update dependencies (non-major) (#76) (34b357c)
- set dev-preview peer dep to tag (b06996e)
- studio: set default font-family (706c17f)
0.8.4 (2022-08-28)
- support
[email protected]
(98d50e2)
0.8.3 (2022-08-28)
0.8.2 (2022-08-20)
0.8.1 (2022-08-17)
- use
@sanity/semantic-release-preset
(8dec077)
- Exports the
Aborter
interface used inAbortController
to support stricter TypeScript setups. - Allows stricter TypeScript setups by re-exporting
SanityClient
andClientConfig
from@sanity/client
- Bumps
@sanity/client
tov3.3.0
,@sanity/groq-store
tov0.3.1
andgroq
tov2.29.3
- Typo in readme (#44)
- Export the
SubscriptionOptions
interface inuseSubscription
- Upgraded
@sanity/groq-store
tov0.3.0
which includes a new beta ofgroq-js
that improves performance, especially when using projections.
- Upgraded
@sanity/client
tov3
, see its CHANGELOG for details. createPortableTextComponent
is removed.createImageUrlBuilder
is removed.
See the README for migration instructions.
- Portable Text: When encountering unknown block types, the serializer will no longer throw by default - instead if will render a hidden
div
with a message noting that a serializer is missing. A message will also be logged to the console. To use the old behavior of throwing on unknown types, passignoreUnknownTypes: false
as a property to thecreatePortableTextComponent()
function. - Portable Text: The
markFallback
serializer has been renamed tounknownMark
to align with the newunknownType
serializer for blocks.