Slack Developer Kit for Node.js
MIT License
Bot releases are hidden (Show)
Fixes matching with
actionId
andblockId
(#90)
Original: https://github.com/slackapi/node-slack-interactive-messages/releases/tag/v1.1.1
Published by shaydewael over 5 years ago
p-cancelable
version to ~1.0.0
to fix type errors (#743)Published by aoberoi over 5 years ago
DEBUG
to WARN
. (#718) - thanks @aoberoihttp_proxy
and https_proxy
environment variables unexpectedly interact with WebClient
andRTMClient
configuration. (#672) - thanks @aoberoiIncomingWebhook
agent option. (#719) - thanks @aoberoiPublished by aoberoi over 5 years ago
Published by aoberoi over 5 years ago
Logger
object instead. (#703) - thanks @aoberoiPublished by aoberoi about 6 years ago
IncomingWebhook
constructor now has an agent
option. It works exactly like the agent
option from WebClient
. It's very useful for setting a proxy for requests using packages like https-proxy-agent
or tunnel
. Thanks @romanbalayan (#640)lib
configuration instructions for versions 3.1 and above. Thanks @melisdogan (#650).Published by aoberoi about 6 years ago
WebClient
. Just pass a headers
option to the constructor. Thanks @ethan0920 (#629).agent
option on WebClient
using an agent from https-proxy-agent
. Thanks @aoberoi (#645).Fixes pagination sample code. Thanks @smaeda-ks (#641).
Adds missing WebClient
instance in the Getting Started guide. Thanks @jharrilim (#637).
Adds documentation for using the package within a TypeScript project - see https://slackapi.github.io/node-slack-sdk/typescript. Thanks @aoberoi (#644).
Clarifies usage of Web API methods with no required options using callbacks. Thanks @aoberoi (#631).
Published by aoberoi about 6 years ago
This version is a special pre-release that is specifically meant to address a security issue. See #621 for details
https-proxy-agent
dependency (thanks @mistydemeo) #621Published by shaydewael about 6 years ago
Published by aoberoi about 6 years ago
RTMClient.start()
now returns a Promise that resolves with the data emitted with the authenticated
event - thanks @clavin (#611)state
property to the type definition of Dialog
- thanks @DominikPalo (#619)RTMClient
did not emit the "disconnected"
event when it fails to connect - thanks @clavin (#610)got
dependency with axios
- thanks @aoberoi (#620)Published by aoberoi about 6 years ago
X-Slack-User
header. Whenon_behalf_of
option. - thanks @aoberoi (#609)rejectRateLimitedCalls
option in the WebClient
constructor allows you to customize how you'd like to handletrue
, the WebClient
will not attempt to retry an API call for you, and will insteadcode
property set to the value ErrorCode.RateLimitedError
. - thanks @aoberoi (#599)cursor
and limit
options directly, but if you don't pass either when calling a method, theWebClient
will automatically iterate through all the pages and returned a merged result. - thanks @aoberoi (#596)WebClient
will warn when calling deprecated methods (files.comments.add
and files.comments.edit
) - thanks @aoberoi (#604)RTMClient#disconnect()
was called from the connecting
state - thanks @aoberoi (#603)WebClient
with an unrelated error - thanks @aoberoi (#587)@types/node
than this package specifies - thanks @aoberoi (#605)Dialog.selected_options
type definition - thanks @harveyr (#588)Published by aoberoi over 6 years ago
This version is a special pre-release that is specifically meant to address a security issue. See #547 for details
request
dep to solve for CVE-2018-3728. (thanks @aoberoi) #590users.setActive
(thanks @DominikPalo) #464Published by aoberoi over 6 years ago
RTMClient
would crash after its connection was interrupted because upon reconnection the connection monitoring code would improperly handle new messages as pongs. (#578) - thanks @aoberoi.Published by aoberoi over 6 years ago
WebClient
: apps.permissions.resources.list
andapps.permissions.scopes.list
(#568) - thanks @ggruizRTMClient
instance throws errors while trying to reconnect after a connection interuptionWebClient
was not triggering, and adds tests (#570, #573) - thanks @ggruizIncomingWebhookResult
type to exports (#562) - thanks @mledomoptions
argument of RTMClient#start()
to be optional as it was intended (#567) - thanks @christophehurpeauPublished by aoberoi over 6 years ago
notify_on_cancel
field to the Dialog
type definition (#541) - thanks @DominikPaloAttachmentAction
type definition to express the type of the action
property of MessageAttachment
. (#543, #551) - thanks @brianeletype, @DominikPaloSelectOption
type defintion and related properties to the Dialog
type definition. (#549) - thanks @DominikPaloscopes
property in WebClient
responses. (#554) - thanks @aoberoiRTMClient
where websocket errors in the connecting:authenticated
state would cause the programKeepAlive
would monitor the RTM connection while the websocket was not ready after a"files"
key in package.json
to implement a whitelist of files that are packed for npm publish
.Published by shaydewael over 6 years ago
mrkdwn_in
and callback_id
fields in message attachments for formatting on attachment fields (#528) - thanks @DominikPalovalidate
argument for channels.join
method (#530) - thanks @DominikPalousers.conversations
method (#532) - thanks @DominikPalosend()
call (#535) - thanks @franckbrignoliPublished by aoberoi over 6 years ago
IncomingWebhook.send()
works with both callbacks and Promises (#508) - thanks @clavinWebClient
method arguments (#512) - thanks @clavinfiles.upload
to work with Buffers (in addition to ReadableStreams) (#500) - thanks @KharitonOffWebClient.apiCall()
options don't look like the right type (#522) - thanks @aoberoicallbackify
(#518) - thanks @aoberoiexamples
directory back to the repository (#520) - thanks @aoberoiPublished by aoberoi over 6 years ago
"name"
or "version"
were not defined in the package.json
file (#478) - thanks @wilhelmklopp @clavin @aoberoiIncomingWebhook.send()
to parse the response as text instead of JSON (#477) - thanks @aoberoiIncomingWebhook
to be initialized without defaults (#479) - thanks @aoberoiWebClient
to be initialized without a token
in TypeScript (#482) - thanks @aoberoiWebClient
method aliases and apiCall()
(#484) - thanks @clavinas_user
in ChatPostMessageArguments
(#475) - thanks @harveyrOAuthAccessArguments
and OAuthTokenArguments
types (#481) - thanks @aoberoiPublished by aoberoi over 6 years ago
Breaking Changes If you are upgrading from a previous version, follow our comprehensive
Migration Guide to learn how to transport
your app into the new, shiny, future!
apiCall(method, options)
public API for making generic Web API calls.Published by aoberoi over 6 years ago
RTM.EVENTS
export (thanks @clavin) #457 #448users.lookupByEmail
to WebClient (thanks @DominikPalo) #434requestOptionsTransport
(thanks @bertrandom) #450As always, just run npm install @slack/client
to get the latest version. Stay tuned for v4, coming soon!