Skip to content

Releases: YanikCeulemans/asset-cache-bust

v2.2.0

25 Feb 20:11

Choose a tag to compare

#5 has been resolved thus bringing logging.

Following features were added:

  • Logging is now supported by providing an object with an info function to the options under the name: logger. e.g. assetCacheBust('some html', 'root path', { logger: { info: function (msg) { /* do something with the msg*/ } } }
  • A verbose option was added to the CLI so you can see what it's doing. This is useful as a debugging tool when your assets are not being cache busted. Use it by typing asset-cache-bust some.html --verbose. See the CLI help for more information (asset-cache-bust --help).

v2.1.0

23 Feb 07:50

Choose a tag to compare

Following features were added:

  • Replacement of asset root. See #6

Scripts support + Asset root

22 Feb 07:45

Choose a tag to compare

Following features were added:

  • Support for script asset cache busting, see #3
  • Support for a custom asset root, see #4

Because #4 is a required parameter in the core module, this is a major release version upgrade.