After upgrading to from 4.29.1 to 4.29.5 and specifically running a deduplication. We were getting a build error where ts was looking for the version prop that was not provided. After adding version to patch objects the build is running successfully. Are we now supposed to be setting version in the patch object and the header object? Or can we drop the header object here?
contentfulClient.entry.patch(
{
entryId: entry.sys.id,
version: entry.sys.version // Do we need this...
},
operations,
{
'X-Contentful-Version': entry.sys.version // ... AND this?
}
)
We couldn't find any updates in the docs or release notes.