fix(collectionfactory): isolate collection caching per database and add easy store replace semantics
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 2026-04-07 - 7.1.7 - fix(collectionfactory)
|
||||
isolate collection caching per database and add easy store replace semantics
|
||||
|
||||
- Change CollectionFactory to cache collections per SmartdataDb instance instead of by class name globally, preventing cross-database collection reuse.
|
||||
- Add EasyStore.replace() for full object replacement while keeping writeAll() merge behavior for backward compatibility.
|
||||
- Add regression tests covering multi-database collection isolation, replace() key removal, and writeAll() merge behavior.
|
||||
|
||||
## 2026-04-05 - 7.1.6 - fix(collection)
|
||||
improve duplicate key error reporting on insert
|
||||
|
||||
|
||||
Reference in New Issue
Block a user