Skip to content

Releases: phase2/grunt-drupal-tasks

v0.10.0

20 Mar 19:26
Compare
Choose a tag to compare
  • Replaced copy with rsync to move the temporary build output as part of the default build process. For Windows environments, copy is still used.
  • Added support for running tests included with custom modules for Drupal 8.
  • Updated default phplint patterns to skip *.panels_default.inc files.
  • Removed peer dependency on Grunt in package.json. This prevents issues when updating to the forthcoming Grunt 1.0.0.
  • Updating Node.js engines requirement in package.json to v0.12.0 or later.
  • Updated dependencies.

Upgrade Notes

  • Node.js v0.10.x is no longer supported.
  • Project configurations that override the default drushmake task should be updated to use rsync:tempbuild instead of copy:tempbuild on non-Windows environments. The canRsync function from lib/util.js should be used to determine if rsync is supported in an environment.

v0.9.3

20 Mar 19:29
Compare
Choose a tag to compare
  • Improved performance for code style quality checks by limiting file scans.
  • Updated default file patterns for code style quality checks.
  • Added Travis CI test coverage for more versions of Node.js.
  • Fixed Drupal 8 tests by adding a D8-specific composer.json file.

v0.9.2

20 Mar 19:31
Compare
Choose a tag to compare
  • Added --no-validate command line option to skip running the grunt:validate
    tasks, including PHPCS and eslint.
  • Fixed bug that prevented phpcs and eslint from running
  • Fixed bug that caused scope error for this.name.
  • Updated dependencies. Added npm shrinkwrap file to ensure consistency between
    installations.

v0.9.1

20 Mar 19:32
Compare
Choose a tag to compare
  • Add config option to specify command runner in git hook scripts.
  • Fixed Gruntconfig.json interpretation for disabling tasks and specifying port
    for the serve task.
  • Fixed error when using a theme's validate script.
  • Configured copy operations during build to ensure file modes are preserved.

v0.9.0

20 Mar 19:34
Compare
Choose a tag to compare

Upgrade Notes

  • Themes with a validate task configured are excluded by default from the Grunt
    Drupal Tasks validate task.

v0.8.0

20 Mar 19:34
Compare
Choose a tag to compare
  • Fixed bug in theme proxying feature.
  • Updated Travis CI test configuration to use improved infrastructure and test
    additional PHP versions.
  • Added default scaffold task to symlink any directories in src/libraries to
    build/html/sites/all/libraries (for D7) or build/html/libraries (for D8).

v0.7.1

20 Mar 19:35
Compare
Choose a tag to compare
  • Fixing error with 'grunt serve' due to drush:serve not being defined.
  • Ensuring that Behat is run with the Grunt process's environment variables.

v0.7.0

20 Mar 19:36
Compare
Choose a tag to compare
  • Added eslint JavaScript code quality checking to the validate and analyze
    tasks.
  • Added grunt serve task to easily install and run the Drupal site without external dependencies like Apache.
  • Added theme scripts system to allow running theme-provided build scripts as part of the GDT build process.
  • Added phplint.dir setting to Gruntconfig to allow customization of linting paths.
  • Added grunt validate:newer to validate only files changed since the last run, and using it for the grunt watch task for a speed increase!
  • New settings for grunt package to prepare output ready for commit to Acquia- and Pantheon-style release repositories.
  • Added Drupal 8 test coverage, Travis and npm test will now run tests against D7 and D8.
  • Added support for actions against configured URLs for multiple environments.
    See documentation for more information: https://github.com/phase2/grunt-drupal-tasks/blob/master/CONFIG.md#core-settings
  • Additional unit & integration tests.

Upgrade Notes

  • The GRUNT_DRUPAL_QUIET environment variable to enable quiet mode is renamed
    to GDT_QUIET.
  • grunt package no longer compresses by default. Use grunt package:compress
    to replicate former behavior.

v0.6.1

20 Mar 19:37
Compare
Choose a tag to compare
  • Adding documentation on Gadget, the Yeoman generator for Grunt Drupal Tasks.
  • Ensuring dot-files are copied from the temporary build (Drush output) and the
    static files directory.
  • Adding --notify option as a converse of --quiet.
  • Adding .editorconfig to the project example.

v0.6.0

20 Mar 19:38
Compare
Choose a tag to compare
  • Added automatic support for Drupal 8 based on Drush detection of the Drupal
    version.
  • Dynamically compute Drush Make concurrency based on system capability with a
    new concurrency detection service.
  • Ruby (bundler) will now install dependencies into vendor/bundle.
  • Ruby and PHP upstream binaries are placed or symlinked from vendor/bin.
    This frees up bin/ for custom project scripts.
  • Adding default values for the buildPaths in the project Gruntconfig.json so
    the buildPaths config is no longer required.
  • Ensure reports directory is created before running analyze.
  • Support for *.sass files in compass watch.
  • Refactored grunt help task to be extensible from separate projects.
  • The docroot assembly tasks (such as the symlinking) performed after drush make
    have been consolidated into a new scaffold task.
  • Due to npm's behavior that strips .gitignore files from packages, the example
    .gitignore is renamed to gitignore, and needs to be renamed manually after
    installation.

Upgrade Notes

  • Remove the Drush Make --concurrency option from your Gruntconfig. It will no
    longer be respected.
  • The example composer.json and Gruntconfig.json have been both updated
    to support installing PHP component executables to vendor/bin instead
    of bin. If you want to continue using bin, use caution when updating
    these files.
  • Ruby bundle executables are moved to vendor/bin from bin. This change is
    intrinsic to v0.6.0. You may need to run rm -Rf .bundle to clear Bundler
    configuration to make way for the new install location.
  • Gruntconfig.json no longer needs the buildPaths config key. Elements of
    buildPaths added to your project Gruntconfig will override default behavior.
  • Configuration of grunt help for project-specific tasks via Gruntconfig.json
    removed in favor of new Help API.