Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v4.4.0 #613

Merged
merged 1 commit into from Aug 11, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 24 additions & 0 deletions docs/_posts/2018-08-10-v4.4.0.md
@@ -0,0 +1,24 @@
---
layout: changelog
---

## 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)
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@slack/client",
"version": "4.3.1",
"version": "4.4.0",
"description": "Slack Developer Kit - official clients for the Web API, RTM API, and Incoming Webhooks",
"author": "Slack Technologies, Inc.",
"license": "MIT",
Expand Down