Skip to content

v3.0.0

Latest

Choose a tag to compare

@Morgul Morgul released this 14 Jul 21:10
· 4 commits to master since this release

This version of TrivialDb has been in the works for a while. It add several new features (browser support and readFunc/writeFunc overriding chief among them), as well as changing some of the core behaviors of the library.

Features

  • Added browser support (#37)
  • Allow for a default value in db.load (#38)

Breaking changes

  • Move to explicit chaining for .query() (#34)

While most everything should work, if you were relying on the fact that we used implicit lodash chaining, things are going to break for you. Basically, if used .query() and didn't supply a .run() on the end, because you used a terminating function, like .last(), you will now have to add .run() to the end of your queries. This is more explicit, and better overall.