Node Gradle Gradle Node Plugin Versions Save

Gradle plugin for integrating NodeJS in your build. :rocket:

3.3.0

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/node-gradle/gradle-node-plugin/compare/3.2.1...3.3.0

3.2.1

2 years ago

Full Changelog: https://github.com/node-gradle/gradle-node-plugin/compare/3.2.0...3.2.1

  • Backwards compatibility fix for those using VariantComputer #213
  • Prevent M1 Macs from attempting to download a non-existent distribution #214

3.2.0

2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/node-gradle/gradle-node-plugin/compare/3.1.1...3.2.0

3.1.1

2 years ago
  • Add support for Linux on Z system (s390x) #193

3.0.1

3 years ago
  • Fixes a bug with the task rule preventing it from being configured #145

3.0.0

3 years ago
  • Rewrite the code to Kotlin (issue #17) (thanks mikejhill for the pull request)
  • Improve the Kotlin DSL support (see this Kotlin DSL example that shows how to use this plugin version with Kotlin)
  • Upgrade default Node.js version to 14.15.4 (bundled with npm 6.14.10), the latest LTS version
  • Add support of lazy configuration (issue #39)
  • Add support of Gradle Configuration Cache (introduced in Gradle 6.8) (issue #111)
  • Fix some remaining input/output declaration issues (issue #34)
  • Gradle 5.6.4+ support (instead of Gradle 5.0.0+ before)
  • Node.js 10+ support (issue #100)
  • Improved automatic proxy configuration (issue #113), use http:// for both HTTP_PROXY and HTTPS_PROXY
  • Improved proxy configuration (PR #135)
  • npm 7+ support (issue #123)
  • Improved ARM support (issue #130)
  • Gradle configuration cache support (issue #111)
  • Add RepositoryContentDescriptor to IvyRepository #136

Breaking changes

This version breaks backward compatibility. It should not be visible for most Groovy DSL users since the Groovy DSL handles transparently most of these changes. Here is what changed:

  • All the packages were renamed (they were inherited from the original forked project):
    • com.moowork.gradle.node (and all children) renamed to com.github.gradle.node
    • com.moowork.gradle.node.npm renamed to com.github.gradle.node.npm.task
    • com.moowork.gradle.node.yarn renamed to com.github.gradle.node.yarn.task
  • All the configuration properties (the node extension and all tasks) are now some lazy properties as recommended by Gradle. This makes this plugin fully compatible with lazy configuration (tasks will be configured only if they need to run and configuration properties are read only at runtime if needed and not at configuration time).
  • Thanks to the Kotlin rewrite, some properties now have a stronger typing.
  • nodeModulesDir option was renamed to nodeProjectDir (name more explicit and less confusing) (issue #99). The former name still works but is deprecated.
  • Change the syntax to configure nodeModulesOutputFilter on npmInstall and yarn tasks. It also affects Groovy DSL users. Use now nodeModulesOutputFilter { ... } instead of nodeModulesOutputFilter = { ... }.

2.2.4

4 years ago

Fix a duplicated node_modules output declaration in the yarn task. This fix speeds up this task.

2.2.3

4 years ago

The previous release (2.2.2) was released by error from the development branch which contains an entire Kotlin rewrite of the plugin code and many backward compatibility breaks. This new version replaces the previous one and adds one fix.

  • Make npm and npx symlinks relative. PR #68
  • NpmSetupTask does not work when using separate http and https proxy settings #69

2.2.2

4 years ago

Edit: this release was broken, see #80. Use 2.2.3 instead.

  • Make npm and npx symlinks relative. PR #68

2.2.1

4 years ago
  • Only use fileTree for npmInstall output if a filter is configured. Hotfix for #63