This component replaces the now obsolete Maleficarum Database compoment (https://github.com/pharaun13/maleficarum-database). All MSSQL code was removed and persistence layers were decoupled from actual model objects. Additionally generic Redis model/collection repository was implemented and provided as basis for project specific implementations.
- useCache flag on Postgres Collection and Model constructors to control PDO caching mechanism in underneath populate function
- Flag to avoid PDO statements local caching
- Added hScan, zScan, sScan methods for redis connection
- Added connection retry logic when connecting to postgresql shards. (number of retries can be set via the constructor and/or initializer)
- Added connection retry login when connecting to redis shards. (number of retries can be set via the constructor and/or initializer)
- Added an option to specify connection timeout for postgresql connections.
- Added an option to specify connection timeout for redis connections.
- Added a way to retrieve the list of all shards of a specified type from the shard manager.
- Added an implementation of the scan method to the Redis connection object (it needs a reference call so the magic implementation was insufficient)
- Incorrect exception message when attempting to execute logic methods on disconnected redis connection objects.
- Added a way to inject custom shard selectors to data repositories. Shard selection will no longer lie within the interests of data models.
- Bumped Maleficarum\Data dependency to 4.X+
- Performance optimization: a single shard definition will only result in one shard connection, regardless of how many non-default routes point to that shard definition.
- Automatic parameter type detection when binding boolean parameters in Postgresql shards.
- Fixed a bug that resulted in shard statements being shared across shard connections.
- Component updated to work with Maleficarum\Ioc 3.X
- Added a way to retrieve the list of all shards of a specified type from the shard manager.
- Added an implementation of the scan method to the Redis connection object (it needs a reference call so the magic implementation was insufficient)
- Incorrect exception message when attempting to execute logic methods on disconnected redis connection objects.
- Added a way to inject custom shard selectors to data repositories. Shard selection will no longer lie within the interests of data models.
- Bumped Maleficarum\Data dependency to 4.X+
- Automatic parameter type detection when binding boolean parameters in Postgresql shards.
- Fixed a bug that resulted in shard statements being shared across shard connections.
- initial release of the component