Skip to content

Commit

Permalink
Update to 0.13.0, opportunistically claim Nu protocol compatability
Browse files Browse the repository at this point in the history
Plugin breakage will only occur if the protocol changes, not on
harmless version bumps of Nu.

Fixes #25
  • Loading branch information
tesujimath committed Aug 21, 2024
1 parent a44b38d commit e5e5e7e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 15 deletions.
31 changes: 18 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,24 @@ Since Nushell 0.91.0 the plugin protocol was enhanced and now requires version c

The following versions are compatible.

| Nushell | bash-env plugin |
| ------- | --------------- |
| 0.89 | 0.5.0 |
| 0.90 | 0.5.0 |
| 0.91 | 0.6.2 |
| 0.92 | 0.7.1 |
| 0.93 | 0.8.0 |
| 0.93 | 0.9.0 |
| 0.94 | 0.10.0 |
| 0.95 | 0.11.0 |
| 0.96 | 0.12.1 |

If you find a new version of Nushell rejects this plugin as incompatible, please report an [issue](https://github.com/tesujimath/nu_plugin_bash_env/issues).
| Nushell | bash-env plugin |
| -------- | --------------- |
| 0.89 | 0.5.0 |
| 0.90 | 0.5.0 |
| 0.91 | 0.6.2 |
| 0.92 | 0.7.1 |
| 0.93 | 0.8.0 |
| 0.93 | 0.9.0 |
| 0.94 | 0.10.0 |
| 0.95 | 0.11.0 |
| 0.96 | 0.12.1 |
| 0.97+ | 0.13.0 |

Since version 0.13, the plugin claims compatability with whatever version of Nu happens to be on the path. This avoids having to keep version-bumping the plugin for each new release of Nu.

The drawback is unexpected breakage may occur.

If you find a new version of Nushell breaks the plugin, please report an [issue](https://github.com/tesujimath/nu_plugin_bash_env/issues).

## Dependencies

Expand Down
4 changes: 2 additions & 2 deletions nu_plugin_bash_env
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

VERSION="0.12.1"
PROTOCOL_VERSION="0.96.1"
VERSION="0.13.0"
PROTOCOL_VERSION="$(nu --version)"

shopt -s extglob

Expand Down

0 comments on commit e5e5e7e

Please sign in to comment.