Skip to content

How do I update my current website to SanityPress v4.10 #32

Answered by nuotsu
adino007 asked this question in Q&A
Discussion options

You must be logged in to vote

I've considered not to take the NPM package approach, as I want all parts of the raw code to be editable. Making it an NPM package encapsulates the code and goes against the core concept of this project that "everything should be customizable".

That said, unfortunately I can only suggest to make the updates to your project manually. You mentioned you are on v4.6. There have been breaking changes since >4.12 and >5.0 so I suggest making an upgrade to 4.11.0. Here's a helpful link (4.6.0...4.11.0) to compare changes.

4.12 includes the Next.js 15 updates, which has major changes to how data is fetched.
5.0 includes the update to Sanity's new Live API (new fetch functions).

If it's mainly s…

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mitchuman
Comment options

Comment options

You must be logged in to vote
1 reply
@nuotsu
Comment options

Answer selected by mitchuman
Comment options

You must be logged in to vote
1 reply
@nuotsu
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
3 participants