Skip to content

Latest commit

 

History

History
383 lines (206 loc) · 20.9 KB

CHANGELOG.md

File metadata and controls

383 lines (206 loc) · 20.9 KB

📓 Changelog

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

4.1.2 (2023-01-26)

Bug Fixes

  • deps: update devdependencies (non-major) (#316) (e5c17f6)

4.1.1 (2023-01-19)

Bug Fixes

  • deps: update dependency @sanity/preview-kit to ^1.3 (#301) (f8cd8d2)

4.1.0 (2023-01-17)

Features

  • support modern npm peer deps (b06546a)

Bug Fixes

  • improve npm deduping of shared deps (5fb74ef)

4.0.6 (2023-01-14)

Bug Fixes

  • deps: update dependency @sanity/preview-kit to ^1.2.23 (#297) (7a3242e)

4.0.5 (2023-01-14)

Bug Fixes

  • deps: update dependency groq to ^3.2.3 (#291) (d551334)

4.0.4 (2023-01-12)

Bug Fixes

  • deps: update dependency @sanity/preview-kit to ^1.2.22 (#289) (fee62dc)

4.0.3 (2023-01-12)

Bug Fixes

  • deps: update dependency @sanity/preview-kit to ^1.2.21 (#286) (09013a8)

4.0.2 (2023-01-12)

Bug Fixes

  • deps: update dependency @sanity/preview-kit to ^1.2.20 (#283) (6a6dbe6)

4.0.1 (2023-01-12)

Bug Fixes

4.0.0 (2023-01-08)

⚠ BREAKING CHANGES

  • change import NextStudioLoading from 'next-sanity/studio/loading' to import {NextStudioLoading} from 'next-sanity/studio/loading'

Bug Fixes

  • 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)

Code Refactoring

  • make NextStudioLoading a named export (086de6f)

3.1.9 (2022-12-30)

Bug Fixes

  • 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)

Bug Fixes

  • deps: update dependency @sanity/preview-kit to ^1.2.13 (#247) (ebdc514)

3.1.7 (2022-12-23)

Bug Fixes

  • deps: update dependency @sanity/pkg-utils to ^2.0.1 (#246) (14b5635)

3.1.6 (2022-12-23)

Bug Fixes

  • 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)

Bug Fixes

3.1.4 (2022-12-18)

Bug Fixes

  • deps: update dependency @sanity/preview-kit to ^1.2.11 (#228) (50dd890)

3.1.3 (2022-12-06)

Bug Fixes

  • 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)

Bug Fixes

  • make config optional in NextStudioLoading (0af6f6c)
  • make config optional in useTheme (6e35ebc)

3.1.1 (2022-11-25)

Bug Fixes

  • show "Loading..." text over spinner (6082652)

3.1.0 (2022-11-25)

Features

3.0.5 (2022-11-25)

Bug Fixes

  • add temp workaround for RSC compat (1166b61)
  • call store.close on beforeunload (#195) (e7b9bf6)
  • docs: Next 13 RSC auto code split client components (80c2918)

3.0.4 (2022-11-24)

Bug Fixes

  • set the webhooks runtime to nodejs by default (1cf0a72)

3.0.3 (2022-11-24)

Bug Fixes

  • set key prop on favicon links (edde50a)

3.0.2 (2022-11-22)

Bug Fixes

  • wait for eventual consistency by default (d76f111)

3.0.1 (2022-11-22)

Bug Fixes

  • add <meta charset="utf-8"> in Next 13 (a4e9e1a)
  • don't negate unstable__tailwindSvgFix (c6c540b)

3.0.0 (2022-11-22)

⚠ BREAKING CHANGES

Features

2.1.0 (2022-11-21)

Features

2.0.2 (2022-11-18)

Bug Fixes

  • support swcMinify in NextJS 13 (8e4ad34)

2.0.1 (2022-11-16)

Bug Fixes

  • 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)

⚠ BREAKING CHANGES

Check the full migration guide for details.

  • Requires Node v16, like Next 13.
  • createPreviewSubscriptionHook is replaced with definePreview.
  • createCurrentUserHook is removed

Features

Bug Fixes

  • 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)

Features

  • add support for fetching subset of dataset by type (#157) (33b42d2)

Bug Fixes

  • deps: update dependency @sanity/groq-store to ^1.0.4 (main) (#146) (5043b01)

Features

  • add support for fetching subset of dataset by type (8416e74)

Bug Fixes

  • deps: update dependency @sanity/groq-store to ^1.0.4 (main) (#146) (5043b01)

1.0.9 (2022-11-07)

Bug Fixes

  • add package.json to exports (6abbcb1)

1.0.8 (2022-11-04)

Bug Fixes

1.0.7 (2022-11-04)

Bug Fixes

  • ESM + CJS interop bugs with next-sanity/studio (b272225)

1.0.6 (2022-11-03)

Bug Fixes

  • ESM bug in next + studio v3 (935be44)

1.0.5 (2022-11-03)

Bug Fixes

1.0.4 (2022-11-03)

Bug Fixes

1.0.3 (2022-10-28)

Bug Fixes

  • deps: update dependency @sanity/groq-store to ^1.0.3 (afd27f5)

1.0.2 (2022-10-27)

Bug Fixes

  • 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)

Bug Fixes

  • expand supported next version range to allow v13 (5573e6d)

1.0.0 (2022-10-13)

⚠ BREAKING CHANGES

  • upgrade to node v14 or later.

Bug Fixes

  • drop support for node v12 (b831ef4)
  • use @sanity/pkg-utils for bundling (6929f98)

0.8.5 (2022-10-10)

Bug Fixes

  • 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)

Bug Fixes

0.8.3 (2022-08-28)

Bug Fixes

  • deps: update dependency @sanity/client to ^3.3.5 (#73) (a52ea74)

0.8.2 (2022-08-20)

Bug Fixes

  • deps: update dependency @sanity/groq-store to ^0.4.1 (#71) (467e110)

0.8.1 (2022-08-17)

Bug Fixes

  • use @sanity/semantic-release-preset (8dec077)

0.5.2 - 2022-04-05

Fixes

  • Exports the Aborter interface used in AbortController to support stricter TypeScript setups.
  • Allows stricter TypeScript setups by re-exporting SanityClient and ClientConfig from @sanity/client
  • Bumps @sanity/client to v3.3.0, @sanity/groq-store to v0.3.1 and groq to v2.29.3
  • Typo in readme (#44)

0.5.1 - 2022-03-04

Fixes

  • Export the SubscriptionOptions interface in useSubscription

0.5.0 - 2022-02-16

Features

  • Upgraded @sanity/groq-store to v0.3.0 which includes a new beta of groq-js that improves performance, especially when using projections.

BREAKING

  • Upgraded @sanity/client to v3, see its CHANGELOG for details.
  • createPortableTextComponent is removed.
  • createImageUrlBuilder is removed.

See the README for migration instructions.

0.4.0 - 2021-08-11

BREAKING

  • 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, pass ignoreUnknownTypes: false as a property to the createPortableTextComponent() function.
  • Portable Text: The markFallback serializer has been renamed to unknownMark to align with the new unknownType serializer for blocks.