node-slack-sdk

Slack Developer Kit for Node.js

MIT License

Downloads
33.1M
Stars
3.3K
Committers
190

Bot releases are hidden (Show)

node-slack-sdk -

Published by aoberoi over 5 years ago

Fixes matching with actionId and blockId (#90)

Original: https://github.com/slackapi/node-slack-interactive-messages/releases/tag/v1.1.1

node-slack-sdk - @slack/client v4.12.0

Published by shaydewael over 5 years ago

  • Adds support for scheduled messages (#743)
  • Changes p-cancelable version to ~1.0.0 to fix type errors (#743)
node-slack-sdk - @slack/client v4.11.0

Published by aoberoi over 5 years ago

  • Deprecates auto-pagination. (#721) - thanks @aoberoi
  • Changes log level of failed requests from DEBUG to WARN. (#718) - thanks @aoberoi
  • Fixes bug where http_proxy and https_proxy environment variables unexpectedly interact with WebClient and
    RTMClient configuration. (#672) - thanks @aoberoi
  • Fixes tests for IncomingWebhook agent option. (#719) - thanks @aoberoi
  • Updates dependencies. (#725) - thanks @aoberoi
node-slack-sdk - @slack/client v4.9.0

Published by aoberoi over 5 years ago

  • Adds support for Block Kit (#688) - thanks @shanedewael
  • Adds deprecation warnings for callback and refresh token use (#698) - thanks @aoberoi
node-slack-sdk - @slack/client v4.10.0

Published by aoberoi over 5 years ago

  • Adds deprecation warnings for usage of a logging function. Use a Logger object instead. (#703) - thanks @aoberoi
node-slack-sdk - @slack/client v4.8.0

Published by aoberoi about 6 years ago

New Features

  • The 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)

Documentation improvements

  • Fixes the TypeScript lib configuration instructions for versions 3.1 and above. Thanks @melisdogan (#650).
node-slack-sdk - @slack/client v4.7.0

Published by aoberoi about 6 years ago

New Features

  • You can now specify HTTP headers you'd like to include on all requests from WebClient. Just pass a headers option to the constructor. Thanks @ethan0920 (#629).

Bug fixes

  • Fixes a bug when specifying the agent option on WebClient using an agent from https-proxy-agent. Thanks @aoberoi (#645).

Documentation improvements

  • 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).

node-slack-sdk - @slack/client v3.16.1-sec.2

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

  • Upgrades the https-proxy-agent dependency (thanks @mistydemeo) #621
node-slack-sdk - @slack/client v4.6.0

Published by shaydewael about 6 years ago

New Features

  • Adds support for short lived tokens and automatic token refresh (#617) - thanks @aoberoi and @shanedewael
node-slack-sdk - @slack/client v4.5.0

Published by aoberoi about 6 years ago

New Features

  • RTMClient.start() now returns a Promise that resolves with the data emitted with the authenticated event - thanks @clavin (#611)
  • Adds the state property to the type definition of Dialog - thanks @DominikPalo (#619)

Bug Fixes

  • Fixes an issue where RTMClient did not emit the "disconnected" event when it fails to connect - thanks @clavin (#610)

Other

  • Replaces the got dependency with axios - thanks @aoberoi (#620)
node-slack-sdk - @slack/client v4.4.0

Published by aoberoi about 6 years ago

New Features

  • Workspace apps can now call methods on behalf of users for methods which require the X-Slack-User header. When
    calling one of these methods, specify the user ID in the new on_behalf_of option. - thanks @aoberoi (#609)
  • The new rejectRateLimitedCalls option in the WebClient constructor allows you to customize how you'd like to handle
    rate limiting. If you set it to true, the WebClient will not attempt to retry an API call for you, and will instead
    return an error with a code property set to the value ErrorCode.RateLimitedError. - thanks @aoberoi (#599)
  • Automatic pagination for cursor-based pagination enabled methods: It's always recommended to perform
    pagination using the cursor and limit options directly, but if you don't pass either when calling a method, the
    WebClient will automatically iterate through all the pages and returned a merged result. - thanks @aoberoi (#596)
  • The WebClient will warn when calling deprecated methods (files.comments.add and files.comments.edit) - thanks @aoberoi (#604)

Bug fixes and more

  • Fixes the crash when RTMClient#disconnect() was called from the connecting state - thanks @aoberoi (#603)
  • Fixes an issue where uploading a file without a token fails in WebClient with an unrelated error - thanks @aoberoi (#587)
  • Resolves an issue where your app requires a newer version of @types/node than this package specifies - thanks @aoberoi (#605)
  • Fixes the Dialog.selected_options type definition - thanks @harveyr (#588)
  • Adds information, fixes syntax issues, and corrects typos in the documentation - thanks @chris-peterson, @jd0920 (#584, #600, #601)
  • Tests against node v10 in Travis - thanks @aoberoi (#606)
node-slack-sdk - @slack/client v3.16.1-sec

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

  • Drops support for node < v4 and updates request dep to solve for CVE-2018-3728. (thanks @aoberoi) #590
  • Removes deprecated facet users.setActive (thanks @DominikPalo) #464
node-slack-sdk - @slack/client v4.3.1

Published by aoberoi over 6 years ago

  • 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.
node-slack-sdk - @slack/client v4.3.0

Published by aoberoi over 6 years ago

  • 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
node-slack-sdk - @slack/client v4.2.2

Published by aoberoi over 6 years ago

  • 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.
node-slack-sdk - @slack/client v4.2.0

Published by shaydewael over 6 years ago

  • 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
node-slack-sdk - @slack/client v4.1.0

Published by aoberoi over 6 years ago

  • 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
node-slack-sdk - @slack/client v4.0.1

Published by aoberoi over 6 years ago

  • 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
node-slack-sdk - @slack/client v4.0.0

Published 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!

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
node-slack-sdk - @slack/client v3.16.0

Published by aoberoi over 6 years ago

  • Adds several missing RTM events into RTM.EVENTS export (thanks @clavin) #457 #448
  • Adds users.lookupByEmail to WebClient (thanks @DominikPalo) #434
  • Fixes stale values kept across requests when using requestOptionsTransport (thanks @bertrandom) #450
  • Adds documentation for presence subscription over RTM (thanks @aoberoi) #454
  • Fixes typos in documentation (thanks @konklone, @marclemagne, @aoberoi) #444, #446, #461, #466

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