Skip to content

Releases: ascopes/protobuf-maven-plugin

v2.1.1

22 May 10:42
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...v2.1.1

v2.1.0

14 May 21:19
Compare
Choose a tag to compare
  • GH-207: Implement ability to embed proto sources in output JAR

Full Changelog: v2.0.3...v2.1.0

v2.0.3

12 May 15:51
Compare
Choose a tag to compare

Bugfixes

Other changes

  • Tidy up null checks in AbstractGenerateMojo.java by @ascopes in #205
  • Bump org.apache.maven.plugins:maven-site-plugin from 4.0.0-M13 to 4.0.0-M14 by @dependabot in #210
  • Bump kotlin.version from 1.9.23 to 1.9.24 by @dependabot in #209
  • Bump com.mycila:license-maven-plugin from 4.3 to 4.5 by @dependabot in #212
  • Bump org.mockito:mockito-bom from 5.11.0 to 5.12.0 by @dependabot in #211
  • Update to newest Maven wrapper by @ascopes in #214

Full Changelog: v2.0.2...v2.0.3

v2.0.2

07 May 13:29
Compare
Choose a tag to compare

What's Changed

  • Fix incorrect log message for source counts by @ascopes in #204

This may not be big enough for an actual release, but I spent about 15 minutes looking into unrelated things as a result of this today, so I thought I'd spare anyone else the same hassle 😅

Full Changelog: v2.0.1...v2.0.2

v2.0.1

07 May 07:55
Compare
Choose a tag to compare

What's Changed

  • Update the option for generating python stubs in the documentation by @ielis in #200
  • Re-enable cross platform builds by @ascopes in #198
  • Fix structure of Immutables descriptors. by @ascopes in #201

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

06 May 10:25
Compare
Choose a tag to compare

Breaking changes

  • -Dprotoc.version is now named -Dprotobuf.compiler.version
  • URL and path based plugins now are specified as objects with multiple attributes rather than strings. See the documentation for the new structural changes.
  • Parameter aliases from v0.x and v1.x that were documented as "deprecated" have been completely removed.
  • Dependency Resolution Depth cannot be overridden for protoc plugins anymore. This is done on purpose as it can lead to misconfigured builds and provides little end-user benefit.

Fixes

  • Handling of non-resolvable file-based URLs has been improved and will give more meaningful error messages now.
  • Turning off all languages and providing no plugins is now handled without calling protoc with erroneous arguments.
  • URL resolution has been massively simplified internally, leading to fewer potential edge cases that may cause problems with usage on exotic protocols.
  • Improvements to debug and info logging.

New features

  • Protoc plugins can now be passed custom arguments via Maven configuration.
  • The Maven plugin now has a skip parameter that can be set via -Dprotobuf.skip to skip the plugin execution.
  • URL and path protoc plugins now take an optional optional attribute that can be set to true to prevent resolution errors failing the entire build. This enables having optional plugins that may only be able to be run during CI (such as Go-binaries that are on the CI server $PATH).
  • All protoc plugins now can be marked as skipped. Users can bind property references to this if they wish to make it possible to turn individual protoc plugins on and off.
  • Failure to resolve any languages or plugins can now result in the plugin being skipped if desired, rather than a build error. This compliments the optional protoc plugins functionality for people who only want to run optional plugins without any built-in language generation being run.

Merges

  • Fix typos in Mojo parameter descriptions by @joh-ivu in #179
  • GH-168: Support provisionally providing options to protoc plugins by @ascopes in #180
  • Remove deprecated aliases for v2.0.0 by @ascopes in #181
  • Bump org.apache.maven.resolver:maven-resolver-api from 1.9.19 to 1.9.20 by @dependabot in #185
  • Bump com.puppycrawl.tools:checkstyle from 10.15.0 to 10.16.0 by @dependabot in #186
  • Bump org.apache.maven.plugins:maven-install-plugin from 3.1.1 to 3.1.2 by @dependabot in #187
  • Add reproduction for GH-172 to main branch by @ascopes in #188
  • Simplify the URL resource fetcher mechanism by @ascopes in #191
  • Make URL resolution optional by @ascopes in #192
  • GH-182: Optional plugins by @ascopes in #189
  • GH-184: Add parameter to skip plugin invocation. by @ascopes in #193
  • Rename protoc.version to protobuf.compiler.version by @ascopes in #194
  • Bump org.apache.maven.plugins:maven-plugin-report-plugin from 3.12.0 to 3.13.0 by @dependabot in #195
  • Bump org.apache.maven.plugin-tools:maven-plugin-annotations from 3.12.0 to 3.13.0 by @dependabot in #197
  • Bump org.apache.maven.plugins:maven-plugin-plugin from 3.12.0 to 3.13.0 by @dependabot in #196

Full Changelog: v1.2.1...v2.0.0

v2.0.0-alpha2

05 May 19:36
Compare
Choose a tag to compare
v2.0.0-alpha2 Pre-release
Pre-release

What's Changed

Full Changelog: v2.0.0-alpha1...v2.0.0-alpha2

v2.0.0-alpha1

28 Apr 09:46
Compare
Choose a tag to compare
v2.0.0-alpha1 Pre-release
Pre-release

What's Changed

Full Changelog: v1.2.1...v2.0.0-alpha1

v1.2.1

21 Apr 12:04
Compare
Choose a tag to compare

What's Changed

  • Restructure how the argline builder operates to defer creation. by @ascopes in #173
  • Bump org.apache.maven.resolver:maven-resolver-api from 1.9.18 to 1.9.19 by @dependabot in #174
  • Bump org.apache.maven.plugins:maven-jar-plugin from 3.4.0 to 3.4.1 by @dependabot in #176
  • Bump kotlin.version from 1.9.21 to 1.9.23 by @dependabot in #175
  • Make Shlex emit line continutations to improve command line output visually by @ascopes in #177
  • Fix invalid prerequisites declaration in parent POM. Minimum Maven version checks should operate correctly again now.

Full Changelog: v1.2.0...v1.2.1

v1.2.0

20 Apr 18:37
Compare
Choose a tag to compare

What's Changed

  • Bump org.apache.maven.plugins:maven-invoker-plugin from 3.6.0 to 3.6.1 by @dependabot in #144
  • Bump com.puppycrawl.tools:checkstyle from 10.14.2 to 10.15.0 by @dependabot in #145
  • Build on Java 22 by @ascopes in #140
  • Fix order of -classpath flag in JvmPluginResolver by @ascopes in #147
  • Simplify project dependency resolution by @ascopes in #148
  • GH-101: Use Aether artifact resolver directly by @ascopes in #149
  • Move MavenArtifact class to base package since it is part of the public API by @ascopes in #150
  • GH-134: Write test to check for duplicated dependencies when versions differ by @ascopes in #151
  • Remove documentation for version ranges for protoc. by @ascopes in #152
  • GH-135: Support building from archives hosted in Maven repositories by @ascopes in #153
  • GH-135: Add ability to exclude project dependencies from import paths by @ascopes in #154
  • GH-135: Add the ability to specify additional import dependencies explicitly by @ascopes in #155
  • Bump org.apache.maven.plugin-tools:maven-plugin-annotations from 3.11.0 to 3.12.0 by @dependabot in #157
  • Bump org.apache.maven.plugins:maven-source-plugin from 3.3.0 to 3.3.1 by @dependabot in #158
  • Bump org.jacoco:jacoco-maven-plugin from 0.8.11 to 0.8.12 by @dependabot in #156
  • Bump org.apache.maven.plugins:maven-plugin-report-plugin from 3.11.0 to 3.12.0 by @dependabot in #159
  • Bump org.apache.maven.plugins:maven-plugin-plugin from 3.11.0 to 3.12.0 by @dependabot in #160
  • Require Maven to be running online during execution. by @ascopes in #161
  • Bump org.apache.maven.plugins:maven-jar-plugin from 3.3.0 to 3.4.0 by @dependabot in #163
  • Bump slf4j.version from 2.0.12 to 2.0.13 by @dependabot in #162
  • Use common parent POM for plugin and all ITs by @ascopes in #170
  • GH-164: Do not drop individual artifacts with DIRECT dependency resolution scope. by @ascopes in #171

Full Changelog: v1.1.3...v1.2.0