maleficarum/storage
最新稳定版本:4.0.0
Composer 安装命令:
composer require maleficarum/storage
包简介
Maleficarum storage component.
README 文档
README
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.
Change Log
[4.0.0] - 2020-12-01
Changed
- Handle deprecated methods (https://github.com/phpredis/phpredis/commit/95c8aab9#diff-a1471159ac00556a439382b010c89a8507ebc6f03311ec7655cebd95dc6c978eR443)
[3.4.0] - 2020-05-14
Added
- Added selectable columns to postgresql collection
[3.3.1] - 2020-05-07
Added
- Added connection check in deleteAll method in Postgresql collection repository
[3.3.0] - 2020-04-20
Added
- useCache flag on Postgres Collection and Model constructors to control PDO caching mechanism in underneath populate function
Change Log
[3.2.0] - 2020-01-02
Added
- Flag to avoid PDO statements local caching
[3.1.0] - 2018-11-08
Added
- Added hScan, zScan, sScan methods for redis connection
[3.0.0] - 2018-10-23
Added
- 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.
[2.2.0] - 2018-09-20
Added
- 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)
Fixed
- Incorrect exception message when attempting to execute logic methods on disconnected redis connection objects.
[2.1.0] - 2018-09-10
Added
- 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+
[2.0.3] - 2018-09-06
Changed
- 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.
[2.0.2] - 2018-09-05
Added
- Automatic parameter type detection when binding boolean parameters in Postgresql shards.
[2.0.1] - 2018-09-05
Fixed
- Fixed a bug that resulted in shard statements being shared across shard connections.
[2.0.0] - 2018-09-05
Changed
- Component updated to work with Maleficarum\Ioc 3.X
[1.2.0] - 2018-09-20
Added
- 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)
Fixed
- Incorrect exception message when attempting to execute logic methods on disconnected redis connection objects.
[1.1.0] - 2018-09-10
Added
- 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+
[1.0.2] - 2018-09-05
Added
- Automatic parameter type detection when binding boolean parameters in Postgresql shards.
[1.0.1] - 2018-09-05
Fixed
- Fixed a bug that resulted in shard statements being shared across shard connections.
[1.0.0] - 2018-08-27
Added
- initial release of the component
统计信息
- 总下载量: 20.06k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2018-08-28