@akesson/figma-explorer 0.3.0 → 0.3.1

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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.3.1] - 2026-11-07
11
+
12
+ ### Fixed
13
+
14
+ - **A newly configured folder shows up in `ls` before it's prefetched.** Root
15
+ `ls` used to list only folders with cached files, so after adding a folder
16
+ id to `FIGMA_PROJECTS_IDS` it looked as if the config hadn't been read. A
17
+ configured folder with nothing cached now gets its own row, named and
18
+ counted from the folder listing `ls` already makes:
19
+ `proj:3 "Mobile" (23 files on Figma, none cached — run `figma-explorer cache prefetch`)`.
20
+ If Figma refuses to list the folder, the row shows the error instead.
21
+ `ls` still doesn't fetch the files, and `--cache-only` shows the row from
22
+ the last listing without making requests.
23
+
24
+ - **`cache prefetch` retries transient failures.** A file whose fetch timed
25
+ out, hit a 429, or got a 5xx used to fail for the run, so finishing a large
26
+ folder took several reruns. Each file is now retried up to twice with
27
+ backoff (honoring `Retry-After`), and each retry is logged with how long
28
+ the failed attempt took. A 403/404 is not retried.
29
+
30
+ - **Reruns of `cache prefetch` are fast.** A rerun polled the comments of
31
+ every unchanged file, one request each — about a minute for 50 files even
32
+ with nothing to do. Comments checked in the last 5 minutes are now
33
+ skipped, the same window `comments` uses.
34
+
35
+ - **`ls` no longer calls retried files "added".** When a folder sync
36
+ re-fetched files whose earlier fetch had failed, stderr said they were
37
+ "added to Figma folders". It now says
38
+ `cache: retrying N files that failed to fetch earlier (…)`.
39
+
10
40
  ## [0.3.0] - 2026-10-28
11
41
 
12
42
  ### Added
@@ -19,7 +19,7 @@
19
19
  "hasInstallScript": true,
20
20
  "license": "MIT",
21
21
  "name": "@akesson/figma-explorer",
22
- "version": "0.3.0"
22
+ "version": "0.3.1"
23
23
  },
24
24
  "node_modules/detect-libc": {
25
25
  "engines": {
@@ -48,5 +48,5 @@
48
48
  }
49
49
  },
50
50
  "requires": true,
51
- "version": "0.3.0"
51
+ "version": "0.3.1"
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/akesson/figma-explorer/releases/download/v0.3.0"
3
+ "https://github.com/akesson/figma-explorer/releases/download/v0.3.1"
4
4
  ],
5
5
  "bin": {
6
6
  "figma-explorer": "run-figma-explorer.js"
@@ -95,7 +95,7 @@
95
95
  "zipExt": ".tar.xz"
96
96
  }
97
97
  },
98
- "version": "0.3.0",
98
+ "version": "0.3.1",
99
99
  "volta": {
100
100
  "node": "18.14.1",
101
101
  "npm": "9.5.0"