Skip to content

Torque 0.5.6

Choose a tag to compare

@hexydec hexydec released this 17 Oct 11:44
· 36 commits to master since this release

This release fixes issues with combining Javascript and gathering assets:

  • Fixed issue with double slashes in addresses in app::getPreloadLinks() and assets::getStylesheetAssets()
  • Changed defaults of some HTML attribute minification options to false as they may be unsafe and updated description in config::$options
  • Reworked how scripts are handled in app::optimise(), as previously the load order was not correct. It now reads the IDs from wp-scripts to determine when inline snippets should appear before or after the combined file
  • All inline scripts are now not moved to the bottom
  • Added extra note on combinejavascipt setting to say that the combine function can break your code
  • Fixed addressing issues in assets::getStylesheetAssets()
  • Fixed issue in assets::getPageAssets() to only select stylesheets that have an href
  • Fixed issue in app::optimise() where the javascript that is combined was moved to the bottom, but sometimes the code above it relies on it being loaded first. It now inserts the code where the first script to be combined was removed
  • Updated FAQ in readme
  • Updated version number in readme.txt and torque.php