Skip to content

2025.1.0

Choose a tag to compare

@gabrielfeo gabrielfeo released this 11 Sep 01:47
· 34 commits to main since this release
2025.1.0
bffbdd5

Generated from the API spec of Develocity API 2025.1.

What's Changed

New API spec

Notable changes

🚨 Breaking changes

  • Added: Many new API endpoints and features from the Develocity 2025.1 API spec (see API changelog).
  • Removed: 🚨 The library no longer bundles an SLF4J implementation. While bundling one was convenient for logging in scripts, it would create conflicts when a different implementation was provided. Users must now provide their own logging backend if needed. See the logging documentation (#332).
  • Changed: 🚨 Configuration is now aligned with official Develocity tooling, simplifying setup (#468, #455).
    • The server URL variable is now DEVELOCITY_URL (previously DEVELOCITY_API_URL) and should be the base URL of your instance (e.g., https://develocity.example.com), without the /api/ suffix. The code counterpart is now Config.server (previously Config.apiUrl).
    • The access key variable is now DEVELOCITY_ACCESS_KEY (previously DEVELOCITY_API_TOKEN) and must be in the host=key format. The code counterpart is now Config.accessKey (previously Config.apiToken).
    • Conventional access key locations (e.g., ~/.gradle/develocity/keys.properties) are now supported and used by default. See the access keys documentation.
  • Changed: 🚨 The library no longer implicitly shares HTTP client resources such as connection and thread pools across different DevelocityApi instances, except in Kotlin Jupyter notebooks. This fixes resource closure issues in long-running processes like Gradle daemons. This is a breaking change if you were relying on this behavior when creating multiple DevelocityApi instance. See this code as an example of how to preserve the sharing behavior outside notebooks (#451).
  • Changed: The library is now compiled with Kotlin language version 1.8 for broader compatibility, including older Kotlin/Jupyter kernels and the Kotlin version embedded in Gradle (#404, #426).

Full Changelog from 2024.3.0: 2024.3.0...2025.1.0