Double-entry accounting system for nodejs + mongoose
MIT License
Bot releases are hidden (Show)
BREAKING: This release would add new (default) indexes to your databases. Please, remove old and/or unused indexes yourself.
Unluckily, all the default indexes were suboptimal. The book
property always had the lowest cardinality. However, we always query by the book
first and then by some other properties. Thus all the default indexes were near useless.
This release fixes the unfortunate mistake.
book
property cardinality was moved to the beginning of all default indexes.medici
v7.0:
_id
_journal
book,accounts,datetime
book,account_path.0,account_path.1,account_path.2,datetime
datetime
is the only one to be used in the default indexes. Additional timestamp
doesn't make any sense.book.listAccounts()
caching which was added in the previous release (v6.3). The default indexes cover this use case now. Moreover, the index works faster than the cache.Commits:
New: mongoose v7 support, node v20 support.
Published by koresar over 1 year ago
https://github.com/flash-oss/medici/compare/v6.0.0...v6.1.0
Full Changelog: https://github.com/flash-oss/medici/compare/v6.0.0...v6.1.0
ts-mocha
and eslint-plugin-promise
(#73) b004889medici_balances
for DX and troubleshooting purposes 9cb8206See changes in README.md
https://github.com/flash-oss/medici/compare/v5.0.0-next.10...v5.0.0