Skip to content

Releases: salesforce/rules_spring

1.0.9 December 2020 Deterministic Classloading Order

17 Dec 17:54
Compare
Choose a tag to compare

This release fixes a difference that could arise when building the Spring Boot jar on different platforms (Linux, Mac). Spring Boot loader seems to use the order of insertion into the Spring Boot executable jar as the classloading order at runtime. Therefore we need to be more explicit about the order in which entries are inserted into the Spring Boot executable, and not leave it to the platform implementation of jar to determine the order. More details are in Issue #72.

1.0.8 December 2020 Features, Features, Features

16 Dec 00:22
Compare
Choose a tag to compare

This is a pre-release of the 1.1.0 planned release (coming soon). We cleared a lot of the backlog of features and fixes.

  • The Spring Boot rule now obtains the dependencies from the provided java_library rule; it is no longer necessary to restate them for the spring boot rule #31
  • Reduce the clutter in the paths used for jars in the BOOT-INF/libs directory #61
  • It is now possible to pass arguments to the Spring Boot application when it is started with bazel run #8
  • The Spring Boot rule now supports the data attribute, which follows the same logic as the data attribute for java_binary #48
  • This repository now uses Spring Boot version 2.4.1 (was 2.2.0) for the examples #66
  • Deprecate the Spring Boot import bundles feature, and clean up what remains of it #4
  • Implement support for the new classpath.idx file introduced in Spring Boot 2.3 #33
  • Support the passing of JVM flags when the application is launched with bazel run #36

The changes to the import bundles are potentially backwards incompatible to some use cases. It was done in this release to make the Spring Boot upgrade easier. Apologies for any issues.

1.0.7 December 2020 Dupe Class Checker Overhaul

11 Dec 01:35
Compare
Choose a tag to compare

This release focused mostly on the duplicate class checker feature of the Spring Boot rule. This release achieved the following for duplicate class checking:

  • the output has been improved when it detects a duplicate class and fails
  • if you have a captive python install in your workspace as a python toolchain, it will use that to run the script instead of system python
  • the allowlist.txt file for listing jar files that are excluded from dupe class checking is now configurable per instance of the springboot rule; previously it was embedded in the springboot rule itself
  • it now operates entirely in python; previously it was half done in Bash, half in python.
  • it executes as a top level subrule within the Spring Boot rule macro; previously it was embedded in the packaging step

In addition, the Spring Boot jar rule now supports the visibility attribute. This allows you to consume the generated Spring Boot executable jar in other packages (typically, for test usages).

1.0.6 November 2020 Allowlist is blank

25 Nov 15:40
4af5abd
Compare
Choose a tag to compare

This release simply makes the allowlist.txt for exclusion dependency collisions blank. It is recommended to use "exclude" attribute if there are class duplicates found.

1.0.5 November 2020 Exclude dependency fix

10 Nov 14:35
228a415
Compare
Choose a tag to compare

This release contains a small fix to exclude attribute of springboot rule that wasn't catching certain cases.

1.0.4 October 2020 allowlist updates

30 Oct 17:28
b063c8a
Compare
Choose a tag to compare

Allow list updates for grpc 1.32.2

1.0.3 October 2020 remove verbose log message

28 Oct 17:45
7dc939d
Compare
Choose a tag to compare

Removes an unnecessary log line regarding the allowlist during duplicate class checking. Also updates the allowlist due to internal updates to our own build.

It is tedious that we need to re-release the rule for every change to our internal allowlist for the dupe checker. We plan to externalize the allowlist in Issue #29 so this will no longer be necessary. We need to rework the dupe class checker feature for Issue #44, which is scheduled for our current sprint, so we might be able to solve #29 at the same time.

1.0.2 September 2020: cleaned up allowlist feature for dupe checking

23 Sep 22:51
e755443
Compare
Choose a tag to compare

Patch release to clean up the allowlist.txt file, which is an input into dupe checking. This does not resolve Issue #29 which allows the allowlist.txt file to be passed in the rule.

1.0.1 September 2020: maven_install for helloworld

21 Sep 21:41
Compare
Choose a tag to compare

This release upgrades the helloworld sample to maven_install.

1.0.0 September 2020: maven_install

21 Sep 19:50
Compare
Choose a tag to compare

This is the first release that uses maven_install style references for dependencies.