Repository navigation
deps(deps): bump okhttp.version from 4.12.0 to 5.4.0 in /sdks/java - #291
dependabot[bot] wants to merge 1 commit into
Conversation
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: com.squareup.okhttp3:okhttp, com.squareup.okhttp3:mockwebserver Please review the changelog and breaking changes before merging. |
6 similar comments
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: com.squareup.okhttp3:okhttp, com.squareup.okhttp3:mockwebserver Please review the changelog and breaking changes before merging. |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: com.squareup.okhttp3:okhttp, com.squareup.okhttp3:mockwebserver Please review the changelog and breaking changes before merging. |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: com.squareup.okhttp3:okhttp, com.squareup.okhttp3:mockwebserver Please review the changelog and breaking changes before merging. |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: com.squareup.okhttp3:okhttp, com.squareup.okhttp3:mockwebserver Please review the changelog and breaking changes before merging. |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: com.squareup.okhttp3:okhttp, com.squareup.okhttp3:mockwebserver Please review the changelog and breaking changes before merging. |
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: com.squareup.okhttp3:okhttp, com.squareup.okhttp3:mockwebserver Please review the changelog and breaking changes before merging. |
e4f405d to
d265f78
Compare
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: com.squareup.okhttp3:mockwebserver, com.squareup.okhttp3:okhttp Please review the changelog and breaking changes before merging. |
d265f78 to
b8db0fc
Compare
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: com.squareup.okhttp3:mockwebserver, com.squareup.okhttp3:okhttp Please review the changelog and breaking changes before merging. |
b8db0fc to
f025a60
Compare
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: com.squareup.okhttp3:mockwebserver, com.squareup.okhttp3:okhttp Please review the changelog and breaking changes before merging. |
f025a60 to
19fd087
Compare
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: com.squareup.okhttp3:mockwebserver, com.squareup.okhttp3:okhttp Please review the changelog and breaking changes before merging. |
19fd087 to
c0eb998
Compare
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: com.squareup.okhttp3:mockwebserver, com.squareup.okhttp3:okhttp Please review the changelog and breaking changes before merging. |
Bumps `okhttp.version` from 4.12.0 to 5.4.0. Updates `com.squareup.okhttp3:okhttp` from 4.12.0 to 5.4.0 - [Changelog](https://github.com/lysine-dev/okhttp/blob/main/CHANGELOG.md) - [Commits](lysine-dev/okhttp@parent-4.12.0...parent-5.4.0) Updates `com.squareup.okhttp3:mockwebserver` from 4.12.0 to 5.4.0 - [Changelog](https://github.com/lysine-dev/okhttp/blob/main/CHANGELOG.md) - [Commits](lysine-dev/okhttp@parent-4.12.0...parent-5.4.0) --- updated-dependencies: - dependency-name: com.squareup.okhttp3:mockwebserver dependency-version: 5.4.0 dependency-type: direct:development update-type: version-update:semver-major - dependency-name: com.squareup.okhttp3:okhttp dependency-version: 5.4.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
c0eb998 to
416d62b
Compare
|
Major version update detected This PR contains a major version update that requires manual review. Dependency: com.squareup.okhttp3:mockwebserver, com.squareup.okhttp3:okhttp Please review the changelog and breaking changes before merging. |
Now testable, and it fails — but for a fixable reason, with a one-line fixUntil #327 merged, nothing in this repository had ever run Maven, so this bump could not be assessed: the Java SDK did not compile at all. It now compiles, its 17 tests run, and As proposed, this PR breaks compilation completely. Every core OkHttp type disappears. That looks like a sweeping API break, and it is not one. The actual cause: OkHttp 5 splits the artifact, and the JVM half is not what
|
|
Closing in favour of #333, which does the same bump plus the one edit this PR structurally cannot make.
Not a rebase problem. Dependabot bumps versions, and this release moved the coordinates, so no number of rebases produces a working commit — the Two things made this look like a sweeping API break rather than a renamed artifact:
|
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
…t has the classes
OkHttp 5 went multiplatform and split the artifact. `com.squareup.okhttp3:okhttp:5.4.0` is a
stub: `unzip -l okhttp-5.4.0.jar | grep -c '\.class'` returns 0. The JVM classes moved to
`com.squareup.okhttp3:okhttp-jvm`, which has 330.
So the version bump alone cannot work — it fails `src/main` with `package okhttp3 does not
exist`, which reads like a sweeping API break rather than a renamed artifact. Two things hid
what was really going on:
- `src/test` compiles either way. `mockwebserver` depends on `okhttp-jvm` transitively, so
the classes were already on the test classpath; only `compile` scope was missing them.
- the error names the package, not the artifact, so the obvious next move is to go looking
for renamed OkHttp APIs. There are none to find. No source file changes in this commit,
and all 17 tests pass unmodified.
This is why #291 could never be merged as opened, and why rebasing it would not have helped:
Dependabot bumps versions, and this release moved the coordinates. The two edits have to be in
one commit or neither is correct — which is a shape worth recognising the next time a major
"breaks the build" in a way no upgrade guide explains.
Verified:
$ unzip -l ~/.m2/.../okhttp-5.4.0.jar | grep -c '\.class' -> 0
$ unzip -l ~/.m2/.../okhttp-jvm-5.4.0.jar | grep -c '\.class' -> 330
$ mvn -B dependency:tree | grep -i okhttp
+- com.squareup.okhttp3:okhttp-jvm:jar:5.4.0:compile
+- com.squareup.okhttp3:mockwebserver:jar:5.4.0:test
$ mvn -B test
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0
BUILD SUCCESS
The `mvn -B test` CI step added in #327 is what turns this class of breakage into a failing
check instead of a silent one; before it, nothing in this repository had ever run Maven.
Closes #291.
…t has the classes (#333) OkHttp 5 went multiplatform and split the artifact. `com.squareup.okhttp3:okhttp:5.4.0` is a stub: `unzip -l okhttp-5.4.0.jar | grep -c '\.class'` returns 0. The JVM classes moved to `com.squareup.okhttp3:okhttp-jvm`, which has 330. So the version bump alone cannot work — it fails `src/main` with `package okhttp3 does not exist`, which reads like a sweeping API break rather than a renamed artifact. Two things hid what was really going on: - `src/test` compiles either way. `mockwebserver` depends on `okhttp-jvm` transitively, so the classes were already on the test classpath; only `compile` scope was missing them. - the error names the package, not the artifact, so the obvious next move is to go looking for renamed OkHttp APIs. There are none to find. No source file changes in this commit, and all 17 tests pass unmodified. This is why #291 could never be merged as opened, and why rebasing it would not have helped: Dependabot bumps versions, and this release moved the coordinates. The two edits have to be in one commit or neither is correct — which is a shape worth recognising the next time a major "breaks the build" in a way no upgrade guide explains. Verified: $ unzip -l ~/.m2/.../okhttp-5.4.0.jar | grep -c '\.class' -> 0 $ unzip -l ~/.m2/.../okhttp-jvm-5.4.0.jar | grep -c '\.class' -> 330 $ mvn -B dependency:tree | grep -i okhttp +- com.squareup.okhttp3:okhttp-jvm:jar:5.4.0:compile +- com.squareup.okhttp3:mockwebserver:jar:5.4.0:test $ mvn -B test Tests run: 17, Failures: 0, Errors: 0, Skipped: 0 BUILD SUCCESS The `mvn -B test` CI step added in #327 is what turns this class of breakage into a failing check instead of a silent one; before it, nothing in this repository had ever run Maven. Closes #291.
Bumps
okhttp.versionfrom 4.12.0 to 5.4.0.Updates
com.squareup.okhttp3:okhttpfrom 4.12.0 to 5.4.0Changelog
Sourced from com.squareup.okhttp3:okhttp's changelog.
... (truncated)
Commits
61423f4Prepare for release 5.4.0.d7e6effUpdate eclipse.osgi to v3.24.200 (#9480)7a35098Update bnd to v7.3.0 (#9475)0c5a45bUpdate dependency com.puppycrawl.tools:checkstyle to v13.5.0 (#9468)113ad17Update dependency macos to v26 (#9457)84f601aUpdate shadow.plugin to v9.4.2 (#9466)7d463f4Update spotless.plugin to v8.6.0 (#9464)3bf00f5Update plugin com.diffplug.spotless to v8.6.0 (#9463)cfc45a3Update spotless.plugin to v8.5.1 (#9456)81c5006Apply gradle lint correctly (#9459)Updates
com.squareup.okhttp3:mockwebserverfrom 4.12.0 to 5.4.0Changelog
Sourced from com.squareup.okhttp3:mockwebserver's changelog.
... (truncated)
Commits
61423f4Prepare for release 5.4.0.d7e6effUpdate eclipse.osgi to v3.24.200 (#9480)7a35098Update bnd to v7.3.0 (#9475)0c5a45bUpdate dependency com.puppycrawl.tools:checkstyle to v13.5.0 (#9468)113ad17Update dependency macos to v26 (#9457)84f601aUpdate shadow.plugin to v9.4.2 (#9466)7d463f4Update spotless.plugin to v8.6.0 (#9464)3bf00f5Update plugin com.diffplug.spotless to v8.6.0 (#9463)cfc45a3Update spotless.plugin to v8.5.1 (#9456)81c5006Apply gradle lint correctly (#9459)