changelog.md 8.02 KB

file-entry-cache - Changelog

v6.0.0

v5.0.1

  • Bug Fixes

    • Fix missing checksum comparison from reconcile since now we use mtime and size by default. - e858aa9, Roy Riojas, 04/02/2019 09:30:22

    Old mode using checkSum can still be used by passing the useCheckSum parameter to the create or createFromFile methods.

v5.0.0

  • Refactoring

    To determine if a file has changed we were using the checksum in the newer versions, but eslint was relying on the old behavior where we use the mtime and file size to determine if a file changed. That's why we decided to make the checksum check optional.

    To use it:

    // to make the cache use the checkSum check do the following:
    var fCache = fileEntryCache.create(cacheName, dir, useCheckSum); // pass the third parameter as true
    var otherCache = fileEntryCache.createFromFile(cacheName, useCheckSum); // pass the second parameter as true
    

v4.0.0

  • Build Scripts Changes

  • Other changes

    node.js >=4 is required so object-assign is no longer needed, the native Object.assign can be used instead.

v3.0.0

v2.0.0

  • Features
    • do not persist and prune removed files from cache. Relates to #2 - 408374d, Roy Riojas, 16/08/2016 13:47:58

v1.3.1

  • Build Scripts Changes

v1.3.0

  • Features
    • Add an option to not prune non visited keys. Closes #2 - b1a64db, Roy Riojas, 01/08/2016 03:52:12

v1.2.4

  • Enhancements

v1.2.3

  • Build Scripts Changes

v1.2.2

  • Build Scripts Changes
    • Add changelogx section to package.json - a3916ff, royriojas, 11/09/2015 16:00:26

v1.2.1

  • Build Scripts Changes

  • Other changes

    • Update dependencies Replaced lodash.assign with smaller object-assign Fixed tests for windows - 0ad3000, Bogdan Chadkin, 11/09/2015 15:44:18

v1.2.0

  • Features
    • analyzeFiles now returns also the files that were removed - 6ac2431, royriojas, 04/09/2015 12:40:53

v1.1.1

  • Features
    • Add method to check if a file hasChanged - 3640e2b, Roy Riojas, 30/08/2015 05:33:32

v1.1.0