Repository navigation
Releases
v2.0.0 — Full current Slack Web API coverage
GASlacker 2.0.0 exposes 391 Slack Web API methods from Google Apps Script. It covers all 355 functional methods in Slack’s November 13, 2026 index, including all 131 indexed Enterprise administration methods. The remaining 36 are documented separately in Slack’s guides, SDKs and CLI.
Install or update
- Apps Script library: select version 10 in your existing GASlacker library configuration and save. For a new project, follow the installation guide.
- Direct paste: download the attached
bundle.jsand replace your existing copy. - Migration: remove calls to
users.setActive. Slack retired the underlying behavior. Useusers.setPresencefor manual away or automatic presence. The existingoauth.accessalias continues to use OAuth v2, and classic OAuth v1 is available atoauth.v1.access.
Highlights
- Adds named methods for Enterprise administration, Admin Oversight, Legal Holds, Slackbot Skills, real-time search, datastores and workflow triggers.
- Reads and deletes historical file comments and returns compressed enterprise analytics downloads as Apps Script Blobs.
- Updates the development dependencies, improves file uploads and rate-limit retries, and checks the tested catalog against Slack’s official method index on pull requests and weekly.
Verification
All 506 tests passed. No current methods were missing from the official Web API index or Node SDK. All 391 routes were reached in token-free checks, and the seven smoke checks passed. The bundle and manifest retrieved from Apps Script version 10 match this release byte for byte. Authenticated Enterprise operations were not exercised.
v1.4.0 — Safer auth and rate-limit handling
This release hardens authentication and deployment safety, fixes OpenID user-info and token rotation, makes rate-limit exhaustion return a structured error, and restores the weekly API parity alert. It also adds chat.scheduledMessages.list and keeps the published bundle dependency-free. See CHANGELOG.md for full details.
v1.3.0 — Repository unified to English
Changed (breaking)
- The three error messages
BaseAPI/Files.uploadV2throw on invalid input are now in English (params must be an object,Specify either file or content,file must be a Blob) instead of Japanese. Behavior and conditions are unchanged; only the message text changed.
Changed
- Repository language unified to English. All source comments,
AGENTS.md,CONTRIBUTING.md,docs/verification.md, dev scripts (verify-live.mjs,check-parity.mjs), and CI workflow comments are now in English.README.ja.mdis removed; the landing page (docs/index.html) remains multilingual for end users, but its literal page content is now English, with Japanese and four other languages served as runtime-switchable dictionaries. - Landing page language switcher reordered English-first, then by relevance to this project's audience: English, 日本語, 简体中文, Español, Português, 한국어. Browser-language auto-detection and the
localStorage-saved preference now default to English when nothing matches.
Full diff: v1.2.1...v1.3.0
v1.2.1
Internal refactoring for clarity — no behavior change except users.setPhoto now rejects non-object params like every other method. Introduces the SlackParams type alias (re-exported with SlackResponse), folds config.ts into BaseAPI.ts, and makes the live-verification harness Windows-friendly. Details: CHANGELOG.md
v1.2.0
Toolchain refreshed to the 2026 generation, and TypeScript support shipped.
Added
- TypeScript definitions in
dist/types/—gas-global.d.tsdeclares theGASlacker/methodsglobals, so all 168 methods autocomplete in clasp + TypeScript projects. - Apps Script editor help: the
methods()stub inbundle.jsnow carries JSDoc.
Changed
- TypeScript 7.0 (native Go compiler, GA 2026-07-08): the codebase passes its stricter defaults with explicit
string | nulltoken types. - Vite 8 + Rolldown: ~3x faster builds, slightly smaller bundle. Stub structure and live request routes re-verified against the real Slack API.
- oxlint 1.75 / oxfmt 0.60 / pnpm 11 / clasp 3.3 / latest GAS types.
- Dropped
cpx,rimraf, and the vestigialbracespin (replaced by Node built-ins) — devDependencies down to 9.
Published as Apps Script library version 6.
Full changelog: CHANGELOG.md
v1.1.0
Full parity with Slack's official SDK method list (minus admin.* and discontinued APIs) — 168 endpoints, every one verified to exist on the live Slack API. Published as Apps Script library version 5.
Added
- 52 new methods:
calls.*,slackLists.*(Lists API),openid.connect.*(Sign in with Slack),functions.*,tooling.tokens.rotate,workflows.featured.*,entity.presentDetails,apps.manifest.*,apps.user.connection.update,auth.teams.list,chat.startStream/appendStream/stopStream(AI assistant streaming), Slack Connect conversation methods,team.billing/preferences/externalTeams,users.discoverableContacts.lookup. slack.paginate(api, params, method, maxPages)— cursor pagination helper that followsresponse_metadata.next_cursor, with the same 429 retry handling as every other call.slack.call(api, params, 'form')— form-encoded escape hatch.deleteis now a first-class method name:chat.delete(),files.delete(),canvases.delete(), … (the olderdelete_aliases still work).
Full changelog: CHANGELOG.md
v1.0.1
Verified live, end to end. The minimal verification set from docs/verification.md now passes against the real Slack API with a live token — including a real chat.postMessage and a real 3-step files.uploadV2 upload. The library is also published as an Apps Script library (script ID in the README, version 4).
Fixed
files.getUploadURLExternal(and step 1 offiles.uploadV2) now sends form-encoded requests. The live endpoint rejects JSON bodies withinvalid_arguments, which only surfaced during real-token verification (pnpm run verify:live).
Full changelog: CHANGELOG.md
v1.0.0
The first stable release. Every endpoint shipped in this release is verified to exist on the live Slack API (dead endpoints answer unknown_method; see tests/routing.spec.ts).
Highlights
files.uploadV2now actually works — it previously POSTed tohttps://slack.com/api/files.uploadV2, an endpoint that does not exist. It is now a composite of the official 3-step flow:files.getUploadURLExternal→ upload →files.completeUploadExternal, in one call.- New APIs:
canvases.*(incl.access/sections),conversations.canvases.create,assistant.threads.*. - Quality:
SlackResponsetype on all results, tsc typecheck, 152 tests including a routing table that pins all 116 endpoints, GitHub Actions CI with a dist-sync check. - Docs: English-first README with a Japanese version (
README.ja.md), CHANGELOG, CONTRIBUTING, SECURITY.
Breaking changes
- Removed endpoints discontinued by Slack:
files.comments.add/edit/delete,apps.permissions.*. - Empty HTTP response bodies now return
{ ok: false, error: 'empty_response' }instead of{}.
Install
No build needed — paste dist/bundle.js (also attached below) into an Apps Script project. See the README for the library setup.
Full changelog: CHANGELOG.md
v0.0.3: Merge pull request #4 from yhay81/develop
- Update how to import the library.