Skip to content

Releases: teqfw/db

Enhanced Database Abstraction, New CRUD Engine, and SQLite Support

19 Jan 11:41
Compare
Choose a tag to compare

0.23.0

  • Introduced the TeqFw_Db_Back_Api_RDb_Schema_Object interface, deprecating TeqFw_Db_Back_RDb_Meta_IEntity.
  • Added a new CRUD engine TeqFw_Db_Back_App_Crud.
  • Introduced the transaction wrapper TeqFw_Db_Back_App_TrxWrapper for better transaction management.
  • Added the TeqFw_Db_Back_Api_RDb_Repository interface to define repository operations.
  • Enhanced support for SQLite in the CRUD engine, including better handling of primary keys.
  • Improved unit tests for CRUD operations with detailed scenarios.
  • Updated DEM loading logic to include optional test-specific data for schema initialization.
  • Added utilities for grouping and selecting columns in database queries.

Detect `Client_BetterSQLite3` constructor

10 Oct 10:32
Compare
Choose a tag to compare
  • Detect Client_BetterSQLite3 constructor.

Drop/create FK separately from the tables

10 Sep 09:14
Compare
Choose a tag to compare
  • Add the selection DTO for listing queries.
  • Add the model to convert the selection DTO to the knex query.
  • Extract the TeqFw_Db_Shared_Enum_Direction enumeration.
  • Fix the error in TeqFw_Db_Back_Cli_Export with the export from missed table.
  • Drop/create FK separately from the tables.
  • Remove the legacy format for depIds

Add the common export/import CLI commands

15 Apr 14:06
Compare
Choose a tag to compare
  • Add the common export/import CLI commands.
  • Add the TeqFw_Db_Back_Act_Dem_Tables action.
  • Use platform specific paths separators (win/*nix).
  • The class-based form for the TeqFw_Db_Back_Util.

Knex password and logger

15 Sep 05:24
Compare
Choose a tag to compare
  • WF-674 Update knex version in RA
  • WF-677 Add postprocessor chunk for loggers

New architecture of @teqfw/di

24 Aug 11:56
Compare
Choose a tag to compare
  • These changes are related to the new architecture of the @teqfw/di package.
  • Command TeqFw_Db_Back_Cli_Drop to drop all tables.
  • Rename ./doc/struct.md to ./doc/schema.md and improve documentation.

Deprecated tables

18 May 11:30
Compare
Choose a tag to compare
  • Add list of deprecated tables to drop on re-installation.
  • Binary data type (Buffer) is added to DEM.

RDB re-create CLI

30 Mar 09:07
Compare
Choose a tag to compare
  • Create CLI action to re-create RDB structure using DEM.
  • Improve JSDoc comments.
  • Rename interfaces in _Api_ space.

Add SQLite support to config

20 Dec 11:55
Compare
Choose a tag to compare
  • Improve CRUD engine.
  • Add SQLite support to config.
  • Add TeqFw_Db_Back_Dto_Dem_Entity_Relation_Action for foreign keys actions (restrict, delete, ...).

Fix `readSet` in `TeqFw_Db_Back_RDb_CrudEngine`

28 Oct 09:29
Compare
Choose a tag to compare
  • Fix readSet in TeqFw_Db_Back_RDb_CrudEngine.