changelog.md 16.1 KB

flat-cache - Changelog

v3.0.4

  • Refactoring
    • add files by name to the list of exported files - 89a2698, Roy Riojas, 08/11/2020 02:35:39

v3.0.3

v3.0.2

v3.0.1

v3.0.0

  • Refactoring

  • Other changes

    Node v10 introduced a great "recursive" option for mkdir which allows to get rid from mkdirp package and easily rewrite "write" package usage with two function calls.

    https://nodejs.org/api/fs.html#fs_fs_mkdir_path_options_callback

    thanks @SuperITMan

    mocha > mkdirp is updated istanble >>> optimist > minimist is not updated

    • drop support node.js < 10 in develop - beba691, yumetodo, 18/03/2020 01:31:09

    see mkdirp

    37 vulnerabilities required manual review and could not be updated

    • updtate sinon - 9f2d1b6, yumetodo, 18/03/2020 01:17:51
    • apply eslint-plugin-mocha - 07343b5, yumetodo, 13/03/2020 22:17:21
    • Less strint version check (#44) - 92aca1c, Wojciech Maj, 13/11/2019 16:18:25
    • Use ^ version matching for production dependencies
    • Run npm audit fix
  • Bug Fixes

    • update dependencies and use eslint directly - 73fbed2, yumetodo, 18/03/2020 01:17:27

v2.0.1

  • Refactoring

v2.0.0

  • Bug Fixes

  • Other changes

    • Replace circular-json with flatted (#36) - b93aced, C. K. Tang, 08/01/2019 17:03:01
    • Change JSON parser from circular-json to flatted & 1 more changes (#37) - 745e65a, Andy Chen, 08/01/2019 16:17:20
    • Change JSON parser from circular-json to flatted & 1 more changes
    • Change JSON parser from circular-json
    • Audited 2 vulnerabilities
    • Update package.json
    • Update Engine require
    • There's a bunch of dependencies in this pkg requires node >=4, so I changed it to 4
    • Remove and add node versions
    • I have seen this pkg is not available with node 0.12 so I removed it
    • I have added a popular used LTS version of node - 10

v1.3.4

  • Refactoring
    • Add del.js and utils.js to the list of files to be beautified - 9d0ca9b, Roy Riojas, 14/11/2018 12:19:02

v1.3.3

  • Refactoring

    • Make sure package-lock.json is up to date - a7d2598, Roy Riojas, 14/11/2018 11:36:08
  • Other changes

    • Removed the need for del (#33) - c429012, S. Gilroy, 13/11/2018 13:56:37
    • Removed the need for del

    Removed the need for del as newer versions have broken backwards compatibility. del mainly uses rimraf for deleting folders and files, replaceing it with rimraf only is a minimal change.

    • Disable glob on rimraf calls
    • Added glob disable to wrong call
    • Wrapped rimraf to simplify solution

v1.3.2

  • Refactoring

  • Other changes

    This reverts commit 00f689277a75e85fef28e6a048fad227afc525e6.

v1.3.1

  • Refactoring

    • upgrade deps to remove some security warnings - f405719, Roy Riojas, 06/11/2018 12:07:31
  • Bug Fixes

    • replace circular-json with flatted (#23) - 00f6892, Terry, 05/11/2018 18:44:16
  • Other changes

    Closes #25

    v1.3.0

  • Other changes

    • Added #all method (#16) - 12293be, Ozair Patel, 25/09/2017 14:46:38
    • Added #all method
    • Added #all method test
    • Updated readme
    • Added yarn.lock
    • Added more keys for #all test
    • Beautified file
    • fix changelog title style (#14) - af8338a, 前端小武, 19/12/2016 20:34:48

v1.2.2

  • Bug Fixes

    Fixes #12

    Not sure under which situations a cache file might exist that does not contain a valid JSON structure, but just in case to cover the possibility of this happening a try catch block has been added

    If the cache is somehow not valid the cache will be discarded an a a new cache will be stored instead

  • Other changes

    As mentioned in https://github.com/WebReflection/circular-json/issues/25 circular-json wan't rightly implementing the license field.

    Latest version bump changed only that bit so that ESLint should now be happy.

    v1.2.1

  • Bug Fixes

    • Add missing utils.js file to the package. closes #8 - ec10cf2, Roy Riojas, 01/08/2016 02:18:57

v1.2.0

  • Documentation

v1.0.11

  • Features

    • Add noPrune option to cache.save() method. closes #7 - 2c8016a, Roy Riojas, 01/08/2016 02:00:29
    • Add json read and write utility based on circular-json - c31081e, Jean Ponchon, 28/07/2016 08:58:17
  • Bug Fixes

    Since we control both writing and reading of JSON stream, there no needs to handle unicode BOM.

  • Tests Related fixes

  • Refactoring

  • Build Scripts Changes

v1.0.10

  • Build Scripts Changes

    • add eslint-fix task - fd29e52, royriojas, 01/11/2015 15:04:08
    • make sure the test script also verify beautification and linting of files before running tests - e94e176, royriojas, 01/11/2015 11:54:48
  • Other changes

v1.0.9

  • Bug Fixes
    • wrong default values for changelogx user repo name - 7bb52d1, royriojas, 11/09/2015 15:59:30

v1.0.8

  • Build Scripts Changes

v1.0.7

v1.0.6

  • Build Scripts Changes

v1.0.5

v1.0.4

  • Refactoring

    • load a cache file using the full filepath - b8f68c2, Roy Riojas, 30/08/2015 04:19:14
  • Documentation

    • Add documentation about clearAll and clearCacheById - 13947c1, Roy Riojas, 01/03/2015 23:44:05
  • Features

    • Add methods to remove the cache documents created - af40443, Roy Riojas, 01/03/2015 23:39:27

v1.0.1

v1.0.0