mirror of
https://github.com/apache/airflow.git
synced 2026-11-04 07:12:48 +00:00
main
8
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
cefc0c3239 |
Bump the java-sdk-dependency-updates group across 1 directory with 3 updates (#74108)
* Bump the java-sdk-dependency-updates group across 1 directory with 3 updates Bumps the java-sdk-dependency-updates group with 3 updates in the /java-sdk directory: [io.ktor:ktor-network](https://github.com/ktorio/ktor), [plugin.serialization](https://github.com/JetBrains/kotlin) and [org.jetbrains.kotlin:kotlin-gradle-plugin](https://github.com/JetBrains/kotlin). Updates `io.ktor:ktor-network` from 3.5.2 to 3.6.0 - [Release notes](https://github.com/ktorio/ktor/releases) - [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md) - [Commits](https://github.com/ktorio/ktor/compare/3.5.2...3.6.0) Updates `plugin.serialization` from 2.4.10 to 2.4.20 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v2.4.10...v2.4.20) Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 2.4.10 to 2.4.20 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v2.4.10...v2.4.20) --- updated-dependencies: - dependency-name: io.ktor:ktor-network dependency-version: 3.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: java-sdk-dependency-updates - dependency-name: plugin.serialization dependency-version: 2.4.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: java-sdk-dependency-updates - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-version: 2.4.20 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: java-sdk-dependency-updates ... Signed-off-by: dependabot[bot] <support@github.com> * Regenerate Java SDK dependency verification metadata Kotlin 2.4.20, Ktor 3.6.0 and SLF4J 2.0.19 replace the previously trusted versions. Generated-by: Claude Opus 5 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jarek Potiuk <jarek@potiuk.com> |
||
|
|
566e9f3c27 |
Bump Java SDK dependencies with Java 11 compatibility (#71670)
* Bump the java-sdk-dependency-updates group across 2 directories with 22 updates Bumps the java-sdk-dependency-updates group with 15 updates in the /java-sdk directory: | Package | From | To | | --- | --- | --- | | org.apache.logging.log4j:log4j-core | `2.26.0` | `2.26.1` | | [com.gradleup.shadow:shadow-gradle-plugin](https://github.com/GradleUp/shadow) | `9.1.0` | `9.6.1` | | [com.github.spotbugs:spotbugs-annotations](https://github.com/spotbugs/spotbugs) | `4.9.8` | `4.10.3` | | [com.fasterxml.jackson.core:jackson-annotations](https://github.com/FasterXML/jackson) | `2.21` | `2.22` | | [com.fasterxml.jackson.dataformat:jackson-dataformat-yaml](https://github.com/FasterXML/jackson-dataformats-text) | `2.21.0` | `2.22.1` | | com.fasterxml.jackson.datatype:jackson-datatype-jsr310 | `2.21.0` | `2.22.1` | | [io.ktor:ktor-network](https://github.com/ktorio/ktor) | `3.3.3` | `3.5.1` | | [org.jetbrains.kotlinx:kotlinx-coroutines-core](https://github.com/Kotlin/kotlinx.coroutines) | `1.10.2` | `1.11.0` | | [org.jetbrains.kotlinx:kotlinx-datetime](https://github.com/Kotlin/kotlinx-datetime) | `0.7.1` | `0.8.0` | | [org.jetbrains.kotlinx:kotlinx-serialization-json](https://github.com/Kotlin/kotlinx.serialization) | `1.10.0` | `1.11.0` | | [org.msgpack:msgpack-core](https://github.com/msgpack/msgpack-java) | `0.9.11` | `0.9.12` | | org.jsonschema2pojo | `1.2.2` | `1.3.3` | | [plugin.serialization](https://github.com/JetBrains/kotlin) | `2.3.0` | `2.4.10` | | [org.jetbrains.kotlin:kotlin-gradle-plugin](https://github.com/JetBrains/kotlin) | `2.3.0` | `2.4.10` | | [gradle-wrapper](https://github.com/gradle/gradle) | `8.14.4` | `8.14.5` | Bumps the java-sdk-dependency-updates group with 3 updates in the /java-sdk/scala_spark_example directory: [org.scala-lang:scala-library](https://github.com/scala/scala), org.apache.spark:spark-sql_2.13 and [org.apache.logging.log4j:log4j-bom](https://github.com/apache/logging-log4j2). Updates `org.apache.logging.log4j:log4j-core` from 2.26.0 to 2.26.1 Updates `org.apache.logging.log4j:log4j-api` from 2.26.0 to 2.26.1 Updates `com.gradleup.shadow:shadow-gradle-plugin` from 9.1.0 to 9.6.1 - [Release notes](https://github.com/GradleUp/shadow/releases) - [Commits](https://github.com/GradleUp/shadow/compare/9.1.0...9.6.1) Updates `com.github.spotbugs:spotbugs-annotations` from 4.9.8 to 4.10.3 - [Release notes](https://github.com/spotbugs/spotbugs/releases) - [Changelog](https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md) - [Commits](https://github.com/spotbugs/spotbugs/compare/4.9.8...4.10.3) Updates `com.fasterxml.jackson.core:jackson-annotations` from 2.21 to 2.22 - [Commits](https://github.com/FasterXML/jackson/commits) Updates `com.fasterxml.jackson.core:jackson-core` from 2.21.1 to 2.22.1 - [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.21.1...jackson-core-2.22.1) Updates `com.fasterxml.jackson.core:jackson-databind` from 2.21.0 to 2.22.0 - [Commits](https://github.com/FasterXML/jackson/commits) Updates `com.fasterxml.jackson.dataformat:jackson-dataformat-yaml` from 2.21.0 to 2.22.1 - [Commits](https://github.com/FasterXML/jackson-dataformats-text/compare/jackson-dataformats-text-2.21.0...jackson-dataformats-text-2.22.1) Updates `com.fasterxml.jackson.datatype:jackson-datatype-jsr310` from 2.21.0 to 2.22.1 Updates `io.ktor:ktor-network` from 3.3.3 to 3.5.1 - [Release notes](https://github.com/ktorio/ktor/releases) - [Changelog](https://github.com/ktorio/ktor/blob/main/CHANGELOG.md) - [Commits](https://github.com/ktorio/ktor/compare/3.3.3...3.5.1) Updates `org.jetbrains.kotlinx:kotlinx-coroutines-core` from 1.10.2 to 1.11.0 - [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases) - [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md) - [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.10.2...1.11.0) Updates `org.jetbrains.kotlinx:kotlinx-datetime` from 0.7.1 to 0.8.0 - [Release notes](https://github.com/Kotlin/kotlinx-datetime/releases) - [Changelog](https://github.com/Kotlin/kotlinx-datetime/blob/master/CHANGELOG.md) - [Commits](https://github.com/Kotlin/kotlinx-datetime/compare/v0.7.1...v0.8.0) Updates `org.jetbrains.kotlinx:kotlinx-serialization-json` from 1.10.0 to 1.11.0 - [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases) - [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md) - [Commits](https://github.com/Kotlin/kotlinx.serialization/compare/v1.10.0...v1.11.0) Updates `org.msgpack:msgpack-core` from 0.9.11 to 0.9.12 - [Release notes](https://github.com/msgpack/msgpack-java/releases) - [Changelog](https://github.com/msgpack/msgpack-java/blob/main/RELEASE_NOTES.md) - [Commits](https://github.com/msgpack/msgpack-java/compare/v0.9.11...v0.9.12) Updates `org.msgpack:jackson-dataformat-msgpack` from 0.9.11 to 0.9.12 - [Release notes](https://github.com/msgpack/msgpack-java/releases) - [Changelog](https://github.com/msgpack/msgpack-java/blob/main/RELEASE_NOTES.md) - [Commits](https://github.com/msgpack/msgpack-java/compare/v0.9.11...v0.9.12) Updates `org.jsonschema2pojo` from 1.2.2 to 1.3.3 Updates `plugin.serialization` from 2.3.0 to 2.4.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v2.3.0...v2.4.10) Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 2.3.0 to 2.4.10 - [Release notes](https://github.com/JetBrains/kotlin/releases) - [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md) - [Commits](https://github.com/JetBrains/kotlin/compare/v2.3.0...v2.4.10) Updates `gradle-wrapper` from 8.14.4 to 8.14.5 - [Release notes](https://github.com/gradle/gradle/releases) - [Commits](https://github.com/gradle/gradle/compare/v8.14.4...v8.14.5) Updates `org.scala-lang:scala-library` from 2.13.8 to 2.13.18 - [Release notes](https://github.com/scala/scala/releases) - [Commits](https://github.com/scala/scala/compare/v2.13.8...v2.13.18) Updates `org.apache.spark:spark-sql_2.13` from 3.5.8 to 3.5.9 Updates `org.apache.logging.log4j:log4j-bom` from 2.26.0 to 2.26.1 - [Release notes](https://github.com/apache/logging-log4j2/releases) - [Changelog](https://github.com/apache/logging-log4j2/blob/2.x/RELEASE-NOTES.adoc) - [Commits](https://github.com/apache/logging-log4j2/compare/rel/2.26.0...rel/2.26.1) --- updated-dependencies: - dependency-name: org.apache.logging.log4j:log4j-core dependency-version: 2.26.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: java-sdk-dependency-updates - dependency-name: org.apache.logging.log4j:log4j-api dependency-version: 2.26.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: java-sdk-dependency-updates - dependency-name: com.gradleup.shadow:shadow-gradle-plugin dependency-version: 9.6.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: java-sdk-dependency-updates - dependency-name: com.github.spotbugs:spotbugs-annotations dependency-version: 4.10.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: java-sdk-dependency-updates - dependency-name: com.fasterxml.jackson.core:jackson-annotations dependency-version: '2.22' dependency-type: direct:production update-type: version-update:semver-minor dependency-group: java-sdk-dependency-updates - dependency-name: com.fasterxml.jackson.core:jackson-core dependency-version: 2.22.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: java-sdk-dependency-updates - dependency-name: com.fasterxml.jackson.core:jackson-databind dependency-version: 2.22.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: java-sdk-dependency-updates - dependency-name: com.fasterxml.jackson.dataformat:jackson-dataformat-yaml dependency-version: 2.22.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: java-sdk-dependency-updates - dependency-name: com.fasterxml.jackson.datatype:jackson-datatype-jsr310 dependency-version: 2.22.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: java-sdk-dependency-updates - dependency-name: io.ktor:ktor-network dependency-version: 3.5.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: java-sdk-dependency-updates - dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-core dependency-version: 1.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: java-sdk-dependency-updates - dependency-name: org.jetbrains.kotlinx:kotlinx-datetime dependency-version: 0.8.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: java-sdk-dependency-updates - dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-json dependency-version: 1.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: java-sdk-dependency-updates - dependency-name: org.msgpack:msgpack-core dependency-version: 0.9.12 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: java-sdk-dependency-updates - dependency-name: org.msgpack:jackson-dataformat-msgpack dependency-version: 0.9.12 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: java-sdk-dependency-updates - dependency-name: org.jsonschema2pojo dependency-version: 1.3.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: java-sdk-dependency-updates - dependency-name: plugin.serialization dependency-version: 2.4.10 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: java-sdk-dependency-updates - dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin dependency-version: 2.4.10 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: java-sdk-dependency-updates - dependency-name: gradle-wrapper dependency-version: 8.14.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: java-sdk-dependency-updates - dependency-name: org.scala-lang:scala-library dependency-version: 2.13.18 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: java-sdk-dependency-updates - dependency-name: org.apache.spark:spark-sql_2.13 dependency-version: 3.5.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: java-sdk-dependency-updates - dependency-name: org.apache.logging.log4j:log4j-bom dependency-version: 2.26.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: java-sdk-dependency-updates ... Signed-off-by: dependabot[bot] <support@github.com> * Keep shadow-gradle-plugin on 9.1.0 and refresh dependency verification metadata shadow-gradle-plugin 9.6.1 declares org.gradle.plugin.api-version 9.2.0 and Java 17 compatibility, but the java-sdk plugin project compiles against Java 11 on Gradle 8.14.5, so resolution fails outright. 9.1.0 is the last release that supports Java 11, which is what the pin's comment already recorded. Gradle strict verification rejects any artifact absent from verification-metadata.xml, and the remaining bumps in this group resolve artifacts the committed file does not describe. * Store gradlew.bat with LF endings as .gitattributes requires The regenerated wrapper landed in the repository with CRLF bytes, but java-sdk/.gitattributes marks *.bat as 'text eol=crlf', meaning LF in the object store and CRLF on checkout. The mismatch left the file permanently dirty in every working tree and blocked rebases. Windows checkouts still get CRLF. * Keep Java SDK dependency updates compatible with Java 11 Keep jsonschema2pojo and Shadow at versions that load on Java 11. Use published Jackson coordinates, align dependency submission on Gradle 8.14.5, and regenerate verification metadata from the resolved graph. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jarek Potiuk <jarek@potiuk.com> |
||
|
|
956b7f866a |
Verify Java SDK build dependencies (#71400)
The Java SDK build trusted whatever its configured repositories returned, so a replaced or shadowed artifact could execute during a build -- including in the buildSrc code that configures every published module -- without anything failing. Pinning checksums turns that substitution into a build error, and declaring repositories in one place gives reviewers a single spot to audit where bytes may come from. Checksums alone are trust-on-first-use: they prove an artifact has not changed since it was recorded, not that it was ever trustworthy. The README therefore documents the independent cross-check required when regenerating the metadata, and names the inputs this deliberately does not cover -- the auto-provisioned JDK toolchain and the downloaded Supervisor Schema -- so the guarantee is not read as broader than it is. |
||
|
|
f0953fb1b1 | Fix more Java SDK build edge cases (#69628) | ||
|
|
162952b3d3 |
Fix Java SDK RC2 blockers: source packaging, jar LICENSE/NOTICE, BOM gap (#69582)
* Exclude the full Gradle wrapper from the Java SDK source release Only gradle-wrapper.jar was excluded from the sourceRelease tarball (LEGAL-570), but gradlew, gradlew.bat, and gradle-wrapper.properties still shipped, drawing a binding -1 in the 1.0.0-beta1 RC2 vote. The wrapper stays tracked in git; only the git-archive output used by sourceRelease now omits it. Document both ways to build an extracted source package without the wrapper, add a release-verification checklist, and add a vote-email template with the full 8-artifact staged list so future RCs don't repeat the RC2 feedback. * Add LICENSE/NOTICE and reproducible archives to Java SDK jars Staged convenience-binary jars (main, sources, javadoc, test-fixtures) were missing META-INF/LICENSE and META-INF/NOTICE, violating ASF release policy for distributed binaries. Builds were also not byte-reproducible: jar entries carried wall-clock timestamps, blocking GitHub-driven publishing. Centralizing both fixes in the airflow-jvm-conventions plugin, applied by every jar-producing module (sdk, jul, log4j2, slf4j, jpl, processor, plugin), covers all modules without per-module duplication. * Manage airflow-sdk-jpl version in the Java SDK BOM The BOM constrained sdk, jul, log4j2, processor, and slf4j but not jpl, even though jpl is published to Nexus and the bundled example module depends on it. Consumers pulling in jpl via the BOM alone had no version constraint to resolve against. * Manage airflow-sdk-gradle-plugin version in the Java SDK BOM airflow-sdk-gradle-plugin publishes under the same org.apache.airflow Maven coordinate convention as the other SDK artifacts, but was left out of the BOM's constraints when airflow-sdk-jpl was added — the same gap the jpl fix was closing. Consumers importing airflow-sdk-bom still got no version pin for the plugin artifact. * Use rc<N> placeholder in Java SDK release verification clone example * Keep wrapper properties in the archive * Add verification in BOM to not miss subprojects * Touch up on Java SDK verification process --------- Co-authored-by: TP <uranusjr@apache.org> |
||
|
|
4e4c69aab7 | Additional setup for Java SDK release (#69444) | ||
|
|
2d1aaab9ec | Use pre-commit hook to keep Java versions in sync (#68448) | ||
|
|
390fc454bb | Java gradle plugin and project split (#68380) |