Skip to content

Releases

v2.0.0 — Full current Slack Web API coverage

Choose a tag to compare

@yhay81 yhay81 released this 12 Nov 15:33
24e9480

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.js and replace your existing copy.
  • Migration: remove calls to users.setActive. Slack retired the underlying behavior. Use users.setPresence for manual away or automatic presence. The existing oauth.access alias continues to use OAuth v2, and classic OAuth v1 is available at oauth.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.

Method catalog · Full changelog · Changes since v1.4.0

v1.4.0 — Safer auth and rate-limit handling

Choose a tag to compare

@yhay81 yhay81 released this 22 Jul 14:36
4f5793e

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

Choose a tag to compare

@yhay81 yhay81 released this 22 Jul 09:38
a7e7dd2

Changed (breaking)

  • The three error messages BaseAPI/Files.uploadV2 throw 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.md is 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

Choose a tag to compare

@yhay81 yhay81 released this 22 Jul 06:25
0ba5226

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

Choose a tag to compare

@yhay81 yhay81 released this 22 Jul 06:05
f4e9cd9

Toolchain refreshed to the 2026 generation, and TypeScript support shipped.

Added

  • TypeScript definitions in dist/types/ — gas-global.d.ts declares the GASlacker / methods globals, so all 168 methods autocomplete in clasp + TypeScript projects.
  • Apps Script editor help: the methods() stub in bundle.js now carries JSDoc.

Changed

  • TypeScript 7.0 (native Go compiler, GA 2026-07-08): the codebase passes its stricter defaults with explicit string | null token 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 vestigial braces pin (replaced by Node built-ins) — devDependencies down to 9.

Published as Apps Script library version 6.

Full changelog: CHANGELOG.md

v1.1.0

Choose a tag to compare

@yhay81 yhay81 released this 22 Jul 05:22
61114f9

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 follows response_metadata.next_cursor, with the same 429 retry handling as every other call.
  • slack.call(api, params, 'form') — form-encoded escape hatch.
  • delete is now a first-class method name: chat.delete(), files.delete(), canvases.delete(), … (the older delete_ aliases still work).

Full changelog: CHANGELOG.md

v1.0.1

Choose a tag to compare

@yhay81 yhay81 released this 22 Jul 04:19
129f46f

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 of files.uploadV2) now sends form-encoded requests. The live endpoint rejects JSON bodies with invalid_arguments, which only surfaced during real-token verification (pnpm run verify:live).

Full changelog: CHANGELOG.md

v1.0.0

Choose a tag to compare

@yhay81 yhay81 released this 21 Jul 20:10
8b75c30

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.uploadV2 now actually works — it previously POSTed to https://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: SlackResponse type 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

Choose a tag to compare

@yhay81 yhay81 released this 06 Dec 14:02
c2123c8
  • Update how to import the library.

v0.0.2

Choose a tag to compare

@yhay81 yhay81 released this 19 Nov 13:00
6f319f5
Merge pull request #2 from yhay81/develop

Update 0.0.2