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

**URL:** https://discourse.nodered.org/t/new-feature-node-red-contrib-simple-gate-version-0-3-0/24295
**Category:** Share Your Nodes
**Created:** [5 April 2020 23:29 UTC](https://discourse.nodered.org/t/new-feature-node-red-contrib-simple-gate-version-0-3-0/24295 "2020-04-05T23:29:55Z")
**Posts on this page:** 2
**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: [5 April 2020 23:29 UTC](https://discourse.nodered.org/t/new-feature-node-red-contrib-simple-gate-version-0-3-0/24295/1 "2020-04-05T23:29:55Z")

</div>

In response to a [recent request](https://discourse.nodered.org/t/enable-or-disable-processing-or-flows/23379/6) the node has been modified to allow more flexible control messages. In previous versions, the payload of a control message (that is, one with `msg.topic` set to `Control Topic`) was required to be a string. The new version will accept a payload that is a number or boolean. As before, the control message payloads are defined as strings in the node edit dialog, but if a boolean or number is received, it is converted to a string before being tested against the command definitions.

This version is intended to be backward compatible with the previous one, so users who do not want the new feature should not need to upgrade. Please report bugs or leave suggestions here or on [GitHub](https://github.com/drmibell/node-red-contrib-simple-gate/issues).

---

<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 June 2020 23:30 UTC](https://discourse.nodered.org/t/new-feature-node-red-contrib-simple-gate-version-0-3-0/24295/2 "2020-06-04T23:30:00Z")

</div>

This topic was automatically closed after 60 days. New replies are no longer allowed.
