Releases: adamtan945/slack-cli
Releases · adamtan945/slack-cli
v2026.4.11
Version scheme switched from SemVer to CalVer (
YYYY.M.D) starting from this release.
Added
history -u / --url: Accept a Slack thread URL and auto-extract channel / thread_ts.history -a / --attachments: Download file attachments referenced by messages (works with-c,-u,-t).history -o / --output <dir>: Custom output directory (requires-a). Defaults to/tmp/slack-files/{channelId}_{threadTsOrHistory}/.- Downloaded filename format:
{YYYYMMDD-HHMMSS}_{username}_{originalFilename}with_1/_2collision suffix. - Attachment paths rendered inline with 📎 in table / simple / json formats.
package.jsonnow exposesrepository,homepage, andbugsso the npm page links back to GitHub.
Changed
- Version scheme switched from SemVer (
0.22.x) to CalVer (YYYY.M.D).2026.4.11 > 0.22.1, sonpm install -g @kaa5945/slack-clistill picks this as latest.
Fixed
history/searchtimestamps now display in local time instead of UTC.- README badges use absolute GitHub URLs so links work on the npm package page.
版號格式自此版起由 SemVer 改為 CalVer(
YYYY.M.D)。
新增
history -u / --url:接受 Slack thread URL,自動解析 channel / thread_ts。history -a / --attachments:下載 history 抓到的訊息所附的檔案附件(支援-c、-u、-t)。history -o / --output <dir>:自訂下載目錄(需搭配-a),預設/tmp/slack-files/{channelId}_{threadTsOrHistory}/。- 下載檔名格式:
{YYYYMMDD-HHMMSS}_{username}_{原檔名},同名衝突以_1、_2遞增。 - 附件路徑在 table / simple / json 三種格式都以 📎 渲染。
package.json新增repository、homepage、bugs欄位,npm 頁面可正確連回 GitHub。
變更
- 版號格式由 SemVer(
0.22.x)改為 CalVer(YYYY.M.D)。2026.4.11 > 0.22.1,npm install -g @kaa5945/slack-cli仍會取到此版本。
修正
history/search時間顯示改為本地時區,不再顯示 UTC+0。- README 徽章連結改用 GitHub 絕對網址,npm 頁面點擊正常。