@exabugs/dynamodb-client 1.3.18 → 1.3.20
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 +21 -0
- package/dist/server/handler.cjs +4 -19
- package/dist/server/handler.cjs.map +2 -2
- package/dist/server/operations/find/nearQuery.d.ts.map +1 -1
- package/dist/server/operations/find/nearQuery.js +1 -16
- package/dist/server/operations/find/nearQuery.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.3.20] - 2026-01-03
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **Geohash検索spec**: dynamodb-clientの汎用機能としてGeohash検索specを追加
|
|
15
|
+
- `.kiro/specs/dynamodb-client/geohash-search/` ディレクトリに移動
|
|
16
|
+
- requirements.md, design.md, tasks.md, verification-plan.mdを含む
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- **$nearクエリインターフェース**: 簡易形式のみに変更
|
|
21
|
+
- MongoDB互換のGeoJSON形式(`$geometry`)を削除
|
|
22
|
+
- 簡易形式(`latitude`, `longitude`直接指定)のみを推奨
|
|
23
|
+
- より直感的で使いやすいインターフェースに統一
|
|
24
|
+
|
|
25
|
+
## [1.3.19] - 2026-01-03
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- デバッグログを削除(v1.3.17で追加した調査用ログを削除)
|
|
30
|
+
|
|
10
31
|
## [1.3.18] - 2026-01-03
|
|
11
32
|
|
|
12
33
|
### Fixed
|
package/dist/server/handler.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// @exabugs/dynamodb-client v1.3.
|
|
2
|
-
// Built: 2026-01-
|
|
1
|
+
// @exabugs/dynamodb-client v1.3.20
|
|
2
|
+
// Built: 2026-01-02T23:49:33.625Z
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
@@ -30583,22 +30583,7 @@ async function executeNearQuery(resource, fieldName, nearQuery, limit, requestId
|
|
|
30583
30583
|
geohashPrefix,
|
|
30584
30584
|
count: validRecords.length
|
|
30585
30585
|
});
|
|
30586
|
-
const cleanRecords = validRecords.map((record) =>
|
|
30587
|
-
logger9.debug("Before extractCleanRecord", {
|
|
30588
|
-
requestId,
|
|
30589
|
-
resource,
|
|
30590
|
-
recordKeys: Object.keys(record),
|
|
30591
|
-
hasData: "data" in record
|
|
30592
|
-
});
|
|
30593
|
-
const clean = extractCleanRecord(record);
|
|
30594
|
-
logger9.debug("After extractCleanRecord", {
|
|
30595
|
-
requestId,
|
|
30596
|
-
resource,
|
|
30597
|
-
cleanKeys: Object.keys(clean),
|
|
30598
|
-
hasLocation: "location" in clean
|
|
30599
|
-
});
|
|
30600
|
-
return clean;
|
|
30601
|
-
});
|
|
30586
|
+
const cleanRecords = validRecords.map((record) => extractCleanRecord(record));
|
|
30602
30587
|
logger9.debug("Clean records extracted", {
|
|
30603
30588
|
requestId,
|
|
30604
30589
|
resource,
|
|
@@ -33473,7 +33458,7 @@ async function handler(event) {
|
|
|
33473
33458
|
return createCorsResponse(HTTP_STATUS.OK);
|
|
33474
33459
|
}
|
|
33475
33460
|
if (event.requestContext.http.method === "GET" && event.requestContext.http.path === "/version") {
|
|
33476
|
-
const version = "1.3.
|
|
33461
|
+
const version = "1.3.20";
|
|
33477
33462
|
return createSuccessResponse({ version, timestamp: (/* @__PURE__ */ new Date()).toISOString() }, requestId);
|
|
33478
33463
|
}
|
|
33479
33464
|
if (event.requestContext.http.method !== "POST") {
|