@@ -5,7 +5,58 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8- ## [ 1.1.0] - 2025-01-XX
8+ ## [ 1.2.0] - 2025-01-XX
9+
10+ ### 🎨 Complete API Unification (Major Improvement over v1.1.0)
11+
12+ ** Design Philosophy** : Don't add concepts to solve problems. Less is more.
13+
14+ ### Added
15+ - ** Unified Insert API** : ` Insert(func(ib *InsertBuilder)) ` works for both SQL and vector databases
16+ - ** Smart Format Detection** : QdrantCustom automatically handles Insert(func) format
17+ - ** Vector Array Support** : ` []float32 ` and ` []float64 ` preserved in InsertBuilder/UpdateBuilder
18+ - ** Convenience Methods** :
19+ - ` Built.SqlOfUpsert() ` - MySQL UPSERT without Custom
20+ - ` Built.SqlOfInsertIgnore() ` - MySQL INSERT IGNORE without Custom
21+
22+ ### Removed (Simplification)
23+ - ** Preset Constructors** (complexity removed):
24+ - ❌ ` QdrantHighPrecision() ` , ` QdrantHighSpeed() ` , ` QdrantBalanced() `
25+ - ❌ ` MySQLWithUpsert() ` , ` MySQLWithIgnore() `
26+ - ❌ ` InsertPoint() ` , ` InsertPoints() ` methods
27+ - ❌ ` Delete() ` method (not needed)
28+
29+ ### Changed
30+ - ` JsonOfDelete() ` now auto-sets ` built.Delete = true ` internally
31+ - Only basic constructors remain: ` NewQdrantCustom() ` , ` NewMySQLCustom() `
32+ - Users configure via fields or existing closures (` QdrantX() ` )
33+
34+ ### Why v1.2.0 (Not v1.1.1)?
35+
36+ v1.1.0 had design issues:
37+ - Too many preset functions (5 removed)
38+ - Inconsistent API (InsertPoint vs Insert)
39+ - Over-engineered solutions
40+
41+ v1.2.0 achieves true simplicity:
42+ - ✅ One ` Insert(func) ` API for all databases
43+ - ✅ One ` Update(func) ` API for all databases
44+ - ✅ No extra methods needed
45+ - ✅ Complete unification
46+
47+ ### Tests
48+ - 140+ tests, all passing
49+ - New tests for unified Insert/Update/Delete API
50+ - Comprehensive Qdrant CRUD validation
51+
52+ ### Documentation
53+ - All docs updated to reflect simplified design
54+ - Removed references to preset constructors
55+ - Added unified API examples
56+
57+ ---
58+
59+ ## [ 1.1.0] - 2025-01-XX (Deprecated - Use v1.2.0)
960
1061### Added
1162- ** Custom Interface** : Unified abstraction for database-specific features
0 commit comments