@aborruso/ckan-mcp-server 0.4.86 → 0.4.87

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/LOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # LOG
2
2
 
3
+ ## 2026-03-17
4
+
5
+ - fix(`tools/sparql.ts`): add `; charset=utf-8` to POST Content-Type — fixes accented chars corruption in SPARQL queries (issue #22)
6
+
3
7
  ## 2026-03-16
4
8
 
5
9
  - docs(`tools/datastore.ts`): add security note to `ckan_datastore_search_sql` — clarifies SQL forwarding boundary; bump v0.4.86
package/dist/index.js CHANGED
@@ -4246,7 +4246,7 @@ async function querySparqlEndpoint(endpointUrl, query) {
4246
4246
  response = await fetch(endpointUrl, {
4247
4247
  method: "POST",
4248
4248
  signal: controller.signal,
4249
- headers: { ...commonHeaders, "Content-Type": "application/sparql-query" },
4249
+ headers: { ...commonHeaders, "Content-Type": "application/sparql-query; charset=utf-8" },
4250
4250
  body: query
4251
4251
  });
4252
4252
  if (response.status === 403 || response.status === 405) {
@@ -5124,7 +5124,7 @@ var registerAllPrompts = (server2) => {
5124
5124
  function createServer() {
5125
5125
  return new McpServer({
5126
5126
  name: "ckan-mcp-server",
5127
- version: "0.4.86"
5127
+ version: "0.4.87"
5128
5128
  });
5129
5129
  }
5130
5130
  function registerAll(server2) {