We recently released 3 new monday.storageSDK methods that allow you to maintain storage across each application, rather than each instance. With the new methods, the storage is not tied to a specific instance so it does not reset between major versions.
monday.storage.getItem(key)
monday.storage.setItem(key, value)
monday.storage.deleteItem(key)
Please note that with global-level storage, developers are the ones responsible for managing how items are stored on the client side - not monday.
With the new methods, the storage is not tied to a specific instance so it does not reset between major versions.
Is this reset a new behavior? I don’t remember reading this on the SDK storage documentation before this update. So if we update a scope in our app (which lead to a major version) users will lost their app data stored in the instance storage? Seem a weird behavior to me.
Thank you, this improvement is a step forward for making the storage API usable in more cases. Now we can access the same data from two App features.
Could this global storage be available on the Server side? Now that this storage is not specific to an App feature, we could fetch this data from our external back-end.
This would allow marketplace apps to write automation that modifies the storage of their App, otherwise we need to either use monday board columns or our own storage outside of monday.
This is not a new behavior, but we did update the documentation based on a request! The storage resets because moving between app versions creates separate versions of each app feature that have their own app storage.
I saw a link to this Apps CLI which would be useful to setup a CI/CD pipeline. Is this ready to be used by developers? I tried it but I am receiving 403 (forbidden) errors (I did configure my API token).
The Apps CLI and related SDK are part of an upcoming release, so they are not ready for dev usage. We will add a note to the Readme file to avoid any confusion!
We will update you all in the community and changelog, so keep your eyes out over the next quarter for the release
Also, wanted to use the SDK with script tag to provide a reproduction case, but the current version on cdn.jsdelivr.net doesn’t have the monday.storage.* methods