Skip to content

Releases: slackapi/node-slack-sdk

@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

@slack/client v3.14.0

28 Sep 17:32
Compare
Choose a tag to compare

Adds support for Dialogs

@slack/client v3.13.0

12 Sep 17:40
Compare
Choose a tag to compare

@slack/client v3.12.0

24 Aug 23:58
Compare
Choose a tag to compare

@slack/client v3.11.0

11 Aug 19:04
Compare
Choose a tag to compare
  • Added chat.postEphemeral Web API endpoint to the WebClient (#384) - thanks @shanedewael
  • Added linkNames option to IncomingWebhook (#342) - thanks @mozamimy
  • Ignored package-lock.json for use with npm 5 (#385) - thanks @aoberoi