Skip to content

great.db v2.0.0

Compare
Choose a tag to compare
@tr1ckydev tr1ckydev released this 18 Sep 05:26
· 17 commits to main since this release

v2 brings some big changes to great.db

  • great.db now works both with node.js and bun using better-sqlite3 and bun:sqlite respectively
  • Schemas now can only be created through DataType imported from great.db
  • 3 new datatypes are added - AutoIncrement, Buffer, Uint8Array
  • Typescript types are now automagically inferred from the schema created using DataType
  • Some internal code refactors to maintain cross-compatibility between both libraries
  • table#set() now also supports array of inputs
  • Improved examples to support the new API
  • Improved README.md, DOCUMENTATION.md
  • Removed db readonly feature temporarily
  • Bump bun-types to 0.1.11