- Changing the design of the sequence, so that it gives a proper database rather than a single query method.
- Changing the design of the relationships. You can find more about it here
- Added a simple abstraction layer to better support the databases capabilities when getting data after an insert or update
- Added experimental support for MySQL databases
- Added experimental support for Sqlite databases
- Changed the minimal node version to 12 to avoid problems related to the ES6 modules
- Updated the node dependencies
- Fixing some classes requiring the index, creating recursive dependencies
- Fixing the update method removing all properties unrelated to the table
- Added a default value (comma) for the
sqlJoin
function
- Removing the auto-reconnect option
- Using pg-pool instead of a simple connection
- Added a missing method in
DatabaseInterface
- Removing the
connect
method from the database class and interface - Allowing injection of an already-instanciated database rather that a database configuration
- Separating the
indexToPlaceholder
method and unit-testing it - Adding the
sequence
method for multi-query transactions - Fixing the migration transaction isolation
- Fixing the auto-reconnect option design
- Automatically reconnecting the database
- Changed the error objects so that it extends the native
Error
.
- Adding advanced generic typings for the method arguments
- Exported the exception classes
- Fixing incompatible imports syntax when used as a dependency
- Made the repository use the abstract interface rather than a specific implementation
- Fixing the publication script to have proper types and plain JS
- Initial release