Skip to content

Releases: slackapi/node-slack-sdk

@slack/client v4.3.1

07 Jun 04:59
Compare
Choose a tag to compare
  • Fixes an issue where 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.

@slack/client v4.3.0

05 Jun 23:37
Compare
Choose a tag to compare
  • Adds new permissions method named aliases to WebClient: apps.permissions.resources.list and
    apps.permissions.scopes.list (#568) - thanks @ggruiz
  • Fixes an issue where an RTMClient instance throws errors while trying to reconnect after a connection interuption
    (#560) - thanks @aoberoi
  • Fixes issue where rate-limit handling in WebClient was not triggering, and adds tests (#570, #573) - thanks @ggruiz
  • Adds missing IncomingWebhookResult type to exports (#562) - thanks @mledom
  • Changes options argument of RTMClient#start() to be optional as it was intended (#567) - thanks @christophehurpeau

@slack/client v4.2.2

12 May 02:49
Compare
Choose a tag to compare
  • Adds the notify_on_cancel field to the Dialog type definition (#541) - thanks @DominikPalo
  • Adds AttachmentAction type definition to express the type of the action property of MessageAttachment. (#543, #551) - thanks @brianeletype, @DominikPalo
  • Adds the SelectOption type defintion and related properties to the Dialog type definition. (#549) - thanks @DominikPalo
  • Fixes the missing scopes property in WebClient responses. (#554) - thanks @aoberoi
  • Fixes an issue in RTMClient where websocket errors in the connecting:authenticated state would cause the program
    to crash. (#555) thanks @aoberoi
  • Fixes an issue where KeepAlive would monitor the RTM connection while the websocket was not ready after a
    reconnection. (#555) thanks @aoberoi
  • Uses the "files" key in package.json to implement a whitelist of files that are packed for npm publish.

@slack/client v4.2.0

26 Apr 01:14
Compare
Choose a tag to compare
  • Allows mrkdwn_in and callback_id fields in message attachments for formatting on attachment fields (#528) - thanks @DominikPalo
  • Fixes optionality of validate argument for channels.join method (#530) - thanks @DominikPalo
  • Adds the users.conversations method (#532) - thanks @DominikPalo
  • Fixes overwriting of default parameters after send() call (#535) - thanks @franckbrignoli
  • Fixes and adds logging for unexpected websocket close in StateMachine (#537) - thanks @shanedewael

@slack/client v4.1.0

23 Mar 23:36
Compare
Choose a tag to compare
  • IncomingWebhook.send() works with both callbacks and Promises (#508) - thanks @clavin
  • Completes type defintions for all WebClient method arguments (#512) - thanks @clavin
  • Allows files.upload to work with Buffers (in addition to ReadableStreams) (#500) - thanks @KharitonOff
  • Allows any WebClient methods argument to work with binary types (#519) - thanks @clavin and @aoberoi
  • Fails when WebClient.apiCall() options don't look like the right type (#522) - thanks @aoberoi
  • Fixes TypeScript compile errors in node >=6 <=8 related to callbackify (#518) - thanks @aoberoi
  • Fixes mismatched parenthesis in RTMClient usage example documentation (#511) - thanks @parthsr
  • Adds examples directory back to the repository (#520) - thanks @aoberoi

@slack/client v4.0.1

15 Mar 00:37
Compare
Choose a tag to compare
  • Fixes crash in projects where "name" or "version" were not defined in the package.json file (#478) - thanks @wilhelmklopp @clavin @aoberoi
  • Fixes IncomingWebhook.send() to parse the response as text instead of JSON (#477) - thanks @aoberoi
  • Allows IncomingWebhook to be initialized without defaults (#479) - thanks @aoberoi
  • Allows WebClient to be initialized without a token in TypeScript (#482) - thanks @aoberoi
  • Allows unspecificed arguments to be used with WebClient method aliases and apiCall() (#484) - thanks @clavin
  • Exports method argument types as top level exports in the type declarations (#483) - thanks @aoberoi
  • Fixes inaccurate property type for as_user in ChatPostMessageArguments (#475) - thanks @harveyr
  • Improves the OAuthAccessArguments and OAuthTokenArguments types (#481) - thanks @aoberoi

@slack/client v4.0.0

08 Mar 18:56
Compare
Choose a tag to compare

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!

WebClient

  • New apiCall(method, options) public API for making generic Web API calls.
  • Improved logging
  • Improved error management
  • Configuration for custom http Agent
  • Custom TLS configuration
  • Tons of performance improvements

RTMClient

  • Improved message queuing - No need to wait for client to connect before sending a message.
  • Lifecycle events driven by an all-new state machine
  • New keep-alive algorithm
  • Improved logging
  • Improved error management
  • Configuration for custom http Agent
  • Custom TLS configuration
  • Tons of performance improvements

General

  • TypeScript declarations available for all APIs 🎉
  • Updates all dependencies to their latest version
  • Drops support for node versions less than 6.0

@slack/client v3.16.0

02 Feb 23:19
Compare
Choose a tag to compare

As always, just run npm install @slack/client to get the latest version. Stay tuned for v4, coming soon!

@slack/client v3.15.0

22 Dec 05:38
Compare
Choose a tag to compare

Deprecates data store APIs See the migration document for more details: https://github.com/slackapi/node-slack-sdk/wiki/DataStore-v3.x-Migration-Guide

  • Major docs content rewrite (thanks @aoberoi) #428, #239, #305, #310, #364, #366, #413, #411, #423
  • Adds chat.getPermalink Web API method (thanks @DominikPalo) #431
  • Adds opts.user argument to users.identity Web API method (thanks @bertrandom) #432
  • Fixes bug with not passing optional arguments for conversations.info (thanks @aoberoi) #441
  • Fixes dead link to node-retry (thanks @pine) #433
  • Adds eaiser support for Buffer input in files.upload Web API method (thanks @aoeberoi) #307
  • Refactors logger usage across the package (thanks @aoberoi) #334
  • General JSDoc, require(), dead code, clean up

@slack/client 3.14.2

15 Nov 22:44
ec04e5d
Compare
Choose a tag to compare

Adds a new transport that lets you define options on the request module, expose it from the library