Releases: ascopes/protobuf-maven-plugin
Releases · ascopes/protobuf-maven-plugin
v2.1.2
What's Changed
- Bump org.apache.maven:maven-core from 3.9.6 to 3.9.7 by @dependabot in #227
- Bump org.apache.maven:maven-plugin-api from 3.9.6 to 3.9.7 by @dependabot in #228
- Bump org.assertj:assertj-core from 3.25.3 to 3.26.0 by @dependabot in #229
- Task/update protobuf versions by @ascopes in #230
- Bump org.apache.maven.plugins:maven-invoker-plugin from 3.6.1 to 3.7.0 by @dependabot in #231
- Bump com.puppycrawl.tools:checkstyle from 10.16.0 to 10.17.0 by @dependabot in #232
- Remove protoc --version call on each run by @ascopes in #233
- Write outputs of protoc invocations to the Maven logs by @ascopes in #234
Full Changelog: v2.1.1...v2.1.2
v2.1.1
What's Changed
- Fix typo in README.md by @ascopes in #220
- Create SECURITY.md by @ascopes in #221
- Add ScalaPB plugin integration test by @ascopes in #223
- Move Kotlin dependencies out of the parent by @ascopes in #224
- Fix bug where backslashes in paths are not escaped properly by @ascopes in #226
Full Changelog: v2.1.0...v2.1.1
v2.1.0
- GH-207: Implement ability to embed proto sources in output JAR
Full Changelog: v2.0.3...v2.1.0
v2.0.3
Bugfixes
- GH-213: Rewrite dependency resolution mechanism by @ascopes in #215
- Warn ahead of time if directories are missing and omit them from compilation by @ascopes in #216
- GH-172: Fix dependency conflict resolution by @ascopes in #217
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
What's Changed
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
v2.0.0
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
What's Changed
- 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
Full Changelog: v2.0.0-alpha1...v2.0.0-alpha2
v2.0.0-alpha1
v1.2.1
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