Releases: teqfw/db
Releases · teqfw/db
Enhanced Database Abstraction, New CRUD Engine, and SQLite Support
0.23.0
- Introduced the
TeqFw_Db_Back_Api_RDb_Schema_Object
interface, deprecatingTeqFw_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
- Detect
Client_BetterSQLite3
constructor.
Drop/create FK separately from the tables
- 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
- 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
- WF-674 Update knex version in RA
- WF-677 Add postprocessor chunk for loggers
New architecture of @teqfw/di
- 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
- Add list of deprecated tables to drop on re-installation.
- Binary data type (
Buffer
) is added to DEM.
RDB re-create CLI
- Create CLI action to re-create RDB structure using DEM.
- Improve JSDoc comments.
- Rename interfaces in
_Api_
space.
Add SQLite support to config
- 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`
- Fix
readSet
inTeqFw_Db_Back_RDb_CrudEngine
.