Repository navigation
Update dependency @slack/web-api to v8 - #131
Merged
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/slack-web-api-8.x
branch
from
July 27, 2026 19:45
32f560c to
de7727c
Compare
renovate
Bot
force-pushed
the
renovate/slack-web-api-8.x
branch
5 times, most recently
from
August 10, 2026 09:05
1288a68 to
fb562a8
Compare
renovate
Bot
force-pushed
the
renovate/slack-web-api-8.x
branch
5 times, most recently
from
September 9, 2026 11:27
46187ae to
48eda26
Compare
renovate
Bot
force-pushed
the
renovate/slack-web-api-8.x
branch
from
September 9, 2026 12:47
48eda26 to
093f15d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.19.0→8.1.1Release Notes
slackapi/node-slack-sdk (@slack/web-api)
v8.1.1Compare Source
Patch Changes
0ee1d99: fix: revert internal packages requiring esm loading for backward compatible support (#2711)v8.1.0Compare Source
Minor Changes
955e6b9: feat(web-api): add support foradmin.users.getExpiration4322e14: feat(web-api): addagents.sessions.renameandagents.sessions.setStatus4ba30a1: feat(web-api): addsession_statustochat.stopStreamargumentsbff3398: feat(web-api): add webapi response changes as of 2026-08-21Regenerate response types with new stable response properties (e.g.
agent_sessionon message-bearing responses,ListViewgrouping/sort/filter fields,bots.infoconnector/workflow flags).Two fields are removed from
UsersListResponse, neither of which is a real success-response property:Member.is_connector_bot— not returned byusers.list; this flag is surfaced onbots.info(added here toBotsInfoResponse).arg— an error-response echo field, not part of a successfulusers.listbody.f5fd35a: feat(web-api): addblocks.validatemethodPatch Changes
916d8e9]f5e9a01]v8.0.0Compare Source
Major Changes
fc98c8c: Drop Node.js 18 support. The minimum supported Node.js version is now 20.fc98c8c: Redesigned error handling to use properErrorsubclasses instead of plain objects with acodeproperty.Migration: Replace
if (error.code === ErrorCode.PlatformError)withif (error instanceof WebAPIPlatformError). All error classes extend a commonSlackErrorbase class (which extendsError), so you can also catch all SDK errors withif (error instanceof SlackError).New error class hierarchy:
SlackError(abstract base)WebAPIPlatformError— Slack API returnedok: falseWebAPIRequestError— Network/transport failure (original error incause)WebAPIHTTPError— Non-200 HTTP status from SlackWebAPIRateLimitedError— HTTP 429 withretryAftersecondsWebAPIFileUploadInvalidArgumentsError— Invalid file upload argumentsWebAPIFileUploadReadFileDataError— Failed to read file data for uploadRemoved factory functions (these were internal but exported — use
newwith the corresponding class instead):errorWithCode()platformErrorFromResult()→new WebAPIPlatformError(...)requestErrorWithOriginal()→new WebAPIRequestError(...)httpErrorFromResponse()→new WebAPIHTTPError(...)rateLimitedErrorWithDelay()→new WebAPIRateLimitedError(...)Other breaking type changes:
WebAPIHTTPError.headerstype changed fromIncomingHttpHeaderstoRecord<string, string>.CodedErrorinterface is deprecated — useinstanceofchecks with specific error classes instead..namevalues changed from generic'Error'to descriptive class names (e.g.,'WebAPIPlatformError').fc98c8c: Replacedaxioswith the standard Fetch API for all HTTP transport. The following options and types have been removed fromWebClientOptions:agent— Use the newfetchoption to provide a custom fetch implementation with proxy or keep-alive support. For proxies, prefer the built-inhttp.setGlobalProxyFromEnv()orNODE_USE_ENV_PROXY=1(Node.js 24+). For advanced use cases:tlsandTLSOptions— Configure TLS via a customfetchimplementation with an undiciAgent, or use theNODE_EXTRA_CA_CERTSenvironment variable.requestInterceptorandRequestInterceptortype — Wrap thefetchfunction to intercept or modify requests before they are sent.adapterandAdapterConfigtype — Use thefetchoption instead.RequestConfigtype (was an alias for Axios'InternalAxiosRequestConfig) — Removed entirely.attachOriginalToWebAPIRequestErroroption — Removed. The original error is now always available via the standardcauseproperty onWebAPIRequestError.The dependencies
axios,form-data,is-electron, andis-streamhave been removed. The defaultfetchimplementation isglobalThis.fetch(available in Node.js 20+).New exported types for custom fetch implementations:
FetchFunction,FetchResponse,FetchRequestInit,FetchHeaders.fc98c8c: Removed previously-deprecated API methods and their associated request/response types:files.upload— UsefilesUploadV2instead (available since v6.7). ThefilesUploadV2method handles the multi-step upload process automatically.rtm.start— Usertm.connectinstead. Thertm.startmethod was deprecated by Slack in favor of the lighter-weightrtm.connect.workflows.stepCompleted,workflows.stepFailed,workflows.updateStep— These methods supported the retired Steps from Apps feature (deprecated August 2023, retired September 2024). Theworkflows.featured.*andadmin.workflows.*methods for the current Workflow Builder remain available.Minor Changes
fc98c8c: feat: expand app manifest types — addagent_viewandassistant_viewfeatures, recent agent events (app_context_changed,assistant_thread_started,assistant_thread_context_changed), optional OAuth scopes (bot_optional/user_optional), and eventmetadata_subscriptionsPatch Changes
bb49d99: fix: apply redact() to API response bodies in debug logs and recurse into nested objects, preventing tokens from leaking into logs when debug logging is enabledfc98c8c]fc98c8c]Configuration
📅 Schedule: (UTC)
* * * * 1-5)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.