Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump mockwebserver3-junit5 from 5.0.0-alpha.6 to 5.0.0-alpha.7 #1396

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 28, 2022

Bumps mockwebserver3-junit5 from 5.0.0-alpha.6 to 5.0.0-alpha.7.

Changelog

Sourced from mockwebserver3-junit5's changelog.

Version 5.0.0-alpha.7

2022-04-26

This release introduces new Kotlin-friendly APIs. When we migrated OkHttp from Java to Kotlin in OkHttp 4.0, we kept our Java-first APIs. With 5.0 we're continuing to support Java and adding additional improvements for Kotlin users. In this alpha we're excited to skip-the-builder for requests and remove a common source of non-null assertions (!!) on the response body.

The alpha releases in the 5.0.0 series have production-quality code and an unstable API. We expect to make changes to the APIs introduced in 5.0.0-alpha.X. These releases are safe for production use and 'alpha' strictly signals that we're still experimenting with some new APIs. If you're eager for the fixes or features below, please upgrade.

  • New: Named and default parameters constructor for Request:

    val request = Request(
      url = "https://cash.app/".toHttpUrl(),
    )
    
  • New: Response.body is now non-null. This was generally the case in OkHttp 4.x, but the Kotlin type declaration was nullable to support rare cases like the body on Response.cacheResponse, Response.networkResponse, and Response.priorResponse. In such cases the body is now non-null, but attempts to read its content will fail.

  • New: Kotlin-specific APIs for request tags. Kotlin language users can lookup tags with a type parameter only, like request.tag<MyTagClass>().

  • New: MockWebServer has improved support for HTTP/1xx responses. Once you've migrated to the new mockwebserver3 package, there's a new field, MockResponse.informationalResponses.

  • Fix: Don't interpret trailers as headers after an HTTP/100 response. This was a bug only when the HTTP response body itself is empty.

  • Fix: Don't crash when a fast fallback call has both a deferred connection and a held connection.

  • Fix: OkHttpClient no longer implements Cloneable. It never should have; the class is immutable. This is left over from OkHttp 2.x (!) when that class was mutable. We're using the 5.x upgrade as an opportunity to remove very obsolete APIs.

  • Fix: Recover gracefully when Android's NativeCrypto crashes with "ssl == null". This occurs when OkHttp retrieves ALPN state on a closed connection.

  • Upgrade: [Kotlin 1.6.21][kotlin_1_6_21].

  • Upgrade: [Okio 3.1.0][okio_3_1_0].

Commits
  • fe7f75e Prepare for release 5.0.0-alpha.7.
  • 3ac5b0e Update dependency com.puppycrawl.tools:checkstyle to v10.2 (#7256)
  • 0968515 Update dependency com.diffplug.spotless:spotless-plugin-gradle to v6.5.0 (#7252)
  • 3b7a93f Update dependency org.bouncycastle:bctls-jdk15to18 to v1.71 (#7250)
  • a47e830 Update dependency org.openjsse:openjsse to v1.1.10 (#7245)
  • 82a62ce Update dependency org.jetbrains.kotlinx.binary-compatibility-validator:org.je...
  • 6ed0719 Update org.jetbrains.kotlin to v1.6.21 (#7246)
  • 850b8e3 Update com.squareup.okio to v3.1.0 (#7247)
  • 6a7a10b Update dependency org.jetbrains.dokka:dokka-gradle-plugin to v1.6.20 (#7240)
  • 8d48c20 Update works_with_okhttp.md (#7236)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mockwebserver3-junit5](https://github.com/square/okhttp) from 5.0.0-alpha.6 to 5.0.0-alpha.7.
- [Release notes](https://github.com/square/okhttp/releases)
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md)
- [Commits](square/okhttp@parent-5.0.0-alpha.6...parent-5.0.0-alpha.7)

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:mockwebserver3-junit5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added bouw- en testinfrastuctuur oa. aanpassingen vanwege build servers en maven plugins dependency update (deels) automatische updates van gebruikte libraries labels Apr 28, 2022
@dependabot dependabot bot requested a review from mprins April 28, 2022 04:02
@codecov
Copy link

codecov bot commented Apr 28, 2022

Codecov Report

Merging #1396 (9432896) into master (726b430) will decrease coverage by 0.33%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1396      +/-   ##
============================================
- Coverage     36.13%   35.79%   -0.34%     
+ Complexity      809      808       -1     
============================================
  Files           407      407              
  Lines         18854    18854              
  Branches       1885     1885              
============================================
- Hits           6812     6748      -64     
- Misses        11432    11498      +66     
+ Partials        610      608       -2     
Impacted Files Coverage Δ
...in/java/nl/b3p/brmo/sql/dialect/OracleDialect.java 0.00% <0.00%> (-82.15%) ⬇️
...java/nl/b3p/brmo/bag2/schema/BAG2SchemaMapper.java 51.85% <0.00%> (-48.15%) ⬇️
...ain/java/nl/b3p/brmo/bag2/loader/BAG2Database.java 36.04% <0.00%> (-8.14%) ⬇️
...o/persistence/SnakeCasePhysicalNamingStrategy.java 92.30% <0.00%> (-7.70%) ⬇️
.../main/java/nl/b3p/brmo/bgt/loader/BGTDatabase.java 57.44% <0.00%> (-4.26%) ⬇️
.../main/java/nl/b3p/brmo/sql/LoggingQueryRunner.java 13.88% <0.00%> (-2.78%) ⬇️
...src/main/java/nl/b3p/brmo/loader/StagingProxy.java 63.71% <0.00%> (-1.24%) ⬇️
...o/service/stripes/AdvancedFunctionsActionBean.java 30.52% <0.00%> (-0.79%) ⬇️
...va/nl/b3p/brmo/bag2/loader/cli/BAG2LoaderMain.java 38.11% <0.00%> (-0.41%) ⬇️
...ain/java/nl/b3p/brmo/schema/ObjectTableWriter.java 67.94% <0.00%> (-0.35%) ⬇️
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 726b430...9432896. Read the comment docs.

@mprins mprins added this to the 2.3.0 milestone May 5, 2022
@mprins mprins merged commit 7016b65 into master May 5, 2022
@mprins mprins deleted the dependabot/maven/master/com.squareup.okhttp3-mockwebserver3-junit5-5.0.0-alpha.7 branch May 5, 2022 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bouw- en testinfrastuctuur oa. aanpassingen vanwege build servers en maven plugins dependency update (deels) automatische updates van gebruikte libraries
Projects
None yet
1 participant