Releases: siouan/frontend-gradle-plugin
5.0.1
Bug fixes
- Fixed
UnsupportedPlatformException
when URL path pattern contains a static value (#149) - Fixed basic authentication on distribution server with HTTPS protocol (#152)
- Fixed whitespaces management in executable paths under Unix-like O/S (#153)
Latest upgrade notes available in release 5.0.0
Contributions
5.0.0
This release brings breaking changes about HTTP/HTTPS proxy management, to provide support of JVM network properties. proxy*
properties in the plugin are renamed, and default value for port changes.
Features
Bug fixes
- Fixed
ConcurrentModificationException
thrown when Gradle's parallel mode is enabled (#141) - Fixed "Invalid cookie header" warnings when running task
installYarn
(#134)
Tasks
- Migrate CI to GitHub actions instead of Travis (#145)
Upgrading from 4.0.0+
- The plugin's extension now supports distinct settings:
- To configure usage of a proxy for HTTPS requests: use
httpsProxyHost
,httpsProxyPort
,httpsProxyUsername
,httpsProxyPassword
properties. - To configure usage of a proxy for HTTP requests: use
httpProxyHost
,httpProxyPort
,httpProxyUsername
,httpProxyPassword
properties.
JVM network property http.nonProxyHosts
is also used now by the plugin to eventually disable proxying, for both HTTP and HTTPS requests.
- If you were using former
proxy*
properties, in most cases, you should just have to rename these properties intohttpsProxy*
properties, orhttpProxy*
properties if you used non-secure URLs innodeDistributionUrlRoot
oryarnDistributionUrlRoot
properties. You may also have to set explicitly proxy port withhttpsProxyPort
orhttpProxyPort
properties, because the default value changed. - If you were not using former
proxy*
properties, upgrading should be effortless as long as your JVM network properties allow downloading distributions.
- Default value for the proxy port is changed
Formerly, the plugin used port 8080 as the default value for the proxyPort
property. With new httpsProxyPort
and httpProxyPort
properties, default values are port 443 and port 80 respectively.
4.0.1
4.0.0
IMPORTANT NOTES
Starting from this release, the plugin will be released for both JDK 11 and JDK 8. Apart from the plugin ID, there is no breaking change with releases 3.0.0+.
Tasks
- Removed legacy plugin ID
org.siouan.frontend
.
Upgrading from 3.0.1+
- Plugin ID
org.siouan.frontend
MUST be replaced withorg.siouan.frontend-jdk11
ororg.siouan.frontend-jdk8
depending on the JDK used to run Gradle. - When using the build script block to resolve the plugin, the classpath
org.siouan:frontend-gradle-plugin:<version>
MUST be replaced withorg.siouan:frontend-gradle-plugin-jdk11:<version>
ororg.siouan:frontend-gradle-plugin-jdk8:<version>
.
3.0.2
3.0.1
IMPORTANT NOTES
Starting from this release, plugin ID org.siouan.frontend
is now deprecated and replaced with ID org.siouan.frontend-jdk8
. Both points to the same plugin implementation, but the deprecated ID will be removed in the next major release 4.0.0 that will be delivered august 2020. This change was decided to anticipate migration of the plugin to JDK 11, and keep a consistent and predictable syntax. For JDK 11, the plugin ID will be org.siouan.frontend-jdk11
. Consequently, after release 4.0.0 is published, the plugin will be available:
- With ID
org.siouan.frontend-jdk11
for JDK 11+ projects. - With ID
org.siouan.frontend-jdk8
for JDK 8+ projects.
When using the legacy build script block to resolve the plugin, the classpath MUST be changed: follow the upgrading notes below.
Bugs
- Fixed absolute path of shell command to launch executables under Unix-like O/S (#125).
Tasks
- Added new plugin ID
org.siouan.frontend-jdk8
to replace former IDorg.siouan.frontend
. - Moved official documentation to https://siouan.github.io/frontend-gradle-plugin/.
Upgrading from 3.0.0
- Deprecated plugin ID
org.siouan.frontend
SHALL be replaced withorg.siouan.frontend-jdk8
. - When using the build script block to resolve the plugin, the classpath
org.siouan:frontend-gradle-plugin:<version>
MUST be replaced withorg.siouan:frontend-gradle-plugin-jdk8:<version>
.
3.0.0
Features
- When using provided distributions (with
nodeDistributionProvided
/yarnDistributionProvided
properties), the plugin may automatically rely onNODEJS_HOME
/YARN_HOME
/PATH
environment variables to locate provided distributions or executables, if not explicitly defined withnodeInstallDirectory
/yarnInstallDirectory
properties (#107). - Distributions may be downloaded from a custom website based on a URL pattern, to provide the same flexibility than with Node.js/Yarn websites (#108).
- Support of BASIC authentication when downloading Node.js/Yarn distributions (#111).
- Support of proxy BASIC authentication when downloading Node.js/Yarn distributions (#112).
Bug fixes
NullPointerException
when executinginstallFrontend
task (#117).
Upgrading from 2.0.0+
- When using the former
nodeDistributionUrl
property, the value now must be splitted into thenodeDistributionUrlRoot
property and thenodeDistributionUrlPathPattern
property. - When using the former
yarnDistributionUrl
property, the value now must be splitted into theyarnDistributionUrlRoot
property and theyarnDistributionUrlPathPattern
property.
Contributions
2.1.0
2.0.0
Features
- New
org.siouan.frontendgradleplugin.infrastructure.gradle.RunNpx
task type to create custom tasks and run anpx
command (#93). - New
nodeDistributionProvided
property to use a preinstalled/shared Node.js distribution (#86). - New
yarnDistributionProvided
property to use a preinstalled/shared Yarn distribution (#86).
Tasks
- Refactored massively plugin architecture to improve maintainability and testability (#58).
- Refactored plugin logging system and replaced the
loggingLevel
property with theverboseModeEnabled
property (#94). - Added configuration examples for common use cases (#91).
Upgrading from 1.1.0+
- The task type
org.siouan.frontendgradleplugin.tasks.RunNodeTask
moved toorg.siouan.frontendgradleplugin.infrastructure.gradle.RunNode
. Update any custom task using this type accordingly. - The task type
org.siouan.frontendgradleplugin.tasks.RunScriptTask
moved toorg.siouan.frontendgradleplugin.infrastructure.gradle.RunNpmYarn
. Update any custom task using this type accordingly. - The
loggingLevel
property was replaced by theverboseModeEnabled
property, and the defaultfalse
value now reduces the noise on Gradle's output with the default LIFECYCLE logging level. Consequently, if this property is omitted, the messages logged by the plugin with previous releases are not displayed anymore in the output after upgrade, unless the logging level is INFO or DEBUG, or the property istrue
. This new property provides the same feature with a different way to configure it.