Skip to content

Releases: ascopes/protobuf-maven-plugin

v2.4.2

19 Aug 16:09
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.4.1...v2.4.2

v2.4.1

19 Aug 07:33
Compare
Choose a tag to compare

What's Changed

  • Improve CI by @ascopes in #309
  • Improve process logging by @ascopes in #310
  • Improve error messages in ProtocResolver.java by @ascopes in #311
  • Bump org.slf4j:slf4j-bom from 2.0.13 to 2.0.15 by @dependabot in #314
  • Bump advanced-security/maven-dependency-submission-action from 4.1.0 to 4.1.1 by @dependabot in #313
  • Bump org.apache.maven.resolver:maven-resolver-api from 2.0.0 to 2.0.1 by @dependabot in #315
  • Bump org.slf4j:slf4j-bom from 2.0.15 to 2.0.16 by @dependabot in #316
  • Bump org.junit:junit-bom from 5.10.3 to 5.11.0 by @dependabot in #317
  • Bump org.apache.maven.plugins:maven-plugin-report-plugin from 3.13.1 to 3.14.0 by @dependabot in #319
  • Bump org.apache.maven.plugin-tools:maven-plugin-annotations from 3.13.1 to 3.14.0 by @dependabot in #320
  • Bump org.apache.maven.plugins:maven-plugin-plugin from 3.13.1 to 3.14.0 by @dependabot in #318
  • Bump org.apache.maven:maven-plugin-api from 3.9.8 to 3.9.9 by @dependabot in #321
  • Bump org.apache.maven:maven-core from 3.9.8 to 3.9.9 by @dependabot in #322
  • Improve errors in AetherMavenArtifactPathResolver.java, remove duplicate code by @ascopes in #323
  • Simplify EnumSet usage in Language.java by @ascopes in #325
  • Improve messages in SourceCodeGenerator.java by @ascopes in #326
  • Improve log output in AbstractGenerateMojo.java by @ascopes in #328
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.1 to 3.4.0 by @dependabot in #329
  • Update protobuf to 4.27.3 by @ascopes in #330
  • Update Maven to 3.9.9 by @ascopes in #331

Full Changelog: v2.4.0...v2.4.1

v2.4.0

21 Jul 19:24
Compare
Choose a tag to compare

Bugfixes and new functionality

  • GH-304: Fix potential NPE in AetherMavenArtifactPathResolver#extensionToType by @ascopes in #305
    • This fixes a potential NPE that could occur when using unrecognised extensions for dependencies, caused by debug logging.
  • GH-302: Fix import scope not being respected by @ascopes in #303
    • This fixes a bug where the plugin was not limiting the dependency scope to those documented (e.g. the main generation goal was also pulling in runtime-only dependencies erroneously).
    • The plugin now respects the documented rules correctly.
    • Users who were relying on undocumented behaviour where they were expecting a runtime-only dependency to provide protobuf sources implicitly despite the documentation will see a breaking change; dependencies must be declared compile or provided or system to be detected correctly.
    • A new parameter has been added to enable users to override this behaviour and return to the previous behaviour if needed.
    • This change is not marked as a breaking change as it was an undocumented regression between v2.0.3 and v2.3.0 that was unintentional.
  • GH-299: Do not fail if we have partial dependency resolution failures by @ascopes in #307
    • This fixes a bug where transitive dependencies that could not be resolved due to errors in upstream dependencies would always result in builds failing (such as ehcache's outdated JAXB dependency).
    • Resolution failures now result in a warning being logged and the dependency dropped.
    • This is not marked as a breaking change as it is a relaxing of existing constraints to closer match how Maven itself behaves.
    • A new parameter has been added to enable users to override this behaviour and return to the previous behaviour if needed.

Other changes

  • Remove dedicated pages workflow by @ascopes in #287
  • Set up initial new documentation pages by @ascopes in #288
  • Update AbstractGenerateMojo.java to document order param for JVM plugins by @ascopes in #290
  • Bump org.apache.maven.resolver:maven-resolver-api from 1.9.20 to 2.0.0 by @dependabot in #289
  • Bump advanced-security/maven-dependency-submission-action from 4.0.0 to 4.1.0 by @dependabot in #292
  • Bump org.assertj:assertj-core from 3.26.0 to 3.26.3 by @dependabot in #293
  • Bump org.apache.maven.plugins:maven-surefire-plugin from 3.3.0 to 3.3.1 by @dependabot in #294
  • Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.6.1 to 3.6.2 by @dependabot in #295
  • Bump org.apache.maven.plugins:maven-release-plugin from 3.1.0 to 3.1.1 by @dependabot in #296
  • Bump org.jspecify:jspecify from 0.3.0 to 1.0.0 by @dependabot in #297
  • Bump me.fabriciorby:maven-surefire-junit5-tree-reporter from 1.2.1 to 1.3.0 by @dependabot in #298
  • Bump org.apache.maven.plugins:maven-site-plugin from 4.0.0-M15 to 4.0.0-M16 by @dependabot in #301
  • Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.7.0 to 3.8.0 by @dependabot in #300
  • Clean up some unneeded code and simplify some logic by @ascopes in #308

Full Changelog: v2.3.0...v2.4.0

v2.3.0

06 Jul 11:11
Compare
Choose a tag to compare

What's Changed

  • GH-277: Support explicit plugin ordering by @ascopes in #278
  • Run oldmaven CI on Java 22 as well by @ascopes in #280
  • Skip ITs on Android if they cannot invoke the binaries correctly by @ascopes in #279
  • Use the latest versions of protobuf, protoc, grpc-java, and reactor by @ascopes in #282
  • Fix typo in new draft documentation. by @ascopes in #262
  • Add contribution guidelines by @ascopes in #283
  • Reenable protobuf path tests in CI for MacOS and Windows by @ascopes in #281
  • Use batch dialect when logging invoked commands on Windows by @ascopes in #285
  • Do not treat backslashes in batch scripts as special characters by @ascopes in #286

Full Changelog: v2.2.3...v2.3.0

v2.2.3

29 Jun 10:31
Compare
Choose a tag to compare

What's Changed

  • GH-271: Document path resolution rules by @ascopes in #273
  • Improve logging in HostSystem for future diagnostics by @ascopes in #274
  • Tidy up AetherMavenArtifactPathResolver.java by @ascopes in #275
  • Update deploy.yml to auto-rollback if deployment fails by @ascopes in #276
  • Includes a small logic fix to issues covered by v2.2.1 yesterday.

Full Changelog: v2.2.2...v2.2.3

v2.2.2

29 Jun 06:55
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.2.1...v2.2.2

v2.2.1

28 Jun 19:25
Compare
Choose a tag to compare

What's Changed

  • Set up .gitattributes by @ascopes in #263
  • Bump org.junit:junit-bom from 5.10.2 to 5.10.3 by @dependabot in #265
  • Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.6.0 to 3.6.1 by @dependabot in #266
  • [bugfix] GH-267: Goal generate-test fails to resolve test-jar dependencies by @ascopes in #268

Full Changelog: v2.2.0...v2.2.1

v2.2.0

28 Jun 19:14
Compare
Choose a tag to compare

What's Changed

  • Inherit JAR/ZIP modified timestamps during content extraction by @ascopes in #259
  • Disable some reports on the site by @ascopes in #260
  • Refactor executor out into separate class that is individually testable by @ascopes in #261
  • GH-250: Support inclusion and exclusion of source files based on globs by @ascopes in #258

Full Changelog: v2.1.5...v2.2.0

v2.1.5

21 Jun 12:42
Compare
Choose a tag to compare

What's Changed

  • Fix missing unit test report set on generated site by @ascopes in #247
  • Bump maven-surefire-plugin.version from 3.2.5 to 3.3.0 by @dependabot in #248
  • Bump org.apache.maven:maven-core from 3.9.7 to 3.9.8 by @dependabot in #251
  • Bump org.apache.maven.plugins:maven-project-info-reports-plugin from 3.5.0 to 3.6.0 by @dependabot in #252
  • Bump org.apache.maven.plugins:maven-release-plugin from 3.0.1 to 3.1.0 by @dependabot in #253
  • Make implicit javax.annotation dependency into an explicit one by @ascopes in #255
  • Update to Maven 3.9.8 by @ascopes in #256
  • Bump org.apache.maven:maven-plugin-api from 3.9.7 to 3.9.8 by @dependabot in #254
  • Bump org.apache.maven.plugins:maven-jar-plugin from 3.4.1 to 3.4.2 by @dependabot in #257

Full Changelog: v2.1.4...v2.1.5

v2.1.4

10 Jun 05:39
Compare
Choose a tag to compare

What's Changed

  • Calculate the User-Agent for URL connections on startup by @ascopes in #241
  • Bump org.apache.maven.plugins:maven-checkstyle-plugin from 3.3.1 to 3.4.0 by @dependabot in #243
  • Bump org.apache.maven.plugins:maven-jxr-plugin from 3.3.2 to 3.4.0 by @dependabot in #244
  • Update protoc examples to use protobuf 4.27.1 by @ascopes in #245
  • Improve Android detection by @ascopes in #246

Full Changelog: v2.1.3...v2.1.4