@exabugs/dynamodb-client 1.2.3 → 1.3.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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,72 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.3.0] - 2026-01-02
11
+
12
+ ### Added
13
+
14
+ - **$nearオペレータ**: MongoDB互換の地理空間検索機能
15
+ - 簡易形式とGeoJSON形式の両方をサポート
16
+ - 9ブロック検索アルゴリズム(中心 + 隣接8方向)
17
+ - 段階的精度緩和(precision 6→5→4)
18
+ - 距離フィルタリング(maxDistance、minDistance)
19
+ - 自動距離計算とソート(`__distance`フィールド)
20
+ - find操作との透過的な統合
21
+
22
+ - **包括的なテストカバレッジ**: 115の新規テスト追加(355→449テスト)
23
+ - nearQuery.ts: 100%カバレッジ(21テスト)
24
+ - filter.ts: 98.37%カバレッジ(54テスト)
25
+ - find/utils.ts: 100%カバレッジ(40テスト)
26
+
27
+ ### Changed
28
+
29
+ - **find操作**: $nearオペレータの自動検出と実行
30
+ - **filter.ts**: 複雑なフィルター構文のサポート改善
31
+
32
+ ### Technical
33
+
34
+ - **新規ファイル**:
35
+ - `src/server/operations/find/nearQuery.ts` - $near検索の実装
36
+ - `__tests__/near-query.test.ts` - nearQuery単体テスト
37
+ - `__tests__/near-search.test.ts` - 9ブロック検索テスト
38
+ - `__tests__/find-near.test.ts` - find統合テスト
39
+ - `__tests__/filter-comprehensive.test.ts` - filter包括テスト
40
+ - `__tests__/find-utils-comprehensive.test.ts` - find/utils包括テスト
41
+
42
+ ## [1.2.6] - 2026-01-02
43
+
44
+ ### Added
45
+
46
+ - **$nearオペレータの完全実装**: find操作での地理空間検索を完全サポート
47
+ - `detectNearQuery()`: $nearオペレータの自動検出(簡易形式・GeoJSON形式)
48
+ - `executeNearQuery()`: DynamoDB統合による$near検索の実行
49
+ - `handleFind()`: $near検出時の自動切り替えロジック
50
+ - 距離情報(`__distance`)の自動付与とソート
51
+ - `pagination.perPage`を$near検索のlimitとして使用
52
+ - 包括的なテストカバレッジ(19テスト追加)
53
+
54
+ ### Changed
55
+
56
+ - **find操作**: $nearオペレータが含まれる場合、自動的に地理空間検索に切り替え
57
+ - 通常のfind操作との透過的な統合
58
+ - エラーハンドリングとログ記録の統一
59
+
60
+ ### Technical
61
+
62
+ - **新規ファイル**: `src/server/operations/find/nearQuery.ts` - DynamoDB統合ロジック
63
+ - **新規ファイル**: `src/server/operations/find/utils.ts` - $near検出ユーティリティ
64
+ - **テスト**: `__tests__/near-search.test.ts` - executeNearSearchのユニットテスト(13テスト)
65
+ - **テスト**: `__tests__/find-near.test.ts` - find操作での$near統合テスト(6テスト)
66
+ - **全テスト**: 334テスト全てパス
67
+
68
+ ## [1.2.5] - 2026-01-02
69
+
70
+ ### Fixed
71
+
72
+ - **npmパブリッシュ再実行**: v1.2.4のパブリッシュ失敗により再パブリッシュ
73
+ - ビルド成果物(`dist/server/query/nearSearch.js`)が正しく含まれることを確認
74
+ - `$near`オペレータが正常に動作することを確認
75
+
10
76
  ## [1.2.3] - 2026-01-02
11
77
 
12
78
  ### Fixed