Skip to content

Latest commit

 

History

History
132 lines (66 loc) · 5.75 KB

CHANGELOG.md

File metadata and controls

132 lines (66 loc) · 5.75 KB

Changelog

All notable changes to this project will be documented in this file. See commit-and-tag-version for commit guidelines.

0.6.1 (2023-09-22)

Bug Fixes

  • Use bound parameters to correctly handle escaped characters (8a06876)

0.6.0 (2023-09-02)

Features

  • Add support for subscriptions (3260f34), closes #4 #5

0.5.0 (2023-08-28)

⚠ BREAKING CHANGES

  • Document<T> has been renamed NeboaDocument<T> to avoid conflicts.

  • nebra() function has been renamed as neboa()

  • Change Document type for NeboaDocument (3248d88)

  • Rename project to Neboa (36d9aea)

0.4.1 (2023-08-17)

Bug Fixes

  • collection: Updated documents dont lose _id if not provided (b4948e5)

0.4.0 (2023-08-15)

⚠ BREAKING CHANGES

  • Documents no longer autogenerate createdAt updatedAt timestamps.

  • Documents no longer autogenerate timestamps (30b14ab)

Features

  • Add index to json _id field (a800b73)

0.3.0 (2023-08-11)

⚠ BREAKING CHANGES

  • query: query.exec() has been replaced by query.find()

  • query: exec() renamed as find() (6ea504d)

0.2.1 (2023-08-10)

Bug Fixes

0.2.0 (2023-08-10)

⚠ BREAKING CHANGES

  • first() and last() no longer work as chainable constraints, they now resolve the query like exec() with their constraint applied

  • fullText query constraint has been renamed as like

  • Knex has been removed as a dependency. The .knex() method has been replaced with .connection() which now returns the underlying better-sqlite3 instance.

  • Change functionality of first and last (7713af3)

  • Remove knex (140cf4b)

  • Rename fullText as like (3d64ba6)

Features

  • Allow nebra factory to receive database options (b417cdd)

0.1.0 (2023-07-28)

⚠ BREAKING CHANGES

  • collection: delete() now expects an objectId string.

  • collection: deleteMany() now expects an array of objectId strings.

  • collection: update() and updateMany() now require an ObjectId string as the first argument and the updated object as the second.

  • collection: Delete many now expects array of ids (d482f5d)

  • collection: Delete now expects an objectId (9ec119e)

Features

  • Add method to close the connection (2b3b61f)
  • collection: Improve updating logic (a3b2fc3)

0.0.4 (2023-07-28)

Bug Fixes

0.0.3 (2023-07-28)

Bug Fixes

0.0.2 (2023-07-27)

Features

  • Add access to the underlying knex instance (1333591)
  • Add initial project functionality (48a3dc4)
  • Add support for pagination in lookups (1a416f8)

Bug Fixes

  • Missing options for pagination (e7f9dd9)
  • Update serialization and transactions (9ef9b94)
  • Wrong type (1269d61)