v1.7.0
版本发布时间: 2017-07-22 21:34:59
doctrine/cache最新发布版本:2.2.0(2022-05-21 04:14:45)
This release drops support for HHVM and increases the minimum supported PHP version to 7.1.0.
Multi-operation caches have been added, such as:
-
MultiDeleteCache
-
MultiGetCache
-
MultiPutCache
-
MultiOperationCache
(aggregating the ones listed above)
These batched caches can massively improve performance throughput of your applications when used in the right context.
Some concurrency, file rights and error handling issues around
FileCache
, PhpFileCache
and FilesystemCache
have been
fixed, and the PhpFileCache
can now store any kind of
information by serializing the incoming data.
ExtMongoDbCache
, MongoDBCache
and LegacyMongoDBCache
were added in order to support both the existing MongoDB
polyfill libraries and the newer MongoDB official PHP extension.
Further improvements have been applied to the documentation, and multiple static analysis introspection fixes were merged.
Total issues resolved: 33
- 132: Enable Scrutinizer-CI coverage thanks to @Ocramius
- 133: Killed PHP 5.5 support thanks to @GrahamCampbell
-
134: Typo, changed
Exception
to\Exception
thanks to @Nyholm - 142: Support for MongoDBCache on PHP 7 using ext-mongodb thanks to @holtkamp
-
147: Corrected
FileCache
notices caused by custom error handlers thanks to @Stajor -
152: Corrected
PhpFileCache
notices caused by file format mismatch thanks to @jeanCarloMachado -
153: Add
.gitattributes
to remove unneeded files from exported package thanks to @Slamdunk -
154: Cache anything with
PhpFileCache
thanks to @trakos -
155: Add
MultiDeleteCache
interface and defaultCacheProvider
implementation thanks to @bburnichon -
162: Adding license header to
PredisCache
thanks to @rnamiki - 165: Added link to the documentation homepage thanks to @Grafikart
- 166: Removed unused imports thanks to @localheinz
-
167: Corrected return type of
PredisCache#doContains()
, which should bebool
(wasint
) thanks to @localheinz -
168: Corrected case sensitivity issues in the imports of
WinCacheCache
thanks to @localheinz -
169: Corrected missing second parameter in assertion in
CacheTest
thanks to @localheinz -
170: Corrected mismatch between
SQLite3CacheTest
and its file name thanks to @localheinz - 171: Use short array syntax thanks to @localheinz
- 172: Removed assignments inlined in conditionals thanks to @localheinz
- 183: Add PHP 7.1 to the build matrix thanks to @Ocramius
- 185: #152 #147 - silence failed file access attempts in file-based caches thanks to @Ocramius
-
190: #154 store anything in the
PhpFileCache
thanks to @Ocramius -
196: Fix temporary file rights on shared storage when using a
FileCache
thanks to @mikeSimonson -
198: Disable PHPUnit feature
@runInSeparateProcess
when not needed thanks to @snsanich -
201: Harden tests around
doContains
inMemcachedCache
thanks to @SpacePossum - 203: Remove support for PHP 5.x thanks to @railto
-
204: Bumped phpunit version to
^5.7
thanks to @gabbydgab - 207: Implement multi-delete on current cache drivers thanks to @lcobucci
- 214: Combine multi-* operation interfaces into a single one thanks to @lcobucci
- 217: Redis: Remove useless ifdef for HHVM thanks to @ostrolucky
- 219: Drop HHVM support thanks to @lcobucci
- 220: Require PHP 7.1 thanks to @lcobucci
-
221: Create expiration index when getting expired entry in the
MongoDBCache
thanks to @alcaeus - 222: Add cache provider for ext-mongodb thanks to @alcaeus