Skip to content

Releases

v21.2.0

Choose a tag to compare

@rpalcolea rpalcolea released this 09 Nov 19:02
4bc2f7a

Experimental Isolated Projects support

This release adds an opt-in implementation for Gradle Isolated Projects. It is
experimental and disabled by default. Existing builds continue to use the
legacy implementation unless they explicitly adopt the new path.

What's new

  • A new com.netflix.nebula.release-settings companion plugin captures common
    release inputs in settings. Each project receives its version locally, avoiding
    a mutable root-to-child configuration handoff.
  • Support for ordinary help/build commands, root snapshot, devSnapshot,
    immutableSnapshot, candidate, and final workflows, and their setup tasks.
    Release preparation, tagging, and pushing remain owned by the root project.
  • Native Maven/Ivy descriptors and publication hooks, including explicit
    dependsOn and finalizedBy task paths. Gradle's normal dependency and
    finalizer behavior is preserved.
  • Opt-in support for com.netflix.nebula.release-base, selected through
    isolatedRelease.baseRelease = true, with root prepare and release tasks.
  • The full plugin preserves its no-Git fallback: participating projects receive
    0.1.0-dev.0.uncommitted, ordinary builds remain usable, and release tasks are
    not installed.
  • Provider-backed versions and remotes, built-in default stages, and explicit
    supplied-version verification settings. Common inputs are finalized before
    project configuration; unsupported customization receives adoption diagnostics.
  • One shared immutable-snapshot timestamp per settings evaluation. Configuration
    cache reuse retains it, while settings reevaluation captures a new timestamp
    consistently across project versions, JARs, and publication descriptors.

How to opt in

Enable the build-wide flag in the root gradle.properties:

nebula.release.isolatedProjectsSupport=true

Apply the settings companion in settings.gradle, using the same release version
as the project plugin:

plugins {
    id 'com.netflix.nebula.release-settings' version '<release-version>'
}

isolatedRelease {
    scope = 'minor'
}

Apply com.netflix.nebula.release in the root and each participating project's
own build script or local convention. Move common release customization into
the supported isolatedRelease settings DSL; legacy root DSL and custom
strategies are not automatically migrated.

Enable Gradle's own Isolated Projects mode separately. For the validated Gradle
9.0/9.5 workflow versions, an initial check is:

./gradlew help \
  -Dorg.gradle.unsafe.isolated-projects=true \
  --configuration-cache \
  --configuration-cache-problems=fail

Run it twice to check cache storage and reuse. See the
adoption guide
for release-base configuration, participation, publishing hooks, and migration
diagnostics.

Compatibility and current limits

  • The complete documented workflow suites cover Gradle 9.0.0 and 9.5.0.
    The build is tested on Java 17, 21, and 25.
  • Additional Gradle 9.9.0 tests cover configuration-cache and timestamp
    boundaries. They do not establish the complete release workflow matrix on 9.9.
  • Partial project configuration-cache reuse remains unverified. The tested
    Gradle task-build implementations reconfigure the whole graph on a cache miss;
    a whole-build cache hit does not prove partial project reuse.
  • Artifactory integration is unsupported on the experimental path. Artifactory
    6.0.0 and 6.0.4 exhibit isolation failures independently of this plugin. Use
    native Maven/Ivy hooks, or retain the legacy path with Gradle isolation disabled.
  • Arbitrary Project-based custom strategies, tag callbacks, composite builds,
    independent release trains, and custom workflow entry points remain outside
    the experimental guarantee. Use full root workflow names; abbreviated
    selectors receive a diagnostic.

The flag remains off by default. These results establish the documented
experimental boundary, not general Isolated Projects compatibility. See the
compatibility review
for evidence and remaining acceptance gaps.

Git command correctness fix

Git write commands now use the process exit status to determine success.
Successful fetch/push progress printed to stderr no longer causes a false
failure, and a nonzero exit fails even when stderr is empty.

This correction applies to both the legacy and experimental implementations
and is independent of the feature flag. See
PR #316.

Full Changelog: v21.1.5...v21.2.0

v21.1.5

Choose a tag to compare

@wakingrufus wakingrufus released this 01 Oct 15:37

What's Changed

  • remove jackson-bom since jackson is not used by this project by @wakingrufus in #312

Full Changelog: v21.1.4...v21.1.5

v21.1.4

Choose a tag to compare

@emilyyuan03 emilyyuan03 released this 29 Sep 23:05
03d880c

What's Changed

  • make version glob stricter based on if v prefix exists by @emilyyuan03 in #311

Full Changelog: v21.1.3...v21.1.4

v21.1.3

Choose a tag to compare

@wakingrufus wakingrufus released this 04 Sep 18:51

What's Changed

  • disable publishing legacy plugin marker to maven central by @wakingrufus in #309

Full Changelog: v21.1.2...v21.1.3

v21.1.2

Choose a tag to compare

@wakingrufus wakingrufus released this 04 Sep 17:01

What's Changed

  • Update dependencies by @github-actions[bot] in #301
  • update actions versions by @wakingrufus in #308

Full Changelog: v21.1.1...v21.1.2

v21.1.1

Choose a tag to compare

@DanielThomas DanielThomas released this 04 Sep 00:21
8bd7471

What's Changed

Full Changelog: v21.0.2...v21.1.1

v21.1.0

Choose a tag to compare

@wakingrufus wakingrufus released this 24 Aug 18:31
  • give release base plugin an id in #304

Full Changelog: v21.0.2...v21.1.0

v21.0.2

Choose a tag to compare

@rpalcolea rpalcolea released this 19 Aug 00:56
1f8b34c

What's Changed

  • Fix version re-inference causing "Cannot call Task.setEnabled" on :release by @rpalcolea in #303

Full Changelog: v21.0.1...v21.0.2

v21.0.1

Choose a tag to compare

@rpalcolea rpalcolea released this 13 Aug 05:07
44d6cd2

What's Changed

  • Fix for #264: Fix tag incorrectly calculated when not prefixed by v. by @davidjlynn in #283
  • Update Gradle Wrapper to 9.2.1 by @rpalcolea in #287
  • Improve usage of Provider API by @rpalcolea in #288
  • Update github actions by @rpalcolea in #289
  • update to latest plugin-plugin by @wakingrufus in #290
  • modernize by @wakingrufus in #296
  • Update dependencies by @github-actions[bot] in #297
  • Update dependencies by @github-actions[bot] in #298
  • Update dependencies by @github-actions[bot] in #299
  • Update dependencies by @github-actions[bot] in #300
  • perf: memoize GitBuildService reads and stop running git status twice by @rpalcolea in #302

New Contributors

Full Changelog: v21.0.0...v21.0.1

v21.0.0

Choose a tag to compare

@rpalcolea rpalcolea released this 24 Jun 19:55

Breaking change

Gradle 9.x support and compiled with JDK 17

Full Changelog: v20.2.0...v21.0.0