Skip to content

Transactions & Breaking changes

Choose a tag to compare

@alexthe2 alexthe2 released this 05 Sep 18:32
· 10 commits to master since this release
3a2d6ef

BREAKING CHANGES in 0.4.0

  • 🛠 Refactored database code structure. You must now use use readb::Database;.
  • ✅ The constructor no longer needs unwrap(). An .unwrap() method remains for backward compatibility.
    • 🔁 Instead, we've introduced the create_path attribute in DatabaseSettings. This could be a breaking change if you aren’t using the Default.

New features

  • Transactions are now supported, although there use is discouraged for simple put/gets as the file is already batching inserts. They're encouraged for large batch inserts and for rollbacks