Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d5ec852

Browse files
author
Oliver Bestmann
committedJan 18, 2023
Serialize the DeviceDetector into LazyCache (redis)
1 parent 702aa50 commit d5ec852

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+129
-1742
lines changed
 

‎.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ git:
2323
# Separate different test suites
2424
env:
2525
global:
26-
- PLUGIN_NAME=DeviceDetectorCache
26+
- PLUGIN_NAME=DynamicDeviceDetectorCache
2727
- PIWIK_ROOT_DIR=$TRAVIS_BUILD_DIR/matomo
2828
# this variable controls the version of Matomo your tests will run against.
2929
# by default it will run against the maximum support version read from plugin.json
@@ -84,7 +84,7 @@ install:
8484
- '[ -d ./tests/travis/.git ] || sh -c "rm -rf ./tests/travis && git clone https://github.com/matomo-org/travis-scripts.git ./tests/travis"'
8585
- cd ./tests/travis ; git checkout master ; cd ../..
8686

87-
- export GENERATE_TRAVIS_YML_COMMAND="php ./tests/travis/generator/main.php generate:travis-yml --plugin=\"DeviceDetectorCache\" --php-versions=\"7.2\" --distribution=\"bionic\" --sudo-false --verbose"
87+
- export GENERATE_TRAVIS_YML_COMMAND="php ./tests/travis/generator/main.php generate:travis-yml --plugin=\"DynamicDeviceDetectorCache\" --php-versions=\"7.2\" --distribution=\"bionic\" --sudo-false --verbose"
8888
- '[[ "$TRAVIS_JOB_NUMBER" != *.1 || "$TRAVIS_PULL_REQUEST" != "false" ]] || ./tests/travis/autoupdate_travis_yml.sh'
8989

9090
- ./tests/travis/checkout_test_against_branch.sh

‎CHANGELOG.md

+2-35
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,4 @@
11
## Changelog
22

3-
4.3.0
4-
- Compatibility with Matomo 4.12, and Adjustments for client hints support
5-
6-
4.2.3
7-
- Fixed parsers not being set when cache is present
8-
9-
4.2.2
10-
- Compatibility with Matomo 4
11-
12-
4.2.1
13-
- Compatibility with PHP DI 6
14-
15-
4.2.0
16-
- Performance improvements
17-
18-
4.1.0
19-
- Changed how this command works. It now requires a configuration.
20-
21-
4.0.0
22-
- Compatibility with Matomo 4.X
23-
24-
3.1.0
25-
- Changed how this command works. It now requires a configuration.
26-
27-
3.0.3
28-
- Add more cache entries
29-
30-
3.0.2
31-
- Add more cache entries
32-
33-
3.0.1
34-
- Add more cache entries
35-
36-
3.0.0
37-
- Initial version
3+
1.0.0
4+
- Cache DeviceDetectors in redis

‎CachedEntry.php

-192
This file was deleted.
There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Failed to load comments.