sanity-io/sanity
### [`v1.150.5`](https://togithub.com/sanity-io/sanity/releases/v1.150.5)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v1.150.3...v1.150.5)
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
##### ✨ Highlights
It's now possible to strip formatting from multiple blocks of the editor for portable text, by selecting content and clicking off the active formatting buttons in the toolbar.
##### 🐛 Notable bugfixes
- Fixed a bug where clicking items in the root validation list would not focus on the validated item properly.
- Optimized the editor to not re-render block object previews unless they are actually changed. This will increase performance on load heavy previews like video and code blocks.
##### 📓 Full changelog
| Author | Message | Commit |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| Bjørge Næss | [chore] Improve handling of TypeScript compile errors during dev ([#1982](https://togithub.com/sanity-io/sanity/issues/1982)) | [`b6abd41`](https://togithub.com/sanity-io/sanity/commit/b6abd41da) |
| Bjørge Næss | [react-hooks] Make sure useObservable re-subscribes when the passed observable changes | [`ef312d2`](https://togithub.com/sanity-io/sanity/commit/ef312d264) |
| Bjørge Næss | [react-hooks] Memoize observables in different hooks to avoid re-subscribing on every render | [`1631041`](https://togithub.com/sanity-io/sanity/commit/163104110) |
| Per-Kristian Nordnes | [components] Make sure ValidationList doesn't clear timeout on onClose | [`2e3f644`](https://togithub.com/sanity-io/sanity/commit/2e3f64440) |
| Per-Kristian Nordnes | [form-builder] PTE: set object edit deferred, let take focus first | [`4cd4fed`](https://togithub.com/sanity-io/sanity/commit/4cd4fed51) |
| Per-Kristian Nordnes | [test-studio] Put som validation rules on simpleBlock | [`4080991`](https://togithub.com/sanity-io/sanity/commit/408099138) |
| Per-Kristian Nordnes | [form-builder] PTE: memo block object render which is now possible | [`2f3be36`](https://togithub.com/sanity-io/sanity/commit/2f3be36a0) |
| Per-Kristian Nordnes | [form-builder] PTE: use new test for setting list item active | [`a20b761`](https://togithub.com/sanity-io/sanity/commit/a20b761b2) |
| Per-Kristian Nordnes | [form-builder] Update [@sanity/portable-text-editor](https://togithub.com/sanity/portable-text-editor) | [`13c14e2`](https://togithub.com/sanity-io/sanity/commit/13c14e227) |
### [`v1.150.3`](https://togithub.com/sanity-io/sanity/releases/v1.150.3)
[Compare Source](https://togithub.com/sanity-io/sanity/compare/v1.150.2...v1.150.3)
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
### 🐛 Notable bugfixes
- Fixed an issue that could sometimes make the Studio fail with an error message saying `Could not resolve jsonType of undefined`.
- Fixed a dependency issue that could sometimes make `sanity build` to fail in production environments.
- Fixed an issue where the hotspot/crop would sometimes bounce back to a previous position after editing it
- Fixed color contrast issues with custom theme colors for buttons and navbar
### 📓 Full changelog
| Author | Message | Commit |
| --------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------- |
| Magnus Holm | [form-builder] Handle async rendering in ImageToolInput ([#1976](https://togithub.com/sanity-io/sanity/issues/1976)) | [`b6c9bc7`](https://togithub.com/sanity-io/sanity/commit/b6c9bc72d) |
| Bjørge Næss | Revert "[schema] Warn against primitive types as PT members" | [`7c36856`](https://togithub.com/sanity-io/sanity/commit/7c3685644) |
| Bjørge Næss | [components] Add missing dependency | [`fb0e733`](https://togithub.com/sanity-io/sanity/commit/fb0e73351) |
| Bjørge Næss | [chore] Upgrade bifur-client | [`49d4527`](https://togithub.com/sanity-io/sanity/commit/49d45278b) |
| Marius Lundgård | [components] Fix theming issues ([#1979](https://togithub.com/sanity-io/sanity/issues/1979)) | [`369bc2d`](https://togithub.com/sanity-io/sanity/commit/369bc2d70) |
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
1.150.2
->1.150.5
1.150.2
->1.150.5
1.150.1
->1.150.3
1.150.1
->1.150.4
1.150.2
->1.150.5
1.150.2
->1.150.5
Release Notes
sanity-io/sanity
### [`v1.150.5`](https://togithub.com/sanity-io/sanity/releases/v1.150.5) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v1.150.3...v1.150.5) Upgrade the Command Line Interface (CLI) with: npm install --global @sanity/cli Upgrade Sanity Studio with: sanity upgrade ##### ✨ Highlights It's now possible to strip formatting from multiple blocks of the editor for portable text, by selecting content and clicking off the active formatting buttons in the toolbar. ##### 🐛 Notable bugfixes - Fixed a bug where clicking items in the root validation list would not focus on the validated item properly. - Optimized the editor to not re-render block object previews unless they are actually changed. This will increase performance on load heavy previews like video and code blocks. ##### 📓 Full changelog | Author | Message | Commit | | -------------------- | --------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- | | Bjørge Næss | [chore] Improve handling of TypeScript compile errors during dev ([#1982](https://togithub.com/sanity-io/sanity/issues/1982)) | [`b6abd41`](https://togithub.com/sanity-io/sanity/commit/b6abd41da) | | Bjørge Næss | [react-hooks] Make sure useObservable re-subscribes when the passed observable changes | [`ef312d2`](https://togithub.com/sanity-io/sanity/commit/ef312d264) | | Bjørge Næss | [react-hooks] Memoize observables in different hooks to avoid re-subscribing on every render | [`1631041`](https://togithub.com/sanity-io/sanity/commit/163104110) | | Per-Kristian Nordnes | [components] Make sure ValidationList doesn't clear timeout on onClose | [`2e3f644`](https://togithub.com/sanity-io/sanity/commit/2e3f64440) | | Per-Kristian Nordnes | [form-builder] PTE: set object edit deferred, let take focus first | [`4cd4fed`](https://togithub.com/sanity-io/sanity/commit/4cd4fed51) | | Per-Kristian Nordnes | [test-studio] Put som validation rules on simpleBlock | [`4080991`](https://togithub.com/sanity-io/sanity/commit/408099138) | | Per-Kristian Nordnes | [form-builder] PTE: memo block object render which is now possible | [`2f3be36`](https://togithub.com/sanity-io/sanity/commit/2f3be36a0) | | Per-Kristian Nordnes | [form-builder] PTE: use new test for setting list item active | [`a20b761`](https://togithub.com/sanity-io/sanity/commit/a20b761b2) | | Per-Kristian Nordnes | [form-builder] Update [@sanity/portable-text-editor](https://togithub.com/sanity/portable-text-editor) | [`13c14e2`](https://togithub.com/sanity-io/sanity/commit/13c14e227) | ### [`v1.150.3`](https://togithub.com/sanity-io/sanity/releases/v1.150.3) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v1.150.2...v1.150.3) Upgrade the Command Line Interface (CLI) with: npm install --global @sanity/cli Upgrade Sanity Studio with: sanity upgrade ### 🐛 Notable bugfixes - Fixed an issue that could sometimes make the Studio fail with an error message saying `Could not resolve jsonType of undefined`. - Fixed a dependency issue that could sometimes make `sanity build` to fail in production environments. - Fixed an issue where the hotspot/crop would sometimes bounce back to a previous position after editing it - Fixed color contrast issues with custom theme colors for buttons and navbar ### 📓 Full changelog | Author | Message | Commit | | --------------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------- | | Magnus Holm | [form-builder] Handle async rendering in ImageToolInput ([#1976](https://togithub.com/sanity-io/sanity/issues/1976)) | [`b6c9bc7`](https://togithub.com/sanity-io/sanity/commit/b6c9bc72d) | | Bjørge Næss | Revert "[schema] Warn against primitive types as PT members" | [`7c36856`](https://togithub.com/sanity-io/sanity/commit/7c3685644) | | Bjørge Næss | [components] Add missing dependency | [`fb0e733`](https://togithub.com/sanity-io/sanity/commit/fb0e73351) | | Bjørge Næss | [chore] Upgrade bifur-client | [`49d4527`](https://togithub.com/sanity-io/sanity/commit/49d45278b) | | Marius Lundgård | [components] Fix theming issues ([#1979](https://togithub.com/sanity-io/sanity/issues/1979)) | [`369bc2d`](https://togithub.com/sanity-io/sanity/commit/369bc2d70) |Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.