Skip to content

Releases: siouan/frontend-gradle-plugin

5.0.1

12 Mar 19:24
Compare
Choose a tag to compare

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

15 Jan 15:20
Compare
Choose a tag to compare

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

  • Possible use of JVM network properties (JDK 11 / JDK 8) when proxying HTTP/HTTPS requests (#136)

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+

  1. 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 into httpsProxy* properties, or httpProxy* properties if you used non-secure URLs in nodeDistributionUrlRoot or yarnDistributionUrlRoot properties. You may also have to set explicitly proxy port with httpsProxyPort or httpProxyPort 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.
  1. 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

01 Nov 13:58
Compare
Choose a tag to compare

Bug fixes

  • Fixed HTTP 407 responses with HTTP proxy authentication and HTTPS distribution server (#131).

Tasks

  • Removed HTTP with BASIC authentication usage security warning.

Latest upgrade notes available in release 4.0.0

4.0.0

31 Aug 07:56
Compare
Choose a tag to compare

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 with org.siouan.frontend-jdk11 or org.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 with org.siouan:frontend-gradle-plugin-jdk11:<version> or org.siouan:frontend-gradle-plugin-jdk8:<version>.

3.0.2

31 Aug 07:55
Compare
Choose a tag to compare

Tasks

  • Added message to encourage upgrading to release 4.0.0 and replacing ID with either org.siouan.frontend-jdk8 or org.siouan.frontend-jdk11.

Latest upgrade notes available in release 3.0.1

3.0.1

12 Aug 12:21
Compare
Choose a tag to compare

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

Upgrading from 3.0.0

  • Deprecated plugin ID org.siouan.frontend SHALL be replaced with org.siouan.frontend-jdk8.
  • When using the build script block to resolve the plugin, the classpath org.siouan:frontend-gradle-plugin:<version> MUST be replaced with org.siouan:frontend-gradle-plugin-jdk8:<version>.

3.0.0

18 May 07:16
Compare
Choose a tag to compare

Features

  • When using provided distributions (with nodeDistributionProvided/yarnDistributionProvided properties), the plugin may automatically rely on NODEJS_HOME/YARN_HOME/PATH environment variables to locate provided distributions or executables, if not explicitly defined with nodeInstallDirectory/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 executing installFrontend task (#117).

Upgrading from 2.0.0+

  • When using the former nodeDistributionUrl property, the value now must be splitted into the nodeDistributionUrlRoot property and the nodeDistributionUrlPathPattern property.
  • When using the former yarnDistributionUrl property, the value now must be splitted into the yarnDistributionUrlRoot property and the yarnDistributionUrlPathPattern property.

Contributions

2.1.0

27 Apr 06:53
Compare
Choose a tag to compare

Features

  • Distributions may be downloaded through a HTTP proxy server (#99).

Bug fixes

  • installNode or installYarn tasks fail when a temporary distribution file already exists (#101).

Tasks

  • Added technical info in documentation (#98).

2.0.0

16 Apr 15:47
Compare
Choose a tag to compare

Features

  • New org.siouan.frontendgradleplugin.infrastructure.gradle.RunNpx task type to create custom tasks and run a npx 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 the verboseModeEnabled property (#94).
  • Added configuration examples for common use cases (#91).

Upgrading from 1.1.0+

  • The task type org.siouan.frontendgradleplugin.tasks.RunNodeTask moved to org.siouan.frontendgradleplugin.infrastructure.gradle.RunNode. Update any custom task using this type accordingly.
  • The task type org.siouan.frontendgradleplugin.tasks.RunScriptTask moved to org.siouan.frontendgradleplugin.infrastructure.gradle.RunNpmYarn. Update any custom task using this type accordingly.
  • The loggingLevel property was replaced by the verboseModeEnabled property, and the default false 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 is true. This new property provides the same feature with a different way to configure it.

1.4.1

24 Mar 17:08
Compare
Choose a tag to compare

Bug fixes

  • The publishFrontend task is not triggered by Gradle publish task (#84)