|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## [0.0.0-alpha.23](https://github.com/sanity-io/sdk/compare/sdk-react-v0.0.0-alpha.22...sdk-react-v0.0.0-alpha.23) (2025-04-03) |
| 4 | + |
| 5 | + |
| 6 | +### ⚠ BREAKING CHANGES |
| 7 | + |
| 8 | +* use hosted login for standalone apps ([#386](https://github.com/sanity-io/sdk/issues/386)) |
| 9 | +* replace `sanityConfigs` prop with `config` prop in `<SanityApp />` and `<SDKProvider />` |
| 10 | +* replace `resourceId` concept with explicit `projectId` and `dataset` fields in handles |
| 11 | +* rename `_type` to `documentType` in DocumentHandle interface and related usages |
| 12 | +* rename `_id` to `documentId` in DocumentHandle interface and related usages |
| 13 | +* update document hooks and actions to expect `DocumentHandle` props |
| 14 | +* update project and dataset hooks to use `ProjectHandle` or `DatasetHandle` |
| 15 | +* remove `<SanityProvider />`, introduce `<ResourceProvider />` for configuration |
| 16 | + |
| 17 | +### Features |
| 18 | + |
| 19 | +* introduce consistent Handle pattern (`ProjectHandle`, `DatasetHandle`, `DocumentHandle`) across the SDK ([969d70e](https://github.com/sanity-io/sdk/commit/969d70e41f6987234323f99753f5cf937469532b)) |
| 20 | +* remove `<SanityProvider />`, introduce `<ResourceProvider />` for configuration ([969d70e](https://github.com/sanity-io/sdk/commit/969d70e41f6987234323f99753f5cf937469532b)) |
| 21 | +* rename `_id` to `documentId` in DocumentHandle interface and related usages ([969d70e](https://github.com/sanity-io/sdk/commit/969d70e41f6987234323f99753f5cf937469532b)) |
| 22 | +* rename `_type` to `documentType` in DocumentHandle interface and related usages ([969d70e](https://github.com/sanity-io/sdk/commit/969d70e41f6987234323f99753f5cf937469532b)) |
| 23 | +* replace `resourceId` concept with explicit `projectId` and `dataset` fields in handles ([969d70e](https://github.com/sanity-io/sdk/commit/969d70e41f6987234323f99753f5cf937469532b)) |
| 24 | +* replace `sanityConfigs` prop with `config` prop in `<SanityApp />` and `<SDKProvider />` ([969d70e](https://github.com/sanity-io/sdk/commit/969d70e41f6987234323f99753f5cf937469532b)) |
| 25 | +* update document hooks and actions to expect `DocumentHandle` props ([969d70e](https://github.com/sanity-io/sdk/commit/969d70e41f6987234323f99753f5cf937469532b)) |
| 26 | +* update project and dataset hooks to use `ProjectHandle` or `DatasetHandle` ([969d70e](https://github.com/sanity-io/sdk/commit/969d70e41f6987234323f99753f5cf937469532b)) |
| 27 | +* update query and list hooks to accept optional `DatasetHandle` for configuration ([969d70e](https://github.com/sanity-io/sdk/commit/969d70e41f6987234323f99753f5cf937469532b)) |
| 28 | +* use hosted login for standalone apps ([#386](https://github.com/sanity-io/sdk/issues/386)) ([9c1ad58](https://github.com/sanity-io/sdk/commit/9c1ad58bc0b302073c90dd6e584f566eba3d0d17)) |
| 29 | + |
| 30 | + |
| 31 | +### Bug Fixes |
| 32 | + |
| 33 | +* **deps:** update message-protocol to 0.7.0 ([#379](https://github.com/sanity-io/sdk/issues/379)) ([553b2f5](https://github.com/sanity-io/sdk/commit/553b2f5249432773c8b0d05b6704a9f17b26137c)) |
| 34 | +* **deps:** update pkg-utils to v7 ([#384](https://github.com/sanity-io/sdk/issues/384)) ([ce9a952](https://github.com/sanity-io/sdk/commit/ce9a952a295a32ec86c12cbf9b967128ba5eaf4f)) |
| 35 | +* ensure usePreview and useProjection hooks subscribe if no ref is passed ([#366](https://github.com/sanity-io/sdk/issues/366)) ([6da3fd1](https://github.com/sanity-io/sdk/commit/6da3fd158de23956b5f1aa732e31be7a6f312c64)) |
| 36 | +* **react:** update app redirect url to new dashboard ([#377](https://github.com/sanity-io/sdk/issues/377)) ([86ec07e](https://github.com/sanity-io/sdk/commit/86ec07e86c194a38f59f2f0f6ee80c0b0b0d0356)) |
| 37 | + |
3 | 38 | ## [0.0.0-alpha.22](https://github.com/sanity-io/sdk/compare/sdk-react-v0.0.0-alpha.21...sdk-react-v0.0.0-alpha.22) (2025-03-27)
|
4 | 39 |
|
5 | 40 |
|
|
0 commit comments