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 2020Releases
latest 7-
v3.0.010 Jun 2020Release notes
Open source →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
ContentHashInterfacehas been renamed toHashInterface. Now, the methodhashreceives a filename instead of the filename content.
Release notes
Open source →[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 interfaceContentHashInterfacehas been renamed toHashInterface. Now, the methodhashreceives a filename instead of the filename content. - [New] A new hashing class has been added
-
v2.0.104 Jan 2020Release notes
Open source →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.
Release notes
Open source →[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.
-
v2.0.012 May 2018Release notes
Open source →What's new in this release?
- [New] The class
ResourceWatcheraccepts two new arguments: the finder and class that makes the content hash. - [New] The class
ResourceWatcheruses content hash instead of timestamps to detect changes. - [New] The method
findChangesfrom the classResourceWatcherreturns an object typeResourceWatcherResultwith all the information about the files changes. - [New] Added a new method
initializeto the classResourceWatcher. This method warms up the cache just in case. - [New] In the interface
ResourceCacheInterface, the methodgetResourceshas been renamed togetAll. - [New] If the method
enableRelativePathWithCachefrom the classResourceWatcheris invoked,
the resource cache will receive relative paths instead of absolute paths. - [Improved] The class
ResourceCacheFilehas been renamed toResourceCachePhpFileto improve the readability. - [Improved] PhpUnit minimum version has been updated to 5.7.
- [Delete] Deleted the method
isSearchingfrom the classResourceWatcher. - [Delete] Deleted the method
setFinderfrom the classResourceWatcher.
Now, the finder is passed as constructor argument.
Release notes
Open source →- [New] The class
ResourceWatcheraccepts two new arguments: the finder and class that makes the content hash. - [New] The class
ResourceWatcheruses content hash instead of timestamps to detect changes. - [New] The method
findChangesfrom the classResourceWatcherreturns an object typeResourceWatcherResultwith all the information about files changes. - [New] Added a new method
initializeto the classResourceWatcher. This method warms up the cache just in case. - [New] In the interface
ResourceCacheInterface, the methodgetResourceshas been renamed togetAll. - [New] If the method
enableRelativePathWithCachefrom the classResourceWatcheris invoked, the resource cache will receive relative paths instead of absolute paths. - [Improved] The class
ResourceCacheFilehas been renamed toResourceCachePhpFileto improve the readability. - [Improved] PhpUnit minimum version has been updated to 5.7.
- [Delete] Deleted the method
isSearchingfrom the classResourceWatcher. - [Delete] Deleted the method
setFinderfrom the classResourceWatcher. Now, the finder is passed as constructor argument.
- [New] The class
-
v1.3.018 Feb 2018 -
v1.2.014 Jan 2017Release notes
Open source →What's new in this release?
- Dropped the support for PHP 5.4.
- Added support for Symfony 3.
-
v1.1.023 Jul 2015Release notes
Open source →What's new in this release?
- [New] Added PHP 7 for testing on Travis CI.
- [Improved] Updated to Symfony 2.7.
-
v1.0.007 Jan 2015Nothing published for this version