Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Hubot 11 #238

Merged
merged 1 commit into from
Mar 14, 2025
Merged

Upgrade to Hubot 11 #238

merged 1 commit into from
Mar 14, 2025

Conversation

skiedude
Copy link
Contributor

@skiedude skiedude commented Mar 12, 2025

These changes only support using Slack

Due to multiple deprecations and archival of related chat backend providers, everything has been removed but Slack.

  1. Upgrade hubot dependency to 11
  2. Upgrade nodejs dependency to 20, and only test against nodejs20
  3. Removes all providers but slack
  4. Removes old coffee script and other dependencies (required by previous version of hubot-slack)
  5. Adds a threading feature I had provided in a separate PR Allow threading for the ack and result messages for the slack backend #237
  6. remove tests for all providers but slack
  7. Update tests to import hubot src as async as its now ESM and this is still commonjs

These changes have been tested and running locally in our environments for 3 weeks now without issue.

Bump patch version

Update changelog

try upgrade

try upgrade

logging

remove coffee

Changes based off new hubot version

update changelog

bump version

update version

only test nodejs20

rebuild lock after test updates

test updates

more robot references

try including path

typo

import instead of require

make it a module

commonjs

no more import

rename

rename all the things

Revert "rename all the things"

This reverts commit 3e2b4ee.

Revert "rename"

This reverts commit 0ac4f29.

dynamic import

try async

convert the rest

robot class

references

more class references

we go again

new

more new

args changed

try again

try again

try again

import change

comment out tests for providers no longer supported

test updates

test updates

test updates

test updates

test updates

variable scope

cleanup

last cleanup
Comment on lines -25 to -27
"coffee-register": "1.0.0",
"coffee-script": "1.12.7",
"coffeescript": "1.12.7",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At work, we inject a coffeescript that adds rudimentary rbac for chatops. So, removing coffeescript is sad for me as it means extra work to replace that script (maybe compile to js?). But dropping it makes sense here since this repo doesn't make use of it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to know, I just dropped it because it seemed to be a requirement of the old version of hubot-slack, now the new version doesn't require it so I removed it.

@cognifloyd cognifloyd merged commit 6cfc93b into StackStorm:master Mar 14, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants