Skip to content

v6.0.0

Latest
Compare
Choose a tag to compare
@ericsizemore ericsizemore released this 06 May 06:47
· 11 commits to master since this release
ccc9f56

[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
  • 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/).
  • Esi\SimpleCounter\Counter is now just a wrapper for one of the *Storage classes found in src/Storage/.
  • Unit tests completely rewritten.

Removed

  • Removed 0-9 .gif images in counter/images/. See above, replaced with new icons

TODO

  • Improve on the documenation.

From GitHub

What's Changed

New Contributors

Full Changelog: v5.0.1...v6.0.0