SDK Storage Versioning

Logged here: [Bug] Storage API Versioning · Issue #42 · mondaycom/monday-sdk-js · GitHub

I’ve noticed that when specifying a previous_version it does not result in a version_conflict error as described in the docs: GitHub - mondaycom/monday-sdk-js: Node.js and JavaScript SDK for developing over the monday.com platform

this.mondayClientSdk.storage.instance.setItem(key, value, {previous_version: version}).then(
  r => console.log(r),
  e => console.error(e)
);

Am I making the call incorrectly?

Hey @anderslyman - let me check in with the team on this one.

-Daniel

1 Like

Hey @dsilva, any word on this?

Hi @anderslyman!

At this time, you are indeed correct in that our Storage API does not yet support versioning.

However, I would be more than happy to forward your feedback to our Product team so that they may take this into consideration for future iterations of our product.

Let us know if you have additional questions or concerns at this time!

@Helen understood, thank you!

Might be good to remove it from the sdk documentation so it doesn’t confuse folks in the future - it’s currently listed as an existing feature.