Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency rules_spring to v2.6.1 #1159

Merged
merged 1 commit into from
Dec 25, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 3, 2024

This PR contains the following updates:

Package Type Update Change
rules_spring http_archive minor 2.4.0 -> 2.6.1

Release Notes

salesforce/rules_spring (rules_spring)

v2.6.1: Dec 2024 Bug Fixes for Multiarch, JAVABIN, debug

Compare Source

This release fixes a few issues:

  • springboot rule is now preconfigured for multi-arch oci use cases #​250 (thanks for report @​code-weirdo)
  • the JAVABIN environment variable is now a step in the precedence order for finding the JVM for bazel run commands #​245
  • fixed the springboot rule environment variable name for debug logging (is it now properly upper cased) #​148

Bzlmod:

### rules_spring is not in Bazel Central Registry yet, so use the specific commit
bazel_dep(name = "rules_spring", version = "2.6.1")
git_override(
    module_name = "rules_spring",
    remote = "https://github.com/salesforce/rules_spring",
    commit="9342782519d69a12aa92c47e06214802ed3ab265",
)

WORKSPACE:

http_archive(
    name = "rules_spring",
    sha256 = "98143672b2edd2eb84762a6ebe6afc3a194d1ec06bdfaaf0cc87d4d750476db0",
    urls = [
        "https://github.com/salesforce/rules_spring/releases/download/2.6.1/rules-spring-2.6.1.zip",
    ],
)

v2.6.0: Dec 2024 Bazel Run Configuration Enhancements

Compare Source

This release improves configuration options for services launched via bazel run.

  • Added support for externalized configuration by loading application.properties files passed in the bazelrun_data attribute. See docs for details. #​135
  • Added support for passing environment variables into the bazel run launcher script, which can be used to set Spring properties. See docs for details. #​166
  • Fixes a bug whereby only the first datafile passed in the bazelrun_data array attribute was processed #​238

Bzlmod:

### rules_spring is not in Bazel Central Registry yet, so use the specific commit
bazel_dep(name = "rules_spring", version = "2.6.0")
git_override(
    module_name = "rules_spring",
    remote = "https://github.com/salesforce/rules_spring",
    commit="531594577e815ca790ef4c10b1d84c7eb5281e24",
)

WORKSPACE:

http_archive(
    name = "rules_spring",
    sha256 = "b8c2de8a8123906c9d0fc5afd35dfde5f55d6030c4d72266e4dfd0543f621d89",
    urls = [
        "https://github.com/salesforce/rules_spring/releases/download/2.6.0/rules-spring-2.6.0.zip",
    ],
)

v2.5.2: Dec 2024 Multi-target support, Bazel Run JVM Flag Improvements

Compare Source

This release eliminates a couple of limitations in the springboot() macro. The first is the most notable:

  • Support multiple springboot targets in a single BUILD file; eliminates the limitation of having at most one #​139

And an enhancement, and a bug fix, related to JVM flags used during Bazel run executions of springboot() targets:

  • Added new attribute bazelrun_jvm_flag_list as the new preferred form of bazelrun_jvm_flags. It has the same purpose but is more bazel-like: it is an array of JVM args, instead of a space separated string. bazelrun_jvm_flags is now deprecated. #​234
  • Discovered that ADD_OPENS and ADD_EXPORTS Bazel run script variables were not working correctly in some cases. There was no delineation between them and JVM_FLAGS and so in some cases jvm flags were being mistaken for ADDs. This didn't cause any actual problems, but was messy. Removed those two variables since ADDs can just be lumped together as additional JVM_FLAGS in a single list. #​234

Bzlmod:

### rules_spring is not in Bazel Central Registry yet, so use the specific commit
bazel_dep(name = "rules_spring", version = "2.5.2")
git_override(
    module_name = "rules_spring",
    remote = "https://github.com/salesforce/rules_spring",
    commit="9458a305f2978673cdeb26962d38fd0d4f7b7ad7",
)

WORKSPACE:

http_archive(
    name = "rules_spring",
    sha256 = "e08254a8dac77b1d3f85ada556038605c4106dbf09f92f26a06df511d16e6471",
    urls = [
        "https://github.com/salesforce/rules_spring/releases/download/2.5.2/rules-spring-2.5.2.zip",
    ],
)

v2.5.1: Dec 2024 Bzlmod fix, bazelrun script fixes

Compare Source

This is a bug fix release:

  • Fixes an error in the Bzlmod MODULE.bazel of 2.5.0 related to the dev dependency rules_jvm_external #​229
  • Fixes an issue with the bazelrun script, due to the first line being a blank line #​143 (@​drmercer-lucid)
  • Fixes a packaging problem with the bazelrun script when --nolegacy_external_runfiles is used #​227 (@​drmercer-lucid)
  • Stood up a public test repo for testing rules_spring releases; previously we relied on an internal monorepo for all testing. This will allow us to innovate with rules_spring faster.

Bzlmod:

### rules_spring is not in Bazel Central Registry yet, so use the specific commit
bazel_dep(name = "rules_spring", version = "2.5.1")
git_override(
    module_name = "rules_spring",
    remote = "https://github.com/salesforce/rules_spring",
    commit="29e7be015415b1a80e706cf40e333b1a6251961b",
)

WORKSPACE:

http_archive(
    name = "rules_spring",
    sha256 = "fe247b8b8bd58c82023e0b4212484724bf17f81394f97e913c522cea68b125e8",
    urls = [
        "https://github.com/salesforce/rules_spring/releases/download/2.5.1/rules-spring-2.5.1.zip",
    ],
)

v2.5.0: Dec 2024 Transition to Bzlmod

Compare Source

Fully transitioned to Bzlmod for workspace dependency management. MODULE.bazel now fully describes the workspace dependencies, and WORKSPACE has been deleted.

NOTE: this release has a bug in the MODULE.bazel file, and is not recommended for use. Use 2.5.1 instead.

If you are just starting your Bzlmod journey, here are some good starting points:

Bzlmod:

### rules_spring is not in Bazel Central Registry yet, so specify the 2.5.0 commit
bazel_dep(name = "rules_spring", version = "2.5.0")
git_override(
    module_name = "rules_spring",
    remote = "https://github.com/salesforce/rules_spring",
    commit="168362d1a70a2f032700f77498aa4d3d863ff144",
)

WORKSPACE:

http_archive(
    name = "rules_spring",
    sha256 = "5a4f83c892ac072088e4a03d3647c8282f782b097a33bdb01723c63ae930311d",
    urls = [
        "https://github.com/salesforce/rules_spring/releases/download/2.5.0/rules-spring-2.5.0.zip",
    ],
)

v2.4.2: Dec 2024 rules_license and Bazel Constraint Attributes

Compare Source

This release adds a few minor features:

  • Adds support for restricted_to and target_compatible_with attributes (Bazel standard attributes) #​219 (@​bhnord)
  • Adds official license targets using rules_license #​222 and #​223

To use this release:

Bzlmod:

  bazel_dep(name = "rules_spring", version = "2.4.2")
  git_override(
      module_name = "rules_spring",
      remote = "https://github.com/salesforce/rules_spring",
      commit="23b0fb07c56820f0d576b24a8879841f4165b568",
  )

WORKSPACE:

http_archive(
    name = "rules_spring",
    sha256 = "95e0bc66b8d3424cddbe37ca75babff372a8f80c833d5dce6e87277476a9b97c",
    urls = [
        "https://github.com/salesforce/rules_spring/releases/download/2.4.2/rules-spring-2.4.2.zip",
    ],
)

v2.4.1: Dec 2024 Better Deps Filter

Compare Source

This release does not change the rule implementation, but contains two good enhancements:

  • We have overhauled how to eliminate unwanted dependencies. The new deps_filter_transitive filter has the same behavior as the deps_exclude attribute, but also applies to the classpath used in tests so is more accurate. #​171
  • Fixed an issue with extraneous files in the release zip file. #​212

To use this release:

http_archive(
    name = "rules_spring",
    sha256 = "939dd1399ff75a067a20aeeef2000c3a37791e54c8c5a899e78bd8175341263a",
    urls = [
        "https://github.com/salesforce/rules_spring/releases/download/2.4.1/rules-spring-2.4.1.zip",
    ],
)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title chore(deps): update dependency rules_spring to v2.4.1 chore(deps): update dependency rules_spring to v2.4.2 Dec 8, 2024
@renovate renovate bot force-pushed the renovate/rules_spring-2.x branch 2 times, most recently from c5bac24 to 4d7dc62 Compare December 9, 2024 02:20
@renovate renovate bot changed the title chore(deps): update dependency rules_spring to v2.4.2 chore(deps): update dependency rules_spring to v2.5.0 Dec 9, 2024
@renovate renovate bot force-pushed the renovate/rules_spring-2.x branch from 4d7dc62 to 2f23d39 Compare December 10, 2024 08:09
@renovate renovate bot changed the title chore(deps): update dependency rules_spring to v2.5.0 chore(deps): update dependency rules_spring to v2.5.1 Dec 10, 2024
@renovate renovate bot force-pushed the renovate/rules_spring-2.x branch from 2f23d39 to dfbdbc8 Compare December 21, 2024 07:53
@renovate renovate bot changed the title chore(deps): update dependency rules_spring to v2.5.1 chore(deps): update dependency rules_spring to v2.5.2 Dec 21, 2024
@renovate renovate bot force-pushed the renovate/rules_spring-2.x branch from dfbdbc8 to be4d2b8 Compare December 22, 2024 05:14
@renovate renovate bot changed the title chore(deps): update dependency rules_spring to v2.5.2 chore(deps): update dependency rules_spring to v2.6.0 Dec 22, 2024
@renovate renovate bot force-pushed the renovate/rules_spring-2.x branch from be4d2b8 to 6d8f2bf Compare December 23, 2024 07:07
@renovate renovate bot changed the title chore(deps): update dependency rules_spring to v2.6.0 chore(deps): update dependency rules_spring to v2.6.1 Dec 23, 2024
@damingerdai damingerdai merged commit b601d5c into master Dec 25, 2024
6 checks passed
@damingerdai damingerdai deleted the renovate/rules_spring-2.x branch December 25, 2024 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant