@slack/client
Version:
A library for creating a Slack client
21 lines • 1.7 kB
Markdown
---
layout: changelog
---
* Adds a number of new web client API facets:
- [`dnd`](/lib/clients/web/facets/dnd.js)
- [`files.comments`](/lib/clients/web/facets/files.comments.js)
- [`mpim`](/lib/clients/web/facets/mpim.js)
- [`usergroups`](/lib/clients/web/facets/usergroups.js)
- [`usergroups.users`](/lib/clients/web/facets/usergroups.users.js)
* **BREAKING** Changes the function signatures for some facet methods:
- [`channels.list`](/lib/clients/web/facets/channels.js): `exclude_archived` moves to an `opts` object, instead of being a separate argument
- [`groups.list`](/lib/clients/web/facets/groups.js): `exclude_archived` moves to an `opts` object, instead of being a separate argument
- [`chat.delete`](/lib/clients/web/facets/chat.js): The `ts` and `channel` arguments are re-ordered to be alphabetical
- [`stars.list`](/lib/clients/web/facets/stars.js): `user` moves to an `opts` object, instead of being a separate argument
- [`users.list`](/lib/clients/web/facets/users.js): `presence` moves to an `opts` object, instead of being a separate argument
* **BREAKING** Updates the function signature for [`BaseAPIClient.prototype.makeAPICall`](/lib/clients/client.js) to take required API args and optional API args as separate params, from `makeAPICall(endpoint, optData, optCb)` to `makeAPICall(endpoint, apiArgs, apiOptArgs, optCb)`
* New methods are added to various facets:
- [`files.revokePublicURL`](/lib/clients/web/facets/files.js)
- [`files.sharedPublicURL`](/lib/clients/web/facets/files.js)
- [`team.integrationLogs`](/lib/clients/web/facets/team.js)
- [`team.integrationLogs`](/lib/clients/web/facets/team.js)