@aborruso/ckan-mcp-server 0.4.27 โ†’ 0.4.29

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/AGENTS.md CHANGED
@@ -45,6 +45,18 @@ Keep this managed block so 'openspec update' can refresh the instructions.
45
45
 
46
46
  **Single test**: `npm test -- tests/unit/http.test.ts` | `npm test -- -t "testName"`
47
47
 
48
+ ## GitHub CLI Notes
49
+
50
+ When creating issues with multi-line bodies, avoid literal `\n` in `--body`. Use a here-doc
51
+ or `-F -` to preserve newlines:
52
+
53
+ ```bash
54
+ cat <<'EOF' | gh issue create --title "Title" --body-file - --repo ondata/ckan-mcp-server
55
+ Line 1
56
+ Line 2
57
+ EOF
58
+ ```
59
+
48
60
  ## TypeScript Style
49
61
 
50
62
  Use strict typing, avoid `any` unless from CKAN payloads. Prefer explicit return types, `type` aliases, ESM imports with `.js` extensions. Keep `noUnusedLocals` and `noUnusedParameters` clean.
package/LOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # LOG
2
2
 
3
+ ## 2026-02-01
4
+
5
+ ### Release v0.4.29
6
+
7
+ - Decode compressed/binary CKAN responses (gzip/br/deflate) to fix DataStore calls on Messina portal
8
+ - Tests: cover gzip, brotli, deflate payloads for HTTP client
9
+ - Files: `src/utils/http.ts`, `tests/unit/http.test.ts`, `package.json`, `package-lock.json`
10
+
3
11
  ## 2026-01-31
4
12
 
5
13
  ### Release v0.4.27
package/README.md CHANGED
@@ -20,6 +20,17 @@ MCP (Model Context Protocol) server for interacting with CKAN-based open data po
20
20
  - ๐Ÿ›ก๏ธ Browser-like headers to avoid WAF blocks
21
21
  - ๐Ÿงช Test suite with 214 tests (100% passing)
22
22
 
23
+ ## Date fields (source vs aggregator)
24
+
25
+ CKAN portals can be *source* catalogs or *harvesting aggregators*.
26
+
27
+ - `issued` / `modified`: publisher content dates (best for "created/updated" when present)
28
+ - `metadata_created` / `metadata_modified`: CKAN record timestamps (publish time on source portals,
29
+ harvest time on aggregators)
30
+
31
+ For "recent content" queries, prefer `issued` with a fallback to `metadata_created`
32
+ when `issued` is missing (see the `content_recent` helper in `ckan_package_search`).
33
+
23
34
  ---
24
35
 
25
36
  ๐Ÿ‘‰ If you want to dive deeper, the [**AI-generated DeepWiki**](https://deepwiki.com/ondata/ckan-mcp-server) is very well done.