Slack Developer Kit for Node.js
MIT License
Bot releases are hidden (Show)
Published by aoberoi over 5 years ago
esModuleInterop
(#760) - thanks @aoberoiPublished by aoberoi over 5 years ago
@slack/web-api
(#768) - thanks @the6thm0nth.esModuleInterop
(#760) - thanks @aoberoiPublished by aoberoi over 5 years ago
Published by aoberoi over 5 years ago
This release is meant to help users migrate to the smaller, lighter, independent packages. If you'd just like to test the compatibility of your app with the latest breaking changes, you can simply update the from a previous version of this package to this version. If everything works, you're ready to change your code to depend on the independent packages instead.
For each of the follow classes, these packages should be used directly.
Class name | Command to install |
---|---|
WebClient |
npm install @slack/web-api |
RTMClient |
npm install @slack/rtm-api |
IncomingWebhook |
npm install @slack/webhook |
See the migration guide for more details.
Published by aoberoi over 5 years ago
RTMClient.sendMessage()
method.raw_message
event in favor of the slack_event
event.agent
option has been simplifiedErrorCode
constants have changed.Logger
objects without a logger function.See the migration guide for details.
WebClient.paginate()
method: call cursor-paginated Web API methods using an async iterator 🎉WebClient.apiCall()
method.scopes
, acceptedScopes
, and retryAfter
properties of a Web API call result have moved into the response_metadata
.agent
option has been simplifiedErrorCode
constants have changed.Logger
objects without a logger function.See the migration guide for details.
Published by aoberoi over 5 years ago
IncomingWebhook.send()
agent
option has been simplifiedErrorCode
constants have changed.See the migration guide for details.
Published by aoberoi over 5 years ago
This meta-release marks the beginning of a new organizational structure for the code related to each of Slack's official Node.js packages.
The following packages have changes listed in their release notes:
See the migration guide for information about how to update your app from a previous version.
@slack/[email protected]
: Moved from the original repository.@slack/[email protected]
: Moved from the original repository.
- Adds a timing safe comparison to guard from timing attacks. Thanks @episod billdybas (#77)
Original: https://github.com/slackapi/node-slack-events-api/releases/tag/v2.1.1
- Exports a new function
verifyRequestSignature({ signingSecret, requestSignature, requestTimestamp, body })
. This function can be used to verify the authenticity of a request even without using therequestListener
orexpressMiddleware
offered by this package. It's a useful utility when your application doesn't need the adapter (EventEmitter
), but you don't want to reinvent the signature check. thanks @ianwsperber (#71)
Original: https://github.com/slackapi/node-slack-events-api/releases/tag/v2.1.0
This releases refactors a large portion of the adapter, adds support for request signing, and fixes a lot of bugs:
- The export name is changed from
createSlackEventAdapter
tocreateEventAdapter
(#37)- Adds request signing support, discontinuing support for verification tokens. This change requires developers to now pass in a Signing Secret in to the adapter rather than a verification token. (#57)
- Decouples the adapter from
express
, which included adding parsing within the adapter, meaning developers no longer need to use middleware to parse the request (using something like thebody-parser
package)- Documentation improvements (#41, #42, #44, #45, #46)
Original: https://github.com/slackapi/node-slack-events-api/releases/tag/v2.0.0
This release addresses a number of bug fixes since the initial release.
- When using the
waitForResponse
adapter option, error events sometimes did not emit therespond()
callback function (#18)- Added a
adapter.stop()
method which is close the built-in HTTP server if one was started, and return a Promise which resolves after all connections have ended. (#27)- Errors thrown inside a handler will now result in a success response to the request by default (can be overridden by using
waitForResponse
and passing an error to therespond()
callback) (#21, #25)- Debugging support using the
DEBUG
environment variable. (#19, #22)- More tests and documentation (#23, #26)
Original: https://github.com/slackapi/node-slack-events-api/releases/tag/v1.0.1
Supports Firebase Cloud Functions and other serverless cloud providers by inspecting
req.rawBody
when the body appears to already be parsed. thanks @pichsenmeister! (#90)Improves the example app
greet-and-react
. It can now persist tokens usingnode-localstorage
, so that you don't need to install the app each time its restarted (#84). Also, a bug in the arguments forchat.postMessage()
was fixed (#83). thanks @ErwinLengkeek!
Original: https://github.com/slackapi/node-slack-events-api/releases/tag/v2.2.0
- Adds Block Kit support (#85)
- Improves express all interactions by using body parser and removing verification check (#79 - thanks @ErwinLengkeek)
Original: https://github.com/slackapi/node-slack-interactive-messages/releases/tag/v1.1.0
- Adds a timing safe comparison to guard from timing attacks. Thanks @episod billdybas (#71)
Original: https://github.com/slackapi/node-slack-interactive-messages/releases/tag/v1.0.2
This release adds support for request signing, decouples the adapter from express, and fixes bugs:
- Adds support for the more secure request signing over legacy verification tokens. This change requires developers to now pass in a Signing Secret to the adapter rather than a verification token. (#57)
- Refactored the adapter to decouple
express
, which included adding parsing within the adapter, meaning developers no longer need to use middleware to parse the request (such as thebody-parser
package). (#31)- A bug preventing message actions from working properly was fixed. (#56 - thanks @mcolyer 🎉)
Original: https://github.com/slackapi/node-slack-interactive-messages/releases/tag/v1.0.0
This release adds support for new message actions. Your users can now interact with you app through dedicated actions per message.
Original: https://github.com/slackapi/node-slack-interactive-messages/releases/tag/v0.4.0
- New Feature Support for dynamic menu options inside dialogs and the
within
constraint! #36- Fixed bugs in dialog submission action support (#25) and menu options requests (#23) #28
- README has been rewritten with numerous clarifications and improvements (#27, #29) #39
- Example app
express-all-interactions
added #39- Reference documentation added (#11) #39
- Test coverage exceeds 85% (#9)
SlackMessageAdapter
'sdispatch()
method is now always async (#33)- Added vscode workspace settings (#35)
Original: https://github.com/slackapi/node-slack-interactive-messages/releases/tag/v0.3.0
- Added support for dialogs
Original: https://github.com/slackapi/node-slack-interactive-messages/releases/tag/v0.2.0
Our first real distributable release! 🎉
The
@slack/interactive-messages
module makes it quick and simple for your app to respond to buttons and menus inside Slack. Find out all about the features in the README.
- Fixes an issue with regex-based action matching (#1) - thanks @hwz.
Original: https://github.com/slackapi/node-slack-interactive-messages/releases/tag/v0.1.2