Releases: gabrielfeo/develocity-api-kotlin
2023.4.0
Generated from the API spec of Gradle Enterprise API 2023.4.
What's Changed
New API spec
- Bump GE API spec version to 2023.4 by @github-actions in #132
Library changes
The 2023.4 API spec introduces support for getting /api/builds/{id}/gradle-attributes (and others) embedded in the response of /api/builds, via the new models parameter. The getBuildsFlow extension supports this. Using models + query is recommended for a more efficient use of the API. getGradleAttributesFlow is now deprecated in favor of getBuildsFlow(models = ...). Please refer to the latest README and examples. To help migrate existing code, the deprecation message has automatic migration on Intellij (Kotlin ReplaceWith).
- Support 2023.4 models param by @gabrielfeo in #162 and #163
TestsApi and the beta ProjectsApi (2023.3) are now accessible from the library.
- Add missing APIs to GradleEnterpriseApi by @gabrielfeo in #174
macOS keychain support is deprecated in favor of environment variables (with your own solution to protect the access key, such as password manager integrations).
- Deprecate keychain support by @gabrielfeo in #164
This release uses Kotlin 1.9.22.
Full Changelog: 2023.3.1...2023.4.0
2023.4.0-alpha03
Generated from the API spec of Gradle Enterprise API 2023.4.
What's Changed
New API spec
Library changes
This release fixes an issue when using models on the BuildsApi.getBuildsFlow extension in which some of the requests would not send the models param.
Full Changelog from last alpha: 2023.4.0-alpha02...2023.4.0-alpha03
Full Changelog from stable: 2023.3.1...2023.4.0-alpha03
Full Changelog: 2023.4.0-alpha02...2023.4.0-alpha03
2023.4.0-alpha02
Generated from the API spec of Gradle Enterprise API 2023.4.
What's Changed
New API spec
Library changes
This release adds support for requesting models on the BuildsApi.getBuildsFlow extension. models was already supported in BuildsApi.getBuilds (generated API).
Full Changelog from last alpha: 2023.4.0-alpha01...2023.4.0-alpha02
Full Changelog from stable: 2023.3.1...2023.4.0-alpha02
2023.4.0-alpha01
Generated from the API spec of Gradle Enterprise API 2023.4.
What's Changed
New API spec
Library changes
There were no library API changes (other than the generated API).
Full Changelog: 2023.3.1...2023.4.0-alpha01
2023.3.1
This is a patch release. Fixes an issue that caused BuildsApi.getBuildsFlow to yield incorrect results when using an advanced query, e.g. buildsApi.getBuildsFlow(since = lastWeek, query = "tag:local").
What's Changed
- Fix paging requests when using advanced query by @gabrielfeo in #134
Full Changelog: 2023.3.0...2023.3.1
2023.3.0
Generated from the API spec of Gradle Enterprise API 2023.3.
What's Changed
New API spec
Library changes
- Support advanced query in
BuildsApiextensions by @gabrielfeo in #126
Full Changelog: 2023.2.0...2023.3.0
2023.2.0
Generated from the API spec of Gradle Enterprise API 2023.2.
What's Changed
Compared to 2023.1.0, the library API itself is unchanged, but the new generated code may contain breaking changes.
Full Changelog: 2023.1.0...2023.2.0
2023.1.0
Generated from the API spec of Gradle Enterprise API 2023.1.
First stable version. Compared to 0.17.0, the library API itself is unchanged, but the code generated from the new API spec may contain breaking changes. Library v0.17.0 was generated from GE API spec 2022.4, while v2023.1.0 is generated from 2023.1 (for API diff, see #42).
Versions will now be aligned with GE API releases, with the patch number added for potential library fixes (e.g. 2023.1 + .0).
Full Changelog: 0.17.0...2023.1.0
0.17.0
What's Changed
To further simplify the library API, static/companion methods of GradleEnterpriseApi are removed. To migrate, simply create your own instance of the object:
-GradleEnterpriseApi.buildsApi.getBuilds(...)
+val api = GradleEnterpriseApi.newInstance()
+api.buildsApi.getBuilds(...)- Remove DefaultInstance by @gabrielfeo in #86
Full Changelog: 0.16.2...0.17.0
0.16.2
What's Changed
This release fixes an issue that would cause pure code configuration (without required environment variables) to fail.
- Fix configuration via code by @gabrielfeo in #78
Full Changelog: 0.16.1...0.16.2