What changed in the plugin protocol for 0.92.0? #12388
tesujimath
started this conversation in
General
Replies: 2 comments 16 replies
-
Have you read the release notes? https://www.nushell.sh/blog/2024-04-02-nushell_0_92_0.html You could also search for PRs by devyn and find a bunch of them related to plugins. |
Beta Was this translation helpful? Give feedback.
7 replies
-
This is what I needed to add to Nu itself to work out how to get my plugin working again. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just spent a bit of time bringing nu_plugin_bash_env up to date with the plugin protocol changes introduced in 0.91.0.
I had to abandon my API generator, as much of the plugin infrastructure has changed and become private. (I toyed with moving the API generator into the nu-plugin crate, but that was also not straightforward.)
So in the end I simply leaned on the description of the protocol for Python plugins and did it all by hand. This was quite tricky TBH, but I made it work, so bash-env 0.6.0 supports Nushell 0.91.0. 🎉
But now I see something changed again with the plugin protocol in Nushell 0.92.0, and I can't see what it was. I think the description on that Python plugin page may now be outdated.
Is updating that one someone's TODO list? It's really quite hard keeping a non-Rust plugin working!
I hope and expect the plugin protocol will stabilize soon!
Beta Was this translation helpful? Give feedback.
All reactions