Skip to content

Commit 86d4727

Browse files
committed
v4.4.0
1 parent da4b0ec commit 86d4727

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

docs/_posts/2018-08-10-v4.4.0.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
layout: changelog
3+
---
4+
5+
## New Features
6+
7+
- Workspace apps can now call methods on behalf of users for methods which require the `X-Slack-User` header. When
8+
calling one of these methods, specify the user ID in the new `on_behalf_of` option. - thanks @aoberoi (#609)
9+
- The new `rejectRateLimitedCalls` option in the `WebClient` constructor allows you to customize how you'd like to handle
10+
rate limiting. If you set it to `true`, the `WebClient` will not attempt to retry an API call for you, and will instead
11+
return an error with a `code` property set to the value `ErrorCode.RateLimitedError`. - thanks @aoberoi (#599)
12+
- Automatic pagination for cursor-based pagination enabled methods: It's always recommended to perform
13+
pagination using the `cursor` and `limit` options directly, but if you don't pass either when calling a method, the
14+
`WebClient` will automatically iterate through all the pages and returned a merged result. - thanks @aoberoi (#596)
15+
- The `WebClient` will warn when calling deprecated methods (`files.comments.add` and `files.comments.edit`) - thanks @aoberoi (#604)
16+
17+
## Bug fixes and more
18+
19+
- Fixes the crash when `RTMClient#disconnect()` was called from the `connecting` state - thanks @aoberoi (#603)
20+
- Fixes an issue where uploading a file without a token fails in `WebClient` with an unrelated error - thanks @aoberoi (#587)
21+
- Resolves an issue where your app requires a newer version of `@types/node` than this package specifies - thanks @aoberoi (#605)
22+
- Fixes the `Dialog.selected_options` type definition - thanks @harveyr (#588)
23+
- Adds information, fixes syntax issues, and corrects typos in the documentation - thanks @chris-peterson, @jd0920 (#584, #600, #601)
24+
- Tests against node v10 in Travis - thanks @aoberoi (#606)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@slack/client",
3-
"version": "4.3.1",
3+
"version": "4.4.0",
44
"description": "Slack Developer Kit - official clients for the Web API, RTM API, and Incoming Webhooks",
55
"author": "Slack Technologies, Inc.",
66
"license": "MIT",

0 commit comments

Comments
 (0)