[Snyk] Upgrade: , , , , , , , , autoprefixer, next, next-sanity, postcss, sanity, styled-components, tailwindcss, typescript #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade multiple dependencies.
👯♂ The following dependencies are linked and will therefore be updated together.ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
@portabletext/react
from 3.0.18 to 3.1.0 | 4 versions ahead of your current version | 4 months ago
on 2024-05-28
@sanity/assist
from 3.0.3 to 3.0.6 | 3 versions ahead of your current version | a month ago
on 2024-08-13
@sanity/preview-url-secret
from 1.6.11 to 1.6.20 | 11 versions ahead of your current version | a month ago
on 2024-08-12
@sanity/vision
from 3.39.0 to 3.56.0 | 74 versions ahead of your current version | 25 days ago
on 2024-08-27
@tailwindcss/typography
from 0.5.13 to 0.5.15 | 2 versions ahead of your current version | 24 days ago
on 2024-08-28
@types/node
from 20.12.10 to 20.16.2 | 25 versions ahead of your current version | 24 days ago
on 2024-08-28
@types/react
from 18.3.1 to 18.3.5 | 4 versions ahead of your current version | 22 days ago
on 2024-08-30
@vercel/speed-insights
from 1.0.10 to 1.0.12 | 2 versions ahead of your current version | 3 months ago
on 2024-06-12
autoprefixer
from 10.4.19 to 10.4.20 | 1 version ahead of your current version | 2 months ago
on 2024-08-02
next
from 14.2.3 to 14.2.7 | 4 versions ahead of your current version | 25 days ago
on 2024-08-27
next-sanity
from 9.0.10 to 9.4.7 | 41 versions ahead of your current version | a month ago
on 2024-08-20
postcss
from 8.4.38 to 8.4.41 | 3 versions ahead of your current version | 2 months ago
on 2024-08-05
sanity
from 3.39.0 to 3.56.0 | 74 versions ahead of your current version | 25 days ago
on 2024-08-27
styled-components
from 6.1.8 to 6.1.13 | 8 versions ahead of your current version | 22 days ago
on 2024-08-30
tailwindcss
from 3.4.3 to 3.4.10 | 7 versions ahead of your current version | a month ago
on 2024-08-13
typescript
from 5.4.5 to 5.5.4 | 106 versions ahead of your current version | 2 months ago
on 2024-07-22
Release notes
Package name: @portabletext/react
3.1.0 (2024-05-28)
Features
3.0.18 (2024-04-11)
Bug Fixes
Package name: @sanity/assist
3.0.6 (2024-08-13)
Bug Fixes
This release is also available on:
3.0.5 (2024-07-16)
Bug Fixes
This release is also available on:
3.0.4 (2024-05-07)
Bug Fixes
3.0.3 (2024-04-10)
Bug Fixes
This release is also available on:
Package name: @sanity/preview-url-secret
Package name: @sanity/vision
✨ Highlights
Improved document sync notification
Fixes an issue where the syncing document notification would sometimes remain on the screen indefinitely, even after the document was no longer visible. The toast is now dismissible, improving the user experience when working with synchronized documents.
Copy document URL to clipboard
A new feature has been added to the document pane, allowing users to easily copy the current document's URL to their clipboard. This makes sharing documents with colleagues and collaborators more convenient.
Ending the "Array Tree Editing" beta
Thank you to everyone who participated in the "Array Tree Editing" beta. Based on your feedback, we are ending this experiment as we continue to explore better ways to navigate nested structured.
🐛 Notable bugfixes
--no-auto-updates
flag in CLI: Fixed an issue where the CLI would not respect the--no-auto-updates
flag, ensuring that this configuration setting now behaves as expected.DateTimeInput
UI component, providing more control over its appearance, especially in modal contexts.Install or upgrade Sanity Studio
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.
📓 Full changelog
--no-auto-updates flag
in CLI config (#7396)✨ Highlights
Request access to Studios
Users can now request access to a project they're not yet a member of, straight from the Studio's "Not authorized" screen. Project administrators will be alerted by email and can approve or deny the request from the project settings area.
TypeGen updates
Running
sanity typegen
will now by default generate a query typemap which the Sanity Client can use to automatically infer the returned types of a query.🐛 Notable bugfixes
defineQuery
from thenext-sanity
package.FormInput
causingincludeField
to not have any effect for nested paths.text
field.Install or upgrade Sanity Studio
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.
📓 Full changelog
✨ Highlights
Copy Paste Improvements
Multiple deployment targets for Sanity Studio
Introduces support for adding multiple
[my-company].sanity.studio
deployments for a project. Link your studio code to a specific hostname with the newstudioHost
property in the CLI config as shown below, or select or create a deployment target when prompted while runningsanity deploy
. You can now see all your studio deployments in the project management settings.import {defineCliConfig} from 'sanity/cli'
export default defineCliConfig({
api: {
projectId: 'projectid',
dataset: 'production'
},
// Tip: You can use an environment variable for studioHost if you want
// to deploy separate studios for production, staging, testing etc.
studioHost: 'my-company'
})
Read more in the Hosting and deployment article in the docs.
🐛 Notable bugfixes
getValueAtPath()
utility wouldn't work for 0 index path segments(['array', 0])
Install or upgrade Sanity Studio
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.
📓 Full changelog
@ bjoerge/mutiny
is now@ sanity/mutate
(#7344)Install or upgrade Sanity Studio
To initiate a new Sanity Studio project or upgrade an existing one, please refer to our comprehensive guide on Installing and Upgrading Sanity Studio.
If you are updating from a version earlier than 3.37.0, you should also check out this article to ensure your dependencies are up to date.
Improved Sanity Client and TypeGen integration
With the new
defineQuery
utility it is no longer necessary to pass generics intoclient.fetch
calls for thesanity typegen
command to generate type definitions for query results. 🥳Update
@ sanity/client
tov6.21.0
or later, then add"overloadClientMethods": true
to yoursanity-typegen.json
configuration file, and finally wrap your query strings in the newdefineQuery
utility method fromgroq
:+import {defineQuery} from 'groq'
-import type { SettingsQueryResult } from "~/sanity.types";
const client = createClient({ /* ... */ })
-const settingsQuery = groq
</span> <span class="pl-mi1"><span class="pl-mi1">+</span>const settingsQuery = defineQuery(
*[_type == "settings"][0]
-
</span> <span class="pl-mi1"><span class="pl-mi1">+</span>
)-const settings = await client.fetch<SettingsQueryResult>(settingsQuery)
+const settings = await client.fetch(settingsQuery)
Huge thanks to @ romeovs for championing this feature!
🐛 Notable bugfixes
sanity init --env
📓 Full changelog