Skip to content

Commit

Permalink
Update README.md changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
koresar committed Nov 30, 2023
1 parent fc5900c commit d522898
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,14 +402,23 @@ For `medici_transactions` collection with 50000 documents:

## Changelog

### 6.2

- The `book.listAccounts()` method is now cached same way the `book.balance()` is cached.
- Add Node 20 support.

### 6.1

- Add MongoDB v6 support.

### 6.0

- Drop node 12 and 14 support. Only 16 and 18 are supported now.
- By default use the secondary nodes (if present) of your MongoDB cluster to calculate balances.

### v5.2

- The balances cache primary key is now a SHA1 hash of the previous value. Before: `"MyBook;Account;clientId.$in.0:12345,clientId.$in.1:67890,currency:USD"`. After: `"\u001b\u0004NÞj\u0013rÅ\u001b¼,F_#\u001cÔk Nv"`. Allows each key to be exactly 40 bytes (20 chars) regadless the actual balance query text length.
- The balances cache primary key is now a SHA1 hash of the previous value. Before: `"MyBook;Account;clientId.$in.0:12345,clientId.$in.1:67890,currency:USD"`. After: `"\u001b\u0004NÞj\u0013rÅ\u001b¼,F_#\u001cÔk Nv"`. Allows each key to be exactly 40 bytes (20 chars) regardless the actual balance query text length.
- But the old raw unhashed key is now stored in `rawKey` of `medici_balances` for DX and troubleshooting purposes.
- Fixed important bugs #58 and #70 related to retrieving balance for a custom schema properties. Thanks @dolcalmi

Expand Down

0 comments on commit d522898

Please sign in to comment.