PackageTrack
Sign in Get early access

yosymfony/resource-watcher

A simple resource watcher using Symfony Finder

v3.0.0 9.1M downloads/mo #2069 most downloaded on Packagist yosymfony/resource-watcher

What this package is like to depend on

Last release 6 years ago

no release in 18 months

Ships fairly regularly

a new release about every 10 months

Most releases are documented

notes for 6 of 7 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

7 releases · first in 2015

0 releases in the last 12 months

see the full history below

Release timeline

7 releases · Jan 2015 to Jun 2020
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 7
  1. v3.0.0 10 Jun 2020
    Release notes

    What's new in this release?

    • [New] A new hashing class has been added Crc32MetaDataHash. It let you work with large files as the hash is calculated using metadata of files: filename, size, mtime and mode. (Thanks to @pecuchet. See PR #9).
    • [New] The interface ContentHashInterface has been renamed to HashInterface. Now, the method hash receives a filename instead of the filename content.
    Open source →
    Release notes

    [New] A new hashing class has been added Crc32MetaDataHash. It let you work with large files as the hash is calculated using metadata of files: filename, size, mtime and mode. (Thanks to @pecuchet. See PR #9). [New] The interface ContentHashInterface has been renamed to HashInterface. Now, the method hash receives a filename instead of the filename content.

    Open source →
  2. v2.0.1 04 Jan 2020
    Release notes

    What's new in this release?

    • [New] Support for Symfony 5. (Thanks to seregazhuk. See PR #8).
    • [Fix] Fixed an error calculating the hash of a directory in PHP 7.4.
    Open source →
    Release notes

    [New] Support for Symfony 5. (Thanks to seregazhuk. See PR #8). [Fix] Fixed an error calculating the hash of a directory in PHP 7.4.

    Open source →
  3. v2.0.0 12 May 2018
    Release notes

    What's new in this release?

    • [New] The class ResourceWatcher accepts two new arguments: the finder and class that makes the content hash.
    • [New] The class ResourceWatcher uses content hash instead of timestamps to detect changes.
    • [New] The method findChanges from the class ResourceWatcher returns an object type ResourceWatcherResult with all the information about the files changes.
    • [New] Added a new method initialize to the class ResourceWatcher. This method warms up the cache just in case.
    • [New] In the interface ResourceCacheInterface, the method getResources has been renamed to getAll.
    • [New] If the method enableRelativePathWithCache from the class ResourceWatcher is invoked,
      the resource cache will receive relative paths instead of absolute paths.
    • [Improved] The class ResourceCacheFile has been renamed to ResourceCachePhpFile to improve the readability.
    • [Improved] PhpUnit minimum version has been updated to 5.7.
    • [Delete] Deleted the method isSearching from the class ResourceWatcher.
    • [Delete] Deleted the method setFinder from the class ResourceWatcher.
      Now, the finder is passed as constructor argument.
    Open source →
    Release notes
    • [New] The class ResourceWatcher accepts two new arguments: the finder and class that makes the content hash.
    • [New] The class ResourceWatcher uses content hash instead of timestamps to detect changes.
    • [New] The method findChanges from the class ResourceWatcher returns an object type ResourceWatcherResult with all the information about files changes.
    • [New] Added a new method initialize to the class ResourceWatcher. This method warms up the cache just in case.
    • [New] In the interface ResourceCacheInterface, the method getResources has been renamed to getAll.
    • [New] If the method enableRelativePathWithCache from the class ResourceWatcher is invoked, the resource cache will receive relative paths instead of absolute paths.
    • [Improved] The class ResourceCacheFile has been renamed to ResourceCachePhpFile to improve the readability.
    • [Improved] PhpUnit minimum version has been updated to 5.7.
    • [Delete] Deleted the method isSearching from the class ResourceWatcher.
    • [Delete] Deleted the method setFinder from the class ResourceWatcher. Now, the finder is passed as constructor argument.
    Open source →
  4. v1.3.0 18 Feb 2018
    Release notes

    What's new in this release?

    • Support for Symfony 4.
    Open source →
  5. v1.2.0 14 Jan 2017
    Release notes

    What's new in this release?

    • Dropped the support for PHP 5.4.
    • Added support for Symfony 3.
    Open source →
  6. v1.1.0 23 Jul 2015
    Release notes

    What's new in this release?

    • [New] Added PHP 7 for testing on Travis CI.
    • [Improved] Updated to Symfony 2.7.
    Open source →
  7. v1.0.0 07 Jan 2015

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive