Releases: ericsizemore/simple_counter
Releases · ericsizemore/simple_counter
v6.0.0
[6.0.0] - 2024-05-06
Added
Storage\FlatfileStorage
which is default, and currently only, available storage implementation.Trait\FormatterTrait
which will be used by storage implementations to handle formatting the count display.Configuration\FlatfileConfiguration
which is the default, and currently only, available Storage implementation configuration.- Used by
Storage\FlatfileStorage
- Used by
Interface\CounterInterface
which defines methods that must be implemented in each storage implementation.Interface\ConfigurationInterface
which defines methods that must be implemented in each Storage implementation configuration.symonfy/options-resolver
dependency added to handle counter options.scripts/convertFiles.php
which can be used by those moving from version <5 of the library, to convert their*.txt
counter/ips files to json.- Can now enable
honorDnt
within Configuration to honor a visitors Do Not Track setting.
Changed
- Now licensed under the MIT license.
- Complete rewrite from the ground up. Breaking changes, and not backwards compatible with prior versions.
- The files used in the
counter/logs/
directory are no longer plain *.txt files.- jSON is now being used to handle the log data.
- New icons for the default image set (0-9 'png' images found in
counter/images/
).- Licensed under the CC BY 4.0 DEED license
- Designed by StreamlineHQ
Esi\SimpleCounter\Counter
is now just a wrapper for one of the*Storage
classes found insrc/Storage/
.- Unit tests completely rewritten.
Removed
- Removed
0-9
.gif
images incounter/images/
. See above, replaced with new icons
TODO
- Improve on the documenation.
From GitHub
What's Changed
- Configure Renovate by @renovate in #8
- Update actions/cache action to v4 by @renovate in #9
- Update dependency rector/rector to v1.0.3 by @renovate in #11
- Update dependency rector/rector to v1.0.4 by @renovate in #14
- Bring 6.x dev to master, as we are close to 6.0.0 release by @ericsizemore in #16
New Contributors
Full Changelog: v5.0.1...v6.0.0
v5.0.1
v5.0.0
5.0.0 (2024-01-11)
- NOTE: Not backwards compatible with prior SimpleCounter versions.
- Bumped PHP version requirement to 8.2
- Restructured to be installable with composer
- Esi\SimpleCounter\Counter completely refactored
- User configurable options are no longer class constants.
- They are now normal class vars with protected visibility
- Must be set upon instantiation with
getInstance($options)
. See README.md for more information.
- User configurable options are no longer class constants.
- Split
readWriteFile
intoread
andwrite
. - Added
checkLogFiles
andcheckDirectories
as strictly helper functions, that check the log and image directories and log files on instantiation. - Added PHP-CS-Fixer and Rector as dev dependencies.
- Added PHPStan for static analysis
- Added PHPUnit for unit testing.
- Implements #5
Full Changelog: v4.0.6...v5.0.0
v4.0.6
Full Changelog: v4.0.4...v4.0.6
Important Note: PHP version requirement now minimum 8,0
v4.0.4
- Small code and documentation updates.
- Minimum PHP version now 8.0.0
Full Changelog: https://github.com/ericsizemore/simple_counter/commits/v4.0.4