Skip to content

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