Skip to content

Releases: slackapi/node-slack-sdk

@slack/cli-test@0.1.0-cli.2.25.0

27 May 20:16
65b2332
Compare
Choose a tag to compare

What's Changed

First official GitHub release of the new cli-test module! This module aims to provide node.js bindings for the Slack Platform CLI.

9fb278a cli-test: small internal refactor to use new app.list command (#1797)
c3725a9 cli-test(trace): include test trace constants for 'datastore count' (#1795)
11cb80e cli-test: add app.list command (#1794)

New Contributors

@slack/socket-mode@2.0.0

30 Apr 20:56
6840250
Compare
Choose a tag to compare

What's Changed

New major version! We have dropped the ancient, finite-state-machine-based implementation and ported the rock solid python-slack-sdk socket-mode implementation to node.

We also removed a couple of events and properties that are no longer relevant in the new implementation. Check out our socket mode 1.x -> 2.0 migration guide to get all the details and ease your upgrading path.

Full Changelog

476e6a9 socket-mode: Rewrite to Python(ish) Implementation (#1781)
3ebb6ce socket-mode: do not throw exception when calling disconnect() and already disconnected; do not raise slack_event in case of type:disconnect messages (#1762)
6ab1e68 socket-mode: add more debug logging to low level websocket event handlers (#1757)
46b500d socket-mode: fix bug when apps.connections.open returns an error and won't retry (#1735)
a6f2b28 socket-mode: prep for major release, start now completes only once Connected state is emitted (#1732)

@slack/socket-mode@1.3.5

30 Apr 20:12
56ddc94
Compare
Choose a tag to compare

Final 1.x Release

Please note that this will be the final planned release of @slack/socket-mode in the 1.x line. The next release will be 2.0, which will include a few breaking changes.

What's Changed

A few bug fixes and stability improvements were landed in this release:

  • WebSocket messages of type:disconnect coming from the Slack backend should now consistently force-reconnect the socket mode client; previously certain type:disconnect messages (containing a specific reason property) were not treated in this way.
  • All type:disconnect messages from the Slack backend now do not raise a slack_event event; this led to problems, particularly for users of bolt-js.
  • Calling disconnect() if the client is already disconnected no longer raises an exception.

Full Changelog

dc48959 socket-mode: do not throw if calling disconnect() and already disconnected, and do not raise slack_event if message received is of type: disconnect

@slack/web-api@7.04

19 Apr 12:51
b653d85
Compare
Choose a tag to compare

What's Changed

We released a fix for the oauth.v2.exchange method argument type; previously it did not require a token, which was incorrect. It now requires a token parameter, which matches the expectations of this API method.

Full Changelog

ae755dc web-api(fix): oauth.v2.exchange method requires a token parameter (#1779) - thanks for reporting @iggyray!

@slack/web-api@7.0.3

15 Apr 17:17
3ed5a59
Compare
Choose a tag to compare

What's Changed

We've deprecated the files.upload method. Check out our announcement on the topic here. Instead, use the uploadV2 method provided by the client.

Full Changelog

ae9ace8 web-api(fix): fix node-retry types (#1772) - thanks @cotsupa!
fec4895 web-api(docs): Add deprecation JSdoc to files.upload method (#1773)
8bff32f web-api(fix): Fix typo in error throwing for rate limit exceeded (#1755) - thanks @WhiteKiwi!

@slack/rtm-api@7.0.0

01 Apr 18:46
2649398
Compare
Choose a tag to compare

What's Changed

This major release bumps dependencies to their latest versions and sets the minimum node version is to v18, the current LTS node.js. While the library should work with older versions of node, we no longer test the library against versions of node older than 18, so we cannot guarantee compatibility.

In addition, calling disconnect() when already disconnected should no longer throw an exception (fixed #842).

@slack/cli-hooks@1.1.0

27 Mar 02:49
3e29641
Compare
Choose a tag to compare

What's Changed

A new doctor hook was added to surface certain runtime dependencies depended upon by your project! Stay tuned for an upcoming CLI release to find out how it'll be used. Hint: It's related to the doctor command 😉

Full Changelog

  • 3e29641 feat: return runtime versions used by the application with a doctor hook (#1763)

https://github.com/slackapi/node-slack-sdk/compare/@slack/socket-mode@1.3.4...@slack/cli-hooks@1.1.0

@slack/socket-mode@1.3.4

18 Mar 14:43
4008057
Compare
Choose a tag to compare

What's Changed

We added some more debug-level logging to the underlying socket connections used in this package. Now both primary and backup secondary websocket connections are identified in logs, and websocket-level events (like open and close) are logged out at the debug level.

Full Changelog

e3bf5cd socket-mode: add more debug logging to low level websocket event handlers (#1757)

https://github.com/slackapi/node-slack-sdk/compare/@slack/oauth@2.6.2...@slack/socket-mode@1.3.4

@slack/web-api@7.0.2

12 Feb 16:49
7f6c669
Compare
Choose a tag to compare

What's Changed

Nothing major or even minor in this release! Just a few patches:

  • web-api: prevent apps.event.authorizations.list API from ever sending token in the body by @filmaj in #1737
  • web-api(fix): include file or contents types in file_uploads arguments by @zimeg in #1744
  • web-api(fix): share tokens provided as arguments in files upload to upload jobs by @zimeg in #1745
  • web-api(chore): release @slack/web-api@7.0.2 by @zimeg in #1746

Full Changelog: https://github.com/slackapi/node-slack-sdk/compare/@slack/cli-hooks@1.0.0...@slack/web-api@7.0.2

@slack/cli-hooks@1.0.0

26 Jan 22:18
f3dff4d
Compare
Choose a tag to compare

What's Changed

A new package has been introduced to enable inter-process communication between the Slack CLI and applications built with Bolt for JavaScript. That's this @slack/cli-hooks package!

More information on this package can be found on the package's README.md and releases are currently available on NPM.

Full Changelog

f3dff4d Introduce a @slack/cli-hooks package that implements Slack CLI hooks in #1714 - Thanks @zimeg @misscoded @WilliamBergamin @filmaj