Version ranges for Hubot packages #1656
-
I've got a handful of Hubot script packages and the recent (and a bit more frequent than expected) releases of major versions has caused a bit of trouble with keeping the For example, many legacy packages have:
Which causes this error when adding to a v7 instance:
I don't really want to use I've adopted this as an approach:
But at the current pace we may hit |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 9 replies
-
Is there something I can do to help? Yes! I think |
Beta Was this translation helpful? Give feedback.
-
Mainly want to see if there's guidance for package maintainers on an appropriate range for LTS. Rapid release are a great sign of the project's future, but it gives us a bit of heartburn to need make one-line changes to keep up. 😁 |
Beta Was this translation helpful? Give feedback.
-
Here's the issue I created as a roadmap. #1658 |
Beta Was this translation helpful? Give feedback.
-
@stephenyeargin I have a PR with breaking changes (APIs are now async/await style). Is there anything I can do to help alleviate some heartburn when this PR gets merged? |
Beta Was this translation helpful? Give feedback.
-
@stephenyeargin I made a mistake with that last release. I forgot to include "BREAKING CHANGE" in the comments, which resulted in a minor version bump (8.1.0) instead of a major version (9.0.0). So async/await is now in the v8 version of Hubot. As a consequence, v9 is going to include bumping the supported Node version (engine version) to v18. I just wanted to give you heads up on the upcoming change. I'm guessing it will result in a bunch of warning messages in the console about unsupported engine. |
Beta Was this translation helpful? Give feedback.
Thank you for the feedback. I was trying to resuscitate development and I apologize for the churn. I'll work to stabilize the change.
I've been on a march to modernize the codebase - align and keep pace with Node LTS versions, load adapters from local disk/file, support org scoped adapters,
.mjs
script support, remove CoffeeScript support, and convert the API toasync/await
. I think I can add.mjs
support to thev7
version. But removing CoffeeScript and moving toasync/await
style API will be breaking changes. I'll create an issue to start communicating/collaborating on that.