@willh/now 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +14 -1
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -10,6 +10,18 @@
10
10
 
11
11
  * * *
12
12
 
13
+ ## [0.5.0] - 2026-09-01
14
+
15
+ ### 新增
16
+
17
+ - 新增 `now delete <URL>` 命令,專門用於刪除 Azure Storage Blob 檔案或資料夾路徑:
18
+ - 單檔刪除:傳入 Blob 檔案網址發送 HTTP DELETE 請求刪除該單一 Blob。
19
+ - 資料夾批次刪除:傳入以 `/` 結尾的資料夾網址時,自動透過 Azure Storage List Blobs REST API 列出該 prefix 下的所有 Blob,並支援分頁標記(NextMarker)全數刪除。
20
+ - SAS Token 自動附加:傳入公開 Blob 網址時,自動從本機 `.now.json`、全域設定檔、`.env` 或環境變數 `NOW_AZURE_BLOB_SAS_URL` 擷取 SAS Token 附加至查詢與刪除請求中;若網址已帶有 SAS 查詢字串則直接使用。
21
+ - 支援 `--dry-run`(資料夾模式下預先列出所有匹配檔案清單與總數)、`--json` 與 `--verbose` 旗標。
22
+
23
+ * * *
24
+
13
25
  ## [0.4.0] - 2026-08-31
14
26
 
15
27
  ### 新增
@@ -144,7 +156,8 @@
144
156
  - 提供 macOS Apple Silicon、macOS Intel、Linux x64 glibc 與 Windows x64 原生執行檔及 SHA-256 checksum。
145
157
  - 提供 npm、Unix-like 安裝腳本、Windows PowerShell 安裝腳本與 GitHub Release 發布流程。
146
158
 
147
- [Unreleased]: https://github.com/doggy8088/now/compare/v0.4.0...HEAD
159
+ [Unreleased]: https://github.com/doggy8088/now/compare/v0.5.0...HEAD
160
+ [0.5.0]: https://github.com/doggy8088/now/compare/v0.4.0...v0.5.0
148
161
  [0.4.0]: https://github.com/doggy8088/now/compare/v0.3.0...v0.4.0
149
162
  [0.3.0]: https://github.com/doggy8088/now/compare/v0.2.1...v0.3.0
150
163
  [0.2.1]: https://github.com/doggy8088/now/compare/v0.2.0...v0.2.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willh/now",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "A tool for quickly deploying static sites to multiple hosting providers",
5
5
  "bin": {
6
6
  "now": "npm/cli.cjs"