Skip to content

v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 01 Aug 22:29
· 1309 commits to master since this release

2.0.0 (2022-08-01)

Bug Fixes

  • Array: Fix array not properly async (26355b0)
  • HumanReadable: Fix missing humanreadable (13e51d9)
  • JsonAdapter: Don't override the data property (817c581)

Features

  • Adapter: Add concept of adapter to read and write data (fcea4bb)
  • Adapter: Let the user decide what adapter to use if they want to tweak the inner working (c8f264b), closes #448
  • Async: All the method are now async/await (ab63e82), closes #171
  • Async: Make the whole library async (764cdf4), closes #444
  • AtomicFileAdapter: Add support for fsync (4a51239)
  • Configuration: Force giving a config object to the constructor (002a72a)

BREAKING CHANGES

  • Async: Every method of the library is now async and returns a promise.
  • Configuration: We now need to receive the JsonDBConfig object in the constructor