You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This fixes#271 and starts a bunch of refactors, it
also re-introduces support for Gradle 6, and deprecates
the platform functionality of PlatformHelper (in it's
current state)
Copy file name to clipboardExpand all lines: CHANGELOG.md
+22-15
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,15 @@
1
1
# Changelog
2
2
3
-
## Version 4.x *(unreleased)*
3
+
## Version 5.x *(unreleased)*
4
+
5
+
## Version 5.0.0 *(unreleased)*
6
+
* Support configuration-cache on Gradle 8.1 [#271](https://github.com/node-gradle/gradle-node-plugin/issues/271)
7
+
* Store node directories on NodeExtension
8
+
* Deprecate parts of PlatformHelper that require executing commands during configuration
9
+
* Re-introduce support for Gradle 6.6 and newer
4
10
5
11
## Version 4.0.0 *(2023-04-23)*
12
+
***This version is unfortunately broken, please upgrade directly to 5.0.0**
6
13
* Drop support for versions lower than Gradle 7.5.1
7
14
* Rename `package.json` extension to `packageJson`[#232](https://github.com/node-gradle/gradle-node-plugin/issues/232)
8
15
* Support configuration-cache on Gradle 8.1 [#271](https://github.com/node-gradle/gradle-node-plugin/issues/271)
@@ -39,7 +46,7 @@
39
46
## Version 3.1.0 *(2021-05-07)*
40
47
* Add support for Linux Power PC [#166](https://github.com/node-gradle/gradle-node-plugin/issues/166) (thanks [akatona84](https://github.com/akatona84) for the [pull request](https://github.com/node-gradle/gradle-node-plugin/issues/167))
41
48
* Internal test suite now running against Gradle 7
42
-
* Adds `yarn.lock` as an input to `NpmInstallTask`[#155](https://github.com/node-gradle/gradle-node-plugin/issues/155)
49
+
* Adds `yarn.lock` as an input to `NpmInstallTask`[#155](https://github.com/node-gradle/gradle-node-plugin/issues/155)
43
50
44
51
## Version 3.0.1 *(2021-02-09)*
45
52
* Fixes a bug with the task rule preventing it from being configured [#145](https://github.com/node-gradle/gradle-node-plugin/issues/145)
@@ -74,15 +81,15 @@ Here is what changed:
74
81
*`com.moowork.gradle.node` (and all children) renamed to `com.github.gradle.node`
75
82
*`com.moowork.gradle.node.npm` renamed to `com.github.gradle.node.npm.task`
76
83
*`com.moowork.gradle.node.yarn` renamed to `com.github.gradle.node.yarn.task`
77
-
* All the configuration properties (the `node` extension and all tasks) are now some
78
-
[lazy properties](https://docs.gradle.org/current/userguide/lazy_configuration.html#lazy_properties) as recommended by
79
-
Gradle. This makes this plugin fully compatible with lazy configuration (tasks will be configured only if they need to
84
+
* All the configuration properties (the `node` extension and all tasks) are now some
85
+
[lazy properties](https://docs.gradle.org/current/userguide/lazy_configuration.html#lazy_properties) as recommended by
86
+
Gradle. This makes this plugin fully compatible with lazy configuration (tasks will be configured only if they need to
80
87
run and configuration properties are read only at runtime if needed and not at configuration time).
81
88
* Thanks to the Kotlin rewrite, some properties now have a stronger typing.
82
89
*`nodeModulesDir` option was renamed to `nodeProjectDir` (name more explicit and less confusing)
83
-
(issue [#99](https://github.com/node-gradle/gradle-node-plugin/issues/99)). The former name still works but is
90
+
(issue [#99](https://github.com/node-gradle/gradle-node-plugin/issues/99)). The former name still works but is
84
91
deprecated.
85
-
* Change the syntax to configure `nodeModulesOutputFilter` on `npmInstall` and `yarn` tasks. It also affects Groovy DSL
92
+
* Change the syntax to configure `nodeModulesOutputFilter` on `npmInstall` and `yarn` tasks. It also affects Groovy DSL
86
93
users. Use now `nodeModulesOutputFilter { ... }` instead of `nodeModulesOutputFilter = { ... }`.
87
94
88
95
## Version 2.2.4 *(2020-05-18)*
@@ -91,7 +98,7 @@ users. Use now `nodeModulesOutputFilter { ... }` instead of `nodeModulesOutputFi
91
98
92
99
## Version 2.2.3 *(2020-02-28)*
93
100
94
-
The previous release (2.2.2) was released by error from the development branch which contains an entire Kotlin rewrite
101
+
The previous release (2.2.2) was released by error from the development branch which contains an entire Kotlin rewrite
95
102
of the plugin code and many backward compatibility breaks. This new version replaces the previous one and adds one fix.
96
103
* Make npm and npx symlinks relative. PR #68
97
104
* NpmSetupTask does not work when using separate http and https proxy settings #69
@@ -110,10 +117,10 @@ of the plugin code and many backward compatibility breaks. This new version repl
110
117
*`NodeTask`'s `script` now has relative path sensitivity (issue [#41](https://github.com/node-gradle/gradle-node-plugin/issues/41))
111
118
* No longer consider the working dir as an input for all tasks (issue [#40](https://github.com/node-gradle/gradle-node-plugin/issues/40))
112
119
* Explicitly exclude the `execOverrides` option of tasks from the inputs (issue [#40](https://github.com/node-gradle/gradle-node-plugin/issues/40))
113
-
* Add the ability to remove some files of the `node_modules` directory from the `NpmInstallTask` and `YarnInstallTask`
120
+
* Add the ability to remove some files of the `node_modules` directory from the `NpmInstallTask` and `YarnInstallTask`
114
121
outputs from the task output ; this is necessary when some tasks change some files of the `node_modules` directory ;
115
122
the `NpmInstallTask` and `YarnInstallTask` are never up-to-date in this case
* Deprecate the usage of `NodeTask` with a `script` which is a directory ; Node.js supports that and looks for an
118
125
`index.js` file in the directory but this is not compliant with a correct input/output declaration (issue [#41](https://github.com/node-gradle/gradle-node-plugin/issues/41))
119
126
* No longer use `Project.afterEvaluate` as a first step to support lazy tasks configuration (issue [#39](https://github.com/node-gradle/gradle-node-plugin/issues/39))
@@ -126,17 +133,17 @@ of the plugin code and many backward compatibility breaks. This new version repl
126
133
* Improve the inputs declarations of the `YarnTask`
127
134
128
135
## Version 2.1.0 *(2019-09-19)*
129
-
* Adds NpxTask for making use of https://www.npmjs.com/package/npx PR #32
130
-
* Improved up-to-date checks PR #32
136
+
* Adds NpxTask for making use of https://www.npmjs.com/package/npx PR #32
137
+
* Improved up-to-date checks PR #32
131
138
* Support ARM even if the JDK reports aarch64 #33
132
-
* Setting distBaseUrl to null disables repository adding PR #25
139
+
* Setting distBaseUrl to null disables repository adding PR #25
133
140
134
141
## Version 2.0.0 *(2019-07-29)*
135
142
* Only support Gradle 5.x officially.
136
143
* Drop support for grunt/gulp plugins.
137
144
138
145
## Version 1.5.1 *(2019-06-19)*
139
-
* Fix inputs/outputs for NpmInstallTask/YarnInstallTask.
146
+
* Fix inputs/outputs for NpmInstallTask/YarnInstallTask.
140
147
141
148
## Version 1.5.0 *(2019-06-19)*
142
149
* Backport from srs: Added gradle build cache support for npm install (bjornmagnusson)
@@ -195,7 +202,7 @@ Version 0.14 *(2016-11-29)*
195
202
Version 0.13 *(2016-06-27)*
196
203
---------------------------
197
204
198
-
* Bumped gradle wrapper version to 2.14
205
+
* Bumped gradle wrapper version to 2.14
199
206
* Implement ARM compatibility _(madmas)_
200
207
* Allow node modules to be used when calling npm_run _(jmcampanini)_
0 commit comments