This release features various performance optimizations that prevent unecessary rerendering of React components, making the UI respond faster.
Vertical centering of navbar items
Thanks to a PR from @khellang, the navbar will now center navbar items vertically, which can be an issue when a custom Studio logo takes up more space than is intended.
🐛 Notable bugfixes
Fixes an issue that caused the NumberInput to display an empty string instead of 0.
📓 Full changelog
Author
Message
Commit
Bjørge Næss
chore(form-builder): add a TypeScript project reference to util package from form-builder package
6e566a757
Bjørge Næss
perf(utils): introduce a memoized pathFor function that always resolves to the same path instance (#2307)
7e2a9d691
Bjørge Næss
perf(util): optimize path utils functions to return memoized paths
cedfe9b48
Bjørge Næss
perf(form-builder): wrap asset source plugin components in withDocument instead of the image input
d203f106b
Bjørge Næss
chore(form-builder) Fix a few lint issues
0ea8fcfa8
Nathan Griffin
feat(server): alias react-native in webpack (#2306)
d7df361ae
Marius Lundgård
[chore] Add optimizations to prevent rerendering (#2311)
9f38c5a26
Kristian Hellang
[default-layout] Center navbar items vertically (#2304)
fdec8b2f9
Bjørge Næss
perf(form-builder): include path and focusPath in shouldComponentUpdate check
e9d59bcef
Bjørge Næss
fix(form-builder): fix an issue where zero in number input would display as empty string
2218ed6e5
Marius Lundgård
chore(package.json): install @babel/runtime@7.12.13 to circumvent build issue
569464ee2
v2.3.7
Upgrade the Command Line Interface (CLI) with:
npm install --global @sanity/cli
Upgrade Sanity Studio with:
sanity upgrade
✨ Highlights
This release fixes a performance issue introduced in v2.2 that would make typing in text fields slow in certain cases.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot will not automatically merge this PR because this dependency is pre-1.0.0.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps @sanity/cli from 0.146.0 to 2.3.8.
Release notes
Sourced from
@sanity/cli's releases
.... (truncated)
Commits
9a82ae3
v2.3.8bb09b0c
v2.2.6b0c577c
[cli] Replace "dummy dataset" parameter used in CLId18c5ac
[chore] Update license files9a92505
v2.2.5686fb62
[cli] Add array of packages excluded from update06d7b57
v2.2.35bbef7a
v2.2.2825603b
[cli] Pass on raw argv to commands for more granular parsing21c1a20
v2.1.4Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot will not automatically merge this PR because this dependency is pre-1.0.0.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)