Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 22, 2025

Bumps com.github.mizosoft.methanol:methanol from 1.8.4 to 1.9.0.

Release notes

Sourced from com.github.mizosoft.methanol:methanol's releases.

v1.9.0

  • Added RetryInterceptor (#137), with which you can retry requests with declaratively specified conditions.

    var client =
      Methanol.newBuilder()
          .interceptor(
              RetryInterceptor.newBuilder()
                  .maxRetries(3)
                  .onException(ConnectException.class)
                  .onStatus(HttpStatus::isServerError)
                  .backoff(
                      RetryInterceptor.BackoffStrategy.exponential(
                              Duration.ofMillis(100), Duration.ofSeconds(5))
                          .withJitter())
                  .build())
          .build();

    There's also a corresponding Kotlin DSL.

  • Fixed (#146). Methanol JARs now play well with OSGI environments.

  • Added brotli support for MacOS & ARM architectures. Support for x86-32 platforms has been dropped, however. In addition to the fat JAR that has natives bundled for all supported platforms, a JAR for each platform is published with only the corresponding native, that is in addition to a base JAR with no natives, which you can use for custom native builds. Checkout the docs for more.

  • Added support for Jackson 3 through additional modules: methanol-jackson3 & methanol-jackson3-flux. Support for Jackson 2 will continue through the older modules.

  • Versions of dependencies of integration modules (e.g. methanol-jackson) are now defined in ranges. This allows builds to pull the latest version of the target library without necessarily updating Methanol to the next release. If you want to use a specific version, you can explicitly declare it provided it is within the range. The ranges are also reflected on OSGI metadata.

Changelog

Sourced from com.github.mizosoft.methanol:methanol's changelog.

Version 1.9.0

  • Added RetryInterceptor (#137), with which you can retry requests with declaratively specified conditions.

    var client =
      Methanol.newBuilder()
          .interceptor(
              RetryInterceptor.newBuilder()
                  .maxRetries(3)
                  .onException(ConnectException.class)
                  .onStatus(HttpStatus::isServerError)
                  .backoff(
                      RetryInterceptor.BackoffStrategy.exponential(
                              Duration.ofMillis(100), Duration.ofSeconds(5))
                          .withJitter())
                  .build())
          .build();

    There's also a corresponding Kotlin DSL.

  • Fixed (#146). Methanol JARs now play well with OSGI environments.

  • Added brotli support for MacOS & ARM architectures. Support for x86-32 platforms has been dropped, however. In addition to the fat JAR that has natives bundled for all supported platforms, a JAR for each platform is published with only the corresponding native, that is in addition to a base JAR with no natives, which you can use for custom native builds. Checkout the docs for more.

  • Added support for Jackson 3 through additional modules: methanol-jackson3 & methanol-jackson3-flux. Support for Jackson 2 will continue through the older modules.

  • Versions of dependencies of integration modules (e.g. methanol-jackson) are now defined in ranges. This allows builds to pull the latest version of the target library without necessarily updating Methanol to the next release. If you want to use a specific version, you can explicitly declare it provided it is within the range. The ranges are also reflected on OSGI metadata.

Commits
  • b38976e Release 1.9.0
  • 7a66130 Merge pull request #172 from mizosoft/jackson3-support
  • 374aa3a Remove unused dep
  • 0f36669 Only run OSGI tests on Java 17
  • 3e58918 Properly setup RESOLVE_JAVA_VERSION
  • 10bc88d Run Jackson 3 OSGI tests conditionally
  • 3d7c2bd Add methanol-jackson3-flux in friends of exported internal packages
  • 16b6f5c Only compile & test methanol-jackson3[-flux] under Java 17+
  • db83513 Add methanol-jackson3-flux
  • 23a9030 Add methanol-jackson3
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [com.github.mizosoft.methanol:methanol](https://github.com/mizosoft/methanol) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/mizosoft/methanol/releases)
- [Changelog](https://github.com/mizosoft/methanol/blob/master/CHANGELOG.md)
- [Commits](mizosoft/methanol@v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: com.github.mizosoft.methanol:methanol
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant