# \[NEW FEATURE\] node-red-contrib-simple-gate (version 0.5.0)

**URL:** https://discourse.nodered.org/t/new-feature-node-red-contrib-simple-gate-version-0-5-0/42053
**Category:** Share Your Nodes
**Created:** [4 March 2021 23:07 UTC](https://discourse.nodered.org/t/new-feature-node-red-contrib-simple-gate-version-0-5-0/42053 "2021-03-04T23:07:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![drmibell](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/drmibell/32/8424_2.png) [@drmibell](https://discourse.nodered.org/u/drmibell)
#### Post date: [4 March 2021 23:07 UTC](https://discourse.nodered.org/t/new-feature-node-red-contrib-simple-gate-version-0-5-0/42053/1 "2021-03-04T23:07:38Z")

</div>

This update enhances the capability for persistence of the node state, first introduced in version 0.2.0. Previously, only the default context store was used when the `Restore from state saved in` option was enabled. As a result, the state would not be preserved if the default store were volatile. Now, if more than one context store is defined in the `settings.js` file, the user has the option of selecting which storage module is used and can select a non-volatile store if one is available. The capability is now the same as in [node-red-contrib-queue-gate](https://flows.nodered.org/node/node-red-contrib-queue-gate).

This version also corrects a bug that would cause an error if a control message is received with a `null` payload.

This change is intended to be backward compatible with the previous version, but the improvement is so significant that users are urged to upgrade. Please report bugs or issues here or on [GitHub](https://github.com/drmibell/node-red-contrib-simple-gate/issues).
