Skip to content

Released 9.1.0 #857

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 29 commits into from
Apr 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
a9fb2c3
Removed legacy ISSUE_TEMPLATE
Geolim4 Mar 25, 2022
568de49
Initial release of Solr driver
Geolim4 Mar 25, 2022
b83a45e
Fixed phpmd + phpstan
Geolim4 Mar 25, 2022
84bd274
Trying to enable Solr service on Travis
Geolim4 Mar 25, 2022
55a7e6a
Set executable bit
Geolim4 Mar 25, 2022
368ae95
Reworked Solr install script
Geolim4 Mar 25, 2022
1cf2e7b
Reworked Solr install script
Geolim4 Mar 26, 2022
014fd7d
Improved Solr driver integration
Geolim4 Mar 26, 2022
c5b1eae
Finished Solr stats
Geolim4 Mar 27, 2022
3cd9685
Fixed an issue on Redis driver where deleteItem() erroneously return …
Geolim4 Mar 27, 2022
d60d47d
Reworked CacheManager::getInstance, fixed code quality
Geolim4 Mar 27, 2022
302aa8e
Bumped some dependencies
Geolim4 Mar 27, 2022
ad52a74
Lowered Mongodb minimum version that fails with Travis
Geolim4 Mar 27, 2022
a7412d3
Fixed #855
Geolim4 Mar 29, 2022
51a3619
Added tests for #855
Geolim4 Mar 30, 2022
d8fce37
typo and spelling fixes
mbiebl Mar 30, 2022
b92bbd5
Merge pull request #856 from messageconcept/typo-fixes
Geolim4 Mar 30, 2022
1949842
Typo
Geolim4 Mar 30, 2022
0e9aab0
Prepared Changelog for 9.1
Geolim4 Mar 30, 2022
d63bb12
Full PSR-12 compliance is now enforced by PHPCS
Geolim4 Mar 31, 2022
6094d0b
Increased Phpstan level to 3 for more strict validation
Geolim4 Mar 31, 2022
54ce900
Increased Phpstan level to 4 for even more strict validation
Geolim4 Mar 31, 2022
c38927f
Fixed unintended side-effect
Geolim4 Mar 31, 2022
a2f3283
Updated changelog & upgraded API version + some small fixes
Geolim4 Apr 2, 2022
c594c36
Released final 9.1.0 changes
Geolim4 Apr 3, 2022
1836cb0
Merge branch 'v9.1' into v9
Geolim4 Apr 3, 2022
5da0ffe
Fixed latest additional scrutinizer analysis report
Geolim4 Apr 3, 2022
054a4f4
Merge branch 'master' into v9
Geolim4 Apr 3, 2022
714b62d
Fixed missing methods in `ConfigurationOptionInterface`
Geolim4 Apr 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: ./vendor/bin/phpmd lib/ ansi phpmd.xml

- name: Run PHPSTAN (lite)
run: ./vendor/bin/phpstan analyse lib/ -l 2 -c phpstan_lite.neon 2>&1
run: ./vendor/bin/phpstan analyse lib/ -l 4 -c phpstan_lite.neon 2>&1

- name: Run TESTS
env:
Expand Down
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ before_install:
# - ./bin/ci/scripts/install_arangodb.sh;
- composer install
- composer require phwoolcon/ci-pecl-cacher -n
- "./bin/ci/scripts/install_solr.sh || echo \"Solr install failed\""
- "./bin/ci/scripts/install_arangodb.sh || echo \"Arangodb install failed\""
- "./bin/ci/scripts/install_ssdb.sh || echo \"SSDB install failed\""
- "./bin/ci/scripts/install_couchdb.sh || echo \"Couchdb install failed\""
Expand All @@ -58,5 +59,5 @@ install:
script:
- ./vendor/bin/phpcs lib/ --report=summary
- ./vendor/bin/phpmd lib/ ansi phpmd.xml
- "[[ $TRAVIS_PHP_VERSION != \"nightly\" ]] && ./vendor/bin/phpstan analyse lib/ -l 2 -c phpstan.neon 2>&1 || ./vendor/bin/phpstan analyse lib/ -l 2 -c phpstan_lite.neon 2>&1"
- "[[ $TRAVIS_PHP_VERSION != \"nightly\" ]] && ./vendor/bin/phpstan analyse lib/ -l 4 -c phpstan.neon 2>&1 || ./vendor/bin/phpstan analyse lib/ -l 4 -c phpstan_lite.neon 2>&1"
- php -f ./bin/ci/run_tests.php
25 changes: 24 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
## 9.1.0
##### 04 april 2022
- __API__
- Upgraded Phpfastcache API to `4.1.0` ([see changes](CHANGELOG_API.md))
- __Core__
- Added `\Phpfastcache\Helper\UninstanciableObjectTrait` trait which will contains base locked constructor for any classes that are nor meant to be instanciated.
- Deprecated `\Phpfastcache\Config\Config::class`
- Removed/reworked/improved dead/unreachable/redundant/obsolete code, thanks to `Phpstan`
- __Drivers__
- **Added `Solr` driver support**
- __Events__
- Added `\Phpfastcache\Event\EventInterface` for `\Phpfastcache\Event\Event` and subclasses below
- Added `\Phpfastcache\Drivers\Arangodb\Event` for Arangodb events
- Added `\Phpfastcache\Drivers\Dynamodb\Event` for Dynamodb events
- Added `\Phpfastcache\Drivers\Solr\Event` for Solr events
- Moved the following constant from `\Phpfastcache\Event\Event` to their respective drivers: `ARANGODB_CONNECTION`, `ARANGODB_COLLECTION_PARAMS`, `DYNAMODB_CREATE_TABLE`
- __Cluster__
- Fixed #855 // ClusterReplication drivers are saving erroneous expiration date in low-level backends
- __Misc__
- Full PSR-12 compliance is now enforced by PHPCS
- Multiple typo fixes (@mbiebl)
- Updated composer suggestions and CI builder dependencies

## 9.0.2
##### 04 march 2022
- __Core__
Expand Down Expand Up @@ -27,7 +50,7 @@
- __PSR-16__
- Upgraded `psr/simple-cache` dependency to `^2.0||^3.0` (for PHP-8 types)
- __API__
- Upgraded Phpfastcache API `4.0.0` ([see changes](CHANGELOG_API.md))
- Upgraded Phpfastcache API to `4.0.0` ([see changes](CHANGELOG_API.md))
- Renamed `Api::getPhpFastCacheVersion()` to `Api::getPhpfastcacheVersion()`
- Renamed `Api::getPhpFastCacheChangelog()` to `Api::getPhpfastcacheChangelog()`
- Renamed `Api::getPhpFastCacheGitHeadHash()` to `Api::getPhpfastcacheGitHeadHash()`
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG_API.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 4.1.0
- Created `\Phpfastcache\Event\EventInterface` which will be used for `Phpfastcache\Event\Event` and any `Phpfastcache\Drivers\xxxxxxx\Event` classes
- Extended `CacheItemPoolInterface::save()` with `ExtendedCacheItemPoolInterface::save()` for re-typing
- Method `ExtendedCacheItemPoolInterface::getConfig()` now returns `ConfigurationOptionInterface` instead of `ConfigurationOption`
- Method `ExtendedCacheItemPoolInterface::getDefaultConfig()` now returns `ConfigurationOptionInterface` instead of `ConfigurationOption`
- Method `EventManagerInterface::getInstance()` now returns `EventManagerInterface` instead of `static`

## 4.0.0
- **[BC Break]** Upgraded `psr/cache` dependency to `^3.0` which required `ExtendedCacheItemPoolInterface` and `ExtendedCacheItemInterface` updates
- **[BC Break]** Increased minimum PHP compatibility to `^8.0` which also required `TaggableCacheItemPoolInterface` and `TaggableCacheItemInterface` updates
Expand Down
Loading