Skip to content

Commit 8b90758

Browse files
committed
Written some docs + opcode optis
1 parent 37b241e commit 8b90758

14 files changed

Lines changed: 235 additions & 157 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
- Removed Apc (**but not APCu**) support which is now [completely abandoned](https://pecl.php.net/package/APC) (latest update: 2012)
1010
- Removed `CacheManager::getStaticSystemDrivers()` (use `CacheManager::getDriverList()` instead)
1111
- Added (required) cookie driver option `awareOfUntrustableData` to enforce developer awareness of non-reliable data storage
12+
- Removed driver option `ignoreSymfonyNotice` and its getter/setter
1213
- The "ActOnAll Helper" have been removed in profit of aggregated cluster support
1314
- Implemented #713 // Reworked "tags" feature by adding 3 strategies: `TAG_STRATEGY_ONE`, `TAG_STRATEGY_ALL`, `TAG_STRATEGY_ONLY`
1415
- Removed *global static* properties `CacheManager::$ReadHits`, `CacheManager::$WriteHits` replaced by`\Phpfastcache\Entities\DriverIO` callable in`\Phpfastcache\Core\Pool\ExtendedCacheItemPoolInterface::getIO`

docs/CREDITS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## phpFastCache Copyright (c) 2016 - 2017
1+
## phpFastCache Copyright (c) 2016
22
https://www.phpfastcache.com
33

44
Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -19,9 +19,9 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1919
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2020
SOFTWARE.
2121

22-
__phpFastCache Current Project Manager:__ Georges.L (Geolim4)
22+
__phpFastCache Current Project Manager:__ Georges.L (Geolim4) / (v5, v6, v7, v8)
2323

24-
__phpFastCache Former Project Founder:__ Khoa Bui (khoaofgod)
24+
__phpFastCache Former Project Founder:__ Khoa Bui (khoaofgod) / (<= v4)
2525

2626
__phpFastCache Contributors:__ https://github.com/PHPSocialNetwork/phpfastcache/graphs/contributors
2727

Lines changed: 75 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,75 @@
1-
@todo :)
1+
Because the V8 is **relatively** not backward compatible with the V7, here's a guide to help you to migrate your code:
2+
3+
### :warning: Minimum php version increased to 7.3+
4+
As of the V8 the mandatory minimum php version has been increased to 7.3+.
5+
Once released, the php version 8.0 will be unit-tested
6+
7+
### :warning: "Auto" driver removed
8+
As of the V8 the "Auto" driver in `CacheManager::getInstance()` has been removed.\
9+
You will now be mandatory to specify the driver to use.
10+
11+
#### :clock1: Then:
12+
`CacheManager::getInstance('Auto')` or `CacheManager::getInstance()` expecting automatic driver chosen
13+
14+
#### :alarm_clock: Now:
15+
Use `CacheManager::getInstance('Files')` or `CacheManager::getInstance('Redis')` or something else.
16+
17+
### Removal of "APC" driver
18+
As of the V8 the "APC" has been removed. Use "APCu" instead.
19+
20+
#### :clock1: Then:
21+
`CacheManager::getInstance('Apc')`
22+
23+
#### :alarm_clock: Now:
24+
`CacheManager::getInstance('Apcu')`
25+
26+
### Removal of "Xcache" driver
27+
As of the V8 the "Xcache" has been removed, no replacement have been made.\
28+
It is [completely abandoned](https://xcache.lighttpd.net/) (latest update: 2014)
29+
Use alternative memory cache such as Redis, Memcache, Ssdb, etc.
30+
31+
#### :clock1: Then:
32+
`CacheManager::getInstance('Apc')`
33+
34+
#### :alarm_clock: Now:
35+
`CacheManager::getInstance('Apcu')`
36+
37+
### Phpfastcache API has been upgraded to 3.0.0
38+
Check `CHANGELOG_API.md` to see the changes
39+
40+
### Phpfastcache API has been upgraded to 3.0.0
41+
Check `CHANGELOG_API.md` to see the changes
42+
43+
### Removal of static counters
44+
As of the V8 the static I/O counter have been removed
45+
46+
#### :clock1: Then:
47+
Calling `CacheManager::$ReadHits`, `CacheManager::$WriteHits`
48+
49+
#### :alarm_clock: Now:
50+
Replaced by`\Phpfastcache\Entities\DriverIO` callable in`\Phpfastcache\Core\Pool\ExtendedCacheItemPoolInterface::getIO`
51+
52+
### Removal of deprecated method `CacheManager::setNamespacePath()`
53+
As of the V8 the deprecated method `CacheManager::setNamespacePath()` have been removed.
54+
55+
#### :clock1: Then:
56+
Calling `CacheManager::setNamespacePath('some\custom\path')`
57+
58+
#### :alarm_clock: Now:
59+
Replaced by cache manager "override" or "custom driver" features introduced in V7
60+
61+
### Removal of deprecated method `CacheManager::getStaticSystemDrivers()`
62+
As of the V8 the deprecated method `CacheManager::getStaticSystemDrivers()` have been removed.
63+
64+
#### :clock1: Then:
65+
Calling `CacheManager::getStaticSystemDrivers()`
66+
67+
#### :alarm_clock: Now:
68+
Replaced by `CacheManager::getDriverList()`
69+
70+
------
71+
More infos in our comprehensive [changelog](./../../CHANGELOG.md).
72+
73+
74+
75+

0 commit comments

Comments
 (0)