Skip to content

Update dependency io.github.ascopes:protobuf-maven-plugin from v4.1.3 to v5 - #162

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/io.github.ascopes-protobuf-maven-plugin-5.x
Open

Update dependency io.github.ascopes:protobuf-maven-plugin from v4.1.3 to v5#162
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/io.github.ascopes-protobuf-maven-plugin-5.x

Conversation

@renovate

@renovate renovate Bot commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
io.github.ascopes:protobuf-maven-plugin 4.1.35.1.7 age confidence

Release Notes

ascopes/protobuf-maven-plugin (io.github.ascopes:protobuf-maven-plugin)

v5.1.7

Compare Source

What's Changed

Full Changelog: ascopes/protobuf-maven-plugin@v5.1.6...v5.1.7

v5.1.6

Compare Source

What's Changed

New Contributors

Full Changelog: ascopes/protobuf-maven-plugin@v5.1.5...v5.1.6

v5.1.5

Compare Source

Nothing of major note for this update. Just pushing a newer build containing dependency updates to help those working in corporate environments with strict security triage policies.

Going forward, I am going to look to do this on a monthly or bi-monthly basis to allow users to keep their builds up to date.

As usual, any problems, just raise a discussion on our GitHub!

v5.1.4

Compare Source

Release notes
  • Deprecated protocDigest parameter for removal in the future. It is now replaced with <digest> within a PathProtocDistribution or UriProtocDistribution object, which makes this API consistent with the Protoc plugin API.

    • Users may continue to use the current mechanism until the next major version but are advised to update their usages where possible.
    • The next major version will not support digests on Maven-based protoc distributions, as this is redundant functionality.
    • Documentation examples have been updated to reflect the change.
    • For example:
    <configuration>
      <protoc kind="url">
        <url>https://...</url>
        <digest>sha1:a927271a34eab2353662e2ec6f0686553034821a</digest>
      </protoc>
    </configuration>
  • Added missing digest verification functionality for path based protoc plugins.

  • Optimised digest generation and decoding to utilise SIMD functionality within the JDK. This reduces both overhead and memory consumption in complex builds.

  • Improved control flow for dependency resolution.

  • Removed noisy logging during plexus configuration merging.

Other changes
  • Build on Maven 3.9.15.
  • Dependency updates, as usual.

v5.1.3

Compare Source

Fairly large update to existing code that bundles several QoL improvements and bugfixes
to improve user experience.

Bugfixes

  • Fix NullPointerException raised when failing to resolve dependencies in certain cases
    (@​askoog, GH-980).
  • Abstract away class references from Plexus parameter converters entirely. This avoids
    edge cases where ClassWorlds within Maven may try to classload the same classes in
    multiple places, causing class definition mismatches and breaking type conversion within
    POMs. This is a defensive workaround to the issue originally addressed by GH-974.
  • Remove caching of sealed types to further avoid issues such as those in GH-974.
  • Make configurator classes into singletons to enforce fixes for GH-974.

UX improvements

  • Users are now warned in cases where we mitigate issues caused by overriding a string
    attribute in a child POM with an object attribute in a parent POM. The erroneous
    configuration is now logged as a warning, and a suggested fix is logged to the user.
  • Improved error messages reported during failures in artifact resolution.

Performance improvements

  • Optimise resolution logic for skipped plugins to remove unneeded forking of threads
    (@​cdprete, GH-975).
  • Avoid creation of entire mappings of type information within SealedTypePlexusConverter
    during parameter conversion.
  • URL transfers from FTP servers and HTTP/HTTPS endpoints now supports requesting GZIP
    compression of the response.

Internal improvements

  • Fixes to documentation typos and grammar issues.
  • Improvements to various unit tests, including addition of missing test cases.
  • Improvements to code coverage and code quality.
  • Internal package structure improvements.
  • Build on macOS 26.
  • Dependency updates.

v5.1.2

Compare Source

What's Changed

  • Make PluginConfigurator SessionScoped to avoid class loading issues by @​hypnoce in #​974

Full Changelog: ascopes/protobuf-maven-plugin@v5.1.1...v5.1.2

v5.1.1

Compare Source

What's Changed

  • Fix per plugin skip. Make sure the skip attribute on plugins is taken into account. by @​hypnoce in #​973

New Contributors

Full Changelog: ascopes/protobuf-maven-plugin@v5.1.0...v5.1.1

v5.1.0

Compare Source

New features

  • Implement "protoc distributions" allowing you to specify the protoc binary to use in the same format that protoc plugins are specified. The old mechanism of specifying a string value is still supported. See the documentation for full usage examples.
    • This allows users to now override the name of the binary to look for on the system path.
    • Users can now explicitly override the maven classifier, type, group ID, and artifact ID of the protoc binary if pulling from Maven central.

Internal updates

  • Swapped out default JVM GC for JVM-based protoc plugins from Parallel GC to Serial GC.
  • Adjust initial heap for JVM-based protoc plugins.
  • Build on Maven 3.9.14.
  • Dependency updates.
  • Removed warnings for termux users as they add little benefit outside what is already known.
  • Plexus converters are now scoped per execution, which should allow earlier freeing of some memory after execution completes.

v5.0.2

Compare Source

Bugfixes:

  • Reimplement artifact resolution to handle additional edge cases that may previously have bled into other code and caused spurious/unhelpful/vague exceptions during dependency resolution.
    • Specifically, this handles a case where passing a non-existent classifier on a published dependency could result in an ArrayIndexOutOfBoundsException being raised at runtime. Other edge cases should also be handled more sensibly moving forwards.

Other changes:

  • Dependency resolution now explicitly ensures additional configuration overrides within the Maven/Aether transports are propagated and used correctly with respect to things like proxies and custom authenticators.
  • New examples by @​sleepkqq for building Kotlin gRPC projects in the documentation.
  • Build on Maven 3.9.13 in addition to 3.9.6 and 4.0.0-rc-5, now that the former has been released.

v5.0.1

Compare Source

v5.0.1 release notes

  • Implemented partial workaround for GH-596 where users may experience OutOfMemoryExceptions being raised by Eclipse Aether during dependency resolution. - The plugin now follows similar behaviour to Maven Core by not recursing into transitive test dependencies and fat artifact dependencies, which was considered to be surprising and undefined behaviour.
    • Users depending on the old behaviour should explicitly declare their dependencies following standard Maven conventions.
    • This is not deemed a breaking change since the old behaviour is undefined and does not follow Maven default behaviour.
  • Reverted offloading project dependency resolution to Maven to address GH-939.
    • This previously manifested as various Maven reactor failures when resolving sibling dependencies in a Maven multi-module project.
    • Users can now disable dependency resolution for the main project dependencies correctly by setting <ignoreProjectDependencies>true</ignoreProjectDependencies> and only specify their protobuf dependencies via the plugin itself.
  • Reduced default concurrency multiplier used for various internal tasks after several JFR profiling sessions showed a general lack of utilisation of the thread pool.
    • This should reduce idle resources slightly in builds.
  • Various Aether internals are now cached for the duration of the plugin goal rather than recreated numerous times during dependency resolution.
    • This should reduce resource usage slightly in builds.
  • Updated plugin to use protobuf-java:4.34.0for various descriptor file-related activities.
  • Updated project and integration test dependencies to verify plugin compatibility across various component matrices.

v5.0.0

Compare Source

New major version that removes some old tech debt introduced for backwards API compatibility with minor versions on v4.x and older. This allows extending this plugin with new features moving forwards by removing some limitations around the old way of configuring a couple of aspects.

The changes are fairly minor, but migration details have been added below.

[!TIP]
Users with concerns about making changes across many projects due to being pinned to an older version of this plugin can first upgrade their parent projects to point at v4.1.3 of this plugin while they perform migration steps incrementally.

If there are any concerns or queries, please add a comment to
the discussion.

Protoc plugin declarations

We have removed deprecated legacy protoc plugin parameters from GH-877 -- users must use the plugins parameter instead now.

  • binaryMavenPlugins is removed, use plugins with kind="binary-maven" instead.
  • binaryPathPlugins is removed, use plugins with kind="path" instead.
  • binaryUrlPlugins is removed, use plugins with kind="url" instead.
  • jvmMavenPlugins is removed, use plugins with kind="jvm-maven" instead.

See https://ascopes.github.io/protobuf-maven-plugin/using-protoc-plugins.html for full usage details and examples, but effectively the change that users will want to make is the following:

Old usage:

<configuration>
  <binaryMavenPlugins>
    <binaryMavenPlugin>...</binaryMavenPlugin>
    <binaryMavenPlugin>...</binaryMavenPlugin>
  </binaryMavenPlugins>

  <jvmMavenPlugins>
    <jvmMavenPlugin>...</jvmMavenPlugin>
  </jvmMavenPlugins>
</configuration>

New usage:

<configuration>
  <plugins>
    <plugin kind="binary-maven">...</plugin>
    <plugin kind="binary-maven">...</plugin>
    <plugin kind="jvm-maven">...</plugin>
    <plugin kind="path">...</plugin>
    <plugin kind="url">...</plugin>
    ...
  </plugins>
</configuration>

Old parameter alias removals

Some old parameter aliases have been removed that were in place for backwards compatibility previously:

  • sourcePaths alias for sourceDirectories parameter -- users must ensure they are using sourceDirectories rather than the sourcePaths alias. This was changed to avoid ambiguity with the concept of the system path used within this plugin.
  • Remove protocVersion alias for protoc parameter -- users must change any protocVersion attribute to be protoc. This was changed to allow supporting overriding the full protoc artifact in the future (e.g. to potentially support using WASM builds of protoc that remove the need for platform specific binaries).

See https://ascopes.github.io/protobuf-maven-plugin/generate-mojo.html for the full list of parameters that are supported.

Other changes

  • Dependency updates, including building with a stable release of the Eclipse Sisu Maven Plugin.

Configuration

📅 Schedule: (in timezone Europe/Oslo)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/io.github.ascopes-protobuf-maven-plugin-5.x branch from a91ead3 to d7339e2 Compare March 9, 2026 07:06
@renovate renovate Bot changed the title Update dependency io.github.ascopes:protobuf-maven-plugin from v4.1.3 to v5 chore(deps): update dependency io.github.ascopes:protobuf-maven-plugin from v4.1.3 to v5 Mar 23, 2026
@renovate
renovate Bot force-pushed the renovate/io.github.ascopes-protobuf-maven-plugin-5.x branch 3 times, most recently from a8cf729 to f797eff Compare March 30, 2026 18:54
@renovate renovate Bot changed the title chore(deps): update dependency io.github.ascopes:protobuf-maven-plugin from v4.1.3 to v5 Update dependency io.github.ascopes:protobuf-maven-plugin from v4.1.3 to v5 Apr 8, 2026
@renovate
renovate Bot force-pushed the renovate/io.github.ascopes-protobuf-maven-plugin-5.x branch from f797eff to eb99a4b Compare April 15, 2026 10:57
@renovate
renovate Bot force-pushed the renovate/io.github.ascopes-protobuf-maven-plugin-5.x branch from eb99a4b to 447616d Compare May 13, 2026 11:07
@renovate
renovate Bot force-pushed the renovate/io.github.ascopes-protobuf-maven-plugin-5.x branch from 447616d to 778d96d Compare June 1, 2026 23:43
@renovate
renovate Bot force-pushed the renovate/io.github.ascopes-protobuf-maven-plugin-5.x branch 2 times, most recently from 9929f66 to 6875997 Compare June 26, 2026 18:16
@renovate
renovate Bot force-pushed the renovate/io.github.ascopes-protobuf-maven-plugin-5.x branch from 6875997 to 91d5a55 Compare July 3, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants