mongofire 6.5.2 → 6.5.5
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/README.md +365 -136
- package/dist/bin/mongofire.cjs +1 -1
- package/dist/src/changetrack.js +1 -1
- package/dist/src/compactor.js +1 -0
- package/dist/src/connection.js +1 -1
- package/dist/src/device.js +1 -1
- package/dist/src/diff.js +1 -0
- package/dist/src/field-merge.js +1 -0
- package/dist/src/index.cjs +1 -1
- package/dist/src/plugin.js +1 -1
- package/dist/src/plugin.mjs +6 -0
- package/dist/src/rate-limiter.js +1 -0
- package/dist/src/reconcile.js +1 -0
- package/dist/src/schema-manager.js +1 -0
- package/dist/src/state.js +1 -1
- package/dist/src/sync.js +1 -1
- package/dist/src/utils.js +1 -1
- package/dist/types/index.d.ts +137 -183
- package/index.cjs +0 -2
- package/index.mjs +0 -1
- package/package.json +23 -16
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to MongoFire are documented here.
|
|
4
4
|
|
|
5
|
+
## [6.5.4] — 2026-03-10
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- 🚀 Improved CLI speed, fixed multi-instance & network issues, and many more enhancements
|
|
10
|
+
|
|
11
|
+
## [6.5.3] — 2026-03-10
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
|
|
15
|
+
- CLI: `bin/` directory missing from npm package — CLI was absent after install
|
|
16
|
+
- CLI: `inquirer` version pinned to `^8.0.0` (v9+ is ESM-only, broke CJS CLI)
|
|
17
|
+
- CLI: `retryConflict()` was not resetting retry counter (no-op `$inc: 0`)
|
|
18
|
+
- CLI: Network errors in delete version check were silently swallowed
|
|
19
|
+
- CLI: `getSyncStatus()` now returns `realtime` field matching TypeScript types
|
|
20
|
+
- CLI: `reconcile.js` multi-instance connection fix completed
|
|
21
|
+
- CLI: Spurious "inquirer not found" hint removed from `npx mongofire init`
|
|
22
|
+
|
|
5
23
|
## [6.5.0] — 2026-03-08
|
|
6
24
|
|
|
7
25
|
### Fixed — Critical
|
|
@@ -64,16 +82,19 @@ All notable changes to MongoFire are documented here.
|
|
|
64
82
|
## [6.2.0] — 2026-03-08
|
|
65
83
|
|
|
66
84
|
### Fixed — Critical
|
|
85
|
+
|
|
67
86
|
- **`start()` concurrent safety** — multiple simultaneous `start()` calls now share one init promise instead of racing
|
|
68
87
|
- **Bootstrap re-trigger bug** — an empty collection no longer forces a full re-bootstrap of all collections
|
|
69
88
|
- **Silent change tracking errors** — errors in the Mongoose hooks are now logged instead of swallowed
|
|
70
89
|
- **Realtime sync not working** — change stream pipeline fix; was silently delivering zero events on most Atlas clusters
|
|
71
90
|
|
|
72
91
|
### Fixed — Medium
|
|
92
|
+
|
|
73
93
|
- **`deleteMany` OOM risk** — plugin now streams and batches docs before deletion; removes 10,000-doc silent cap
|
|
74
94
|
- **Session not forwarded in `updateOne` and `deleteOne` hooks** — reads now occur within the same transaction context
|
|
75
95
|
|
|
76
96
|
### Added
|
|
97
|
+
|
|
77
98
|
- Full TypeScript declarations (`types/index.d.ts`) with typed events, config, and result interfaces
|
|
78
99
|
- `require('mongofire/plugin')` subpath export
|
|
79
100
|
- Max retry limit (10 attempts) for permanently failing operations
|