Skip to content

0.11.2

Compare
Choose a tag to compare
@DallasHoff DallasHoff released this 14 Sep 02:54
· 14 commits to main since this release
  • If SQLocal is initialized in a server-side environment, it no longer throws an error. This helps simplify code structure in server-side rendered apps. Of course, queries must still be made in browser-only code paths. (Contributed by @donpark)
  • getDatabaseFile now uses SQLite's VACUUM command to return a snapshot of the database file, which can also reduce the returned file's size by cleaning up unused space and defragmenting the database.
  • Mark the package as "side-effect free" to improve tree-shaking performed by bundlers.