Repository navigation
Releases
Releases · mojohaus/animal-sniffer
1.29.2
A bug-fix release for the animal-sniffer:build goal, plus refreshed documentation.
✨ Highlights
includeModuleClassesproperty: a copy-and-paste error had bound thisanimal-sniffer:buildparameter to theincludeJavaHomeuser property. It now has its ownincludeModuleClassesproperty. As a result,-DincludeJavaHome=falseno longer also excludes module classes. Builds that relied on the old behavior must now pass both properties.- Documentation: the site pages are now Markdown, and they describe what is checked and the signature classifiers.
- Requirements: unchanged.
🐛 Bug Fixes
- Give includeModuleClasses its own user property (#389) @slachiewicz
📝 Documentation updates
- Refresh README and site, document what is checked and signature classifiers, convert the site pages to Markdown, require documentation updates (#388) @slachiewicz
- Fix stale documentation references (#387) @slachiewicz
- Fix two confirmed-dead documentation links (#383) @slachiewicz
👻 Maintenance
- Test the empty signature version error without a forked build (#391) @slachiewicz
- Assert on the violation lines in the manimalsniffer-29 and -41 ITs (#390) @slachiewicz
- Replace utility calls with the JDK (#382) @slachiewicz
- Apply OpenRewrite cleanups (#381) @slachiewicz
🔧 Build
- Add PR release-note labeler (#386) @slachiewicz
- Exclude IT fixtures from Dependabot Maven updates (#384) @slachiewicz
📦 Dependency updates
- Bump the maven group with 3 updates (#385) @dependabot[bot]
- Bump plexus-utils to 4.2.0 (#380) @slachiewicz
Thanks to @slachiewicz.
1.29.1
Animal Sniffer 1.29.1 stops reporting signature-polymorphic method calls as undefined references.
✨ Highlights
MethodHandleandVarHandlecalls pass the check. Calls such asMethodHandle.invoke/invokeExactand theVarHandleaccess modes carry the call site's descriptor, which never matches the declared(Object[])one, so they were flagged as undefined. They are now checked by method name on the owner and its super types (#378, #67 by @lukehutch).- Documentation moved to Markdown, and the note on
--releasenow says it applies to JDK API checks only (#377, #379).
🐛 Bug Fixes
- Check signature polymorphic calls by method name (#378) @slachiewicz
📝 Documentation updates
- Limit the --release note to JDK API checks (#379) @slachiewicz
- Convert site documentation to Markdown (#377) @slachiewicz
Thanks to @slachiewicz.
1.29
Animal Sniffer 1.29 improves signature checking accuracy, fixes @IgnoreJRERequirement suppression ordering in the Ant task, and modernizes signature artifact resolution in the Maven plugin and Enforcer rule. The Maven plugin and Enforcer rule require Maven 3.9.0 or later and Java 8 or later.
✨ Highlights
- Method parameter type checking:
SignatureCheckernow verifies the types of declared method parameters against the target signature so methods accepting types missing from the target API are caught even if those types are not referenced in the method body. Synthetic constructor parameters generated for inner classes continue to respect@IgnoreJRERequirement(#349). - Classified signature artifacts in
animal-sniffer-maven-plugin: The<signature>configuration inanimal-sniffer:checknow honours<classifier>, allowing builds to resolve signature artifacts published with a classifier (#346). - Maven Resolver support in
animal-sniffer-enforcer-rule: ThecheckSignatureRuleEnforcer rule now resolves signature artifacts through Maven Resolver instead of the legacyArtifactResolver, ensuring compatibility with Maven 3.9+ and Maven 4 (#367). - Reliable
@IgnoreJRERequirementsuppression in the Ant task: The Ant<check-signature>task now sorts classes within each container so enclosing classes are always processed before their nested/inner classes regardless of filesystem or JAR entry order, and ignores non-class resources without splitting class batches (#350). - ASM 9.11: Upgraded
org.ow2.asm:asmto 9.11 for current Java bytecode support (#354).
🚨 Removed
- Require Maven 3.9.0 (#359) @slachiewicz
🚀 New features and improvements
- Resolve the enforcer rule's signature through Maven Resolver (#367) @slachiewicz
🐛 Bug Fixes
- Resolve classified signature artifacts in Maven plugin (#346) @jhy
- Detect unsupported declared method parameter types (#349) @wilx
- Fix Ant signature suppression for unordered class files (#350) @wilx
📝 Documentation updates
- Add AGENTS.md (#366) @slachiewicz
👻 Maintenance
- Run CheckSignatureTaskTest on JUnit 5 (#376) @slachiewicz
- Declare org.eclipse.sisu.inject at the version of org.eclipse.sisu.plexus (#374) @slachiewicz
- Drop obsolete plugin pins and Java 1.5 settings from the IT projects (#371) @slachiewicz
- Declare the Maven artifacts the code uses (#368) @slachiewicz
- Remove redundant maven-shade-plugin version (#370) @slachiewicz
- Replace deprecated @component with JSR 330 injection (#369) @slachiewicz
- Apply the JUnit 5 best practices to the tests (#364) @slachiewicz
- Keep Dependabot on Maven 3.9.x (#362) @slachiewicz
- Port the BeanShell verify scripts to Groovy (#361) @slachiewicz
- Migrate SignatureCheckerTest to JUnit 5 (#360) @slachiewicz
🔧 Build
- Keep Dependabot on Maven 3.9.x and Resolver 1.9.x (#372) @slachiewicz
- Use the runners' cached Temurin JDKs in CI (#365) @slachiewicz
- Run CI on Maven 4 (#363) @slachiewicz
- Assign merged pull requests to the release milestone (#358) @slachiewicz
- Run one integration test per CPU core (#357) @slachiewicz
- Check dependencies monthly and group the updates (#356) @slachiewicz
- Run fewer JDKs on macOS and Windows and the ITs in parallel (#355) @slachiewicz
- Use the shared ASF release-drafter workflow (#353) @slachiewicz
📦 Dependency updates
- Bump the maven group across 1 directory with 4 updates (#375) @dependabot[bot]
- Bump org.ow2.asm:asm from 9.10.1 to 9.11 (#354) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.20.0 to 3.21.0 (#351) @dependabot[bot]
Thanks to @jhy, @slachiewicz and @wilx.
1.28
📦 Dependency updates
22 changes
- Bump org.apache.ant:ant from 1.10.17 to 1.10.18 (#348) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-utils from 4.0.3 to 4.1.0 (#347) @dependabot[bot]
- Bump release-drafter/release-drafter from 7.5.1 to 7.7.0 (#345) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 96 to 97 (#344) @dependabot[bot]
- Bump apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml from 4 to 5 (#342) @dependabot[bot]
- Bump release-drafter/release-drafter from 7.4.0 to 7.5.1 (#341) @dependabot[bot]
- Bump release-drafter/release-drafter from 7.3.1 to 7.4.0 (#340) @dependabot[bot]
- Bump release-drafter/release-drafter from 7.3.0 to 7.3.1 (#338) @dependabot[bot]
- Bump org.ow2.asm:asm from 9.10 to 9.10.1 (#339) @dependabot[bot]
- Bump release-drafter/release-drafter from 7.2.1 to 7.3.0 (#335) @dependabot[bot]
- Bump org.apache.maven.enforcer:enforcer-api from 3.6.2 to 3.6.3 (#337) @dependabot[bot]
- Bump org.ow2.asm:asm from 9.9.1 to 9.10 (#336) @dependabot[bot]
- Bump release-drafter/release-drafter from 7.2.0 to 7.2.1 (#334) @dependabot[bot]
- Bump org.apache.ant:ant from 1.10.16 to 1.10.17 (#333) @dependabot[bot]
- Bump release-drafter/release-drafter from 7.1.1 to 7.2.0 (#332) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-utils from 4.0.2 to 4.0.3 (#330) @dependabot[bot]
- Bump org.apache.ant:ant from 1.10.15 to 1.10.16 (#331) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 95 to 96 (#325) @dependabot[bot]
- Bump release-drafter/release-drafter from 6.3.0 to 7.1.1 (#327) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-shade-plugin from 3.6.1 to 3.6.2 (#321) @dependabot[bot]
- Bump release-drafter/release-drafter from 6.2.0 to 6.3.0 (#322) @dependabot[bot]
- Bump release-drafter/release-drafter from 6.1.0 to 6.2.0 (#319) @dependabot[bot]
1.27
📦 Dependency updates
- Bump org.codehaus.mojo:mojo-parent from 94 to 95 (#317) @dependabot[bot]
- Bump org.ow2.asm:asm from 9.9 to 9.9.1 (#315) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.19.0 to 3.20.0 (#314) @dependabot[bot]
1.26
📦 Dependency updates
- Bump org.apache.maven.enforcer:enforcer-api from 3.6.1 to 3.6.2 (#308) @dependabot[bot]
- Bump org.ow2.asm:asm from 9.8 to 9.9 (#310) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 93 to 94 (#309) @dependabot[bot]
- Bump org.apache.maven.plugins:maven-shade-plugin from 3.6.0 to 3.6.1 (#306) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.18.0 to 3.19.0 (#307) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 92 to 93 (#305) @dependabot[bot]
- Bump org.apache.maven.enforcer:enforcer-api from 3.5.0 to 3.6.1 (#304) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.17.0 to 3.18.0 in /animal-sniffer-maven-plugin (#303) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 91 to 92 (#300) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 87 to 91 (#299) @dependabot[bot]
- Bump org.ow2.asm:asm from 9.7.1 to 9.8 (#296) @dependabot[bot]
- Bump release-drafter/release-drafter from 6.0.0 to 6.1.0 (#294) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 86 to 87 (#295) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 85 to 86 (#291) @dependabot[bot]
- Bump org.ow2.asm:asm from 9.7 to 9.7.1 (#293) @dependabot[bot]
- Bump org.codehaus.plexus:plexus-utils from 4.0.1 to 4.0.2 (#292) @dependabot[bot]
- Bump org.apache.ant:ant from 1.10.14 to 1.10.15 (#290) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.16.0 to 3.17.0 (#289) @dependabot[bot]
- Bump org.codehaus.mojo:mojo-parent from 84 to 85 (#288) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.15.0 to 3.16.0 (#287) @dependabot[bot]
- Bump org.apache.commons:commons-lang3 from 3.14.0 to 3.15.0 (#286) @dependabot[bot]
1.24
🚀 New features and improvements
- Restrict allowed classes during deserialization of signature files (#253) @Marcono1234
📦 Dependency updates
- Drop dependency to plexus-container (#285) @slachiewicz
- Bump org.codehaus.mojo:mojo-parent from 78 to 84 (#284) @dependabot
- Bump org.apache.maven.enforcer:enforcer-api from 3.4.1 to 3.5.0 (#281) @dependabot
- Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.3 to 3.6.0 (#282) @dependabot
- Bump org.apache.maven.shared:maven-common-artifact-filters from 3.3.2 to 3.4.0 (#283) @dependabot
- Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.1 to 3.5.3 (#279) @dependabot
- Bump org.codehaus.plexus:plexus-utils from 4.0.0 to 4.0.1 (#278) @dependabot
- Bump org.ow2.asm:asm from 9.6 to 9.7 (#277) @dependabot
- Bump apache/maven-gh-actions-shared from 3 to 4 (#276) @dependabot
- Bump release-drafter/release-drafter from 5.25.0 to 6.0.0 (#272) @dependabot
- Bump org.codehaus.mojo:mojo-parent from 77 to 78 (#271) @dependabot
- Bump org.apache.maven.enforcer:enforcer-api from 3.2.1 to 3.4.1 (#261) @dependabot
- Bump org.apache.commons:commons-lang3 from 3.13.0 to 3.14.0 (#266) @dependabot
- Bump org.codehaus.mojo:mojo-parent from 74 to 77 (#264) @dependabot
- Require Maven 3.6.3+ (#265) @slachiewicz
- Bump org.ow2.asm:asm from 9.5 to 9.6 (#263) @dependabot
- Bump org.apache.maven.plugins:maven-shade-plugin from 3.5.0 to 3.5.1 (#262) @dependabot
- Bump org.apache.commons:commons-lang3 from 3.12.0 to 3.13.0 (#254) @dependabot
- Bump org.apache.ant:ant from 1.10.13 to 1.10.14 (#255) @dependabot
- Bump maven-shade-plugin from 3.4.1 to 3.5.0 (#250) @dependabot
- Bump plexus-utils from 3.5.1 to 4.0.0 (#247) @dependabot
- Bump build-helper-maven-plugin from 3.3.0 to 3.4.0 (#246) @dependabot
- Bump asm from 9.4 to 9.5 (#243) @dependabot
👻 Maintenance
- Hashpin sensitive workflow at release-drafter.yml (#270) @diogoteles08
- Docs: create Security Policy (#260) @diogoteles08
- Bump build-helper-maven-plugin from 3.3.0 to 3.4.0 (#246) @dependabot
🔧 Build
- ci: add minimal permissions on github workflows (#258) @diogoteles08
1.23
🚀 New features and improvements
- Get rid of maven-compat use Resolver API (#239) @slawekjaranowski
- Update plugin, require Maven 3.2.5 (#223) @cstamas
- Improve field handling (#212) @Marcono1234
📦 Dependency updates
- Bump parent from 70 to 74 and poms cleanup (#241) @slawekjaranowski
- Bump maven-surefire-plugin from 2.22.2 to 3.0.0 (#238) @dependabot
- Bump plexus-utils from 3.5.0 to 3.5.1 (#236) @dependabot
- Bump maven-plugin-plugin from 3.7.1 to 3.8.1 (#234) @dependabot
- Bump maven-plugin-annotations from 3.7.1 to 3.8.1 (#235) @dependabot
- Bump enforcer-api from 3.1.0 to 3.2.1 (#232) @dependabot
- Bump maven-enforcer-plugin from 3.1.0 to 3.2.1 (#231) @dependabot
- Bump maven-plugin-plugin from 3.7.0 to 3.7.1 (#228) @dependabot
- Bump ant from 1.10.12 to 1.10.13 (#226) @dependabot
- Bump maven-plugin-annotations from 3.7.0 to 3.7.1 (#229) @dependabot
- Bump maven-checkstyle-plugin from 3.2.0 to 3.2.1 (#227) @dependabot
- Bump maven-plugin-annotations from 3.6.4 to 3.7.0 (#221) @dependabot
- Bump maven-plugin-plugin from 3.6.4 to 3.7.0 (#220) @dependabot
- Bump asm from 9.3 to 9.4 (#217) @dependabot
- Bump maven-shade-plugin from 3.4.0 to 3.4.1 (#219) @dependabot
- Bump plexus-utils from 3.4.2 to 3.5.0 (#218) @dependabot
- Bump maven-common-artifact-filters from 3.3.1 to 3.3.2 (#216) @dependabot
- Bump maven-shade-plugin from 3.3.0 to 3.4.0 (#215) @dependabot
- Bump maven-checkstyle-plugin from 3.1.2 to 3.2.0 (#213) @dependabot
👻 Maintenance
- Refresh documentation site (#242) @slawekjaranowski
- Prepare to run on Java 19+ (#237) @slachiewicz
- Update usage.apt.vm (#222) @hbeni
- Use HTTPS links in README and replace Travis badge (#211) @Marcono1234
1.22
🐛 Bug Fixes
- Added java 9+ compatibility (bugfix & addition) (#139) @Finomosec
📦 Dependency updates
- Bump mojo-parent from 69 to 70 (#210) @dependabot
- Bump maven-common-artifact-filters from 3.3.0 to 3.3.1 (#208) @dependabot
- Bump mojo-parent from 68 to 69 (#207) @dependabot
- Bump mojo-parent from 67 to 68 (#206) @dependabot
- Bump maven-common-artifact-filters from 3.2.0 to 3.3.0 (#205) @dependabot
- Bump enforcer-api from 3.0.0 to 3.1.0 (#204) @dependabot
- Bump maven-enforcer-plugin from 3.0.0 to 3.1.0 (#203) @dependabot
- Bump plexus-utils from 3.4.1 to 3.4.2 (#202) @dependabot
- Bump maven-shade-plugin from 3.2.4 to 3.3.0 (#195) @dependabot
- Bump actions/setup-java from 2 to 3 (#199) @dependabot
- Bump mojo-parent from 65 to 67 (#198) @dependabot
- Bump asm from 9.2 to 9.3 (#197) @dependabot
- Bump actions/checkout from 2 to 3 (#193) @dependabot
- Bump release-drafter/release-drafter from 5.18.1 to 5.19.0 (#194) @dependabot
- Bump release-drafter/release-drafter from 5.18.0 to 5.18.1 (#192) @dependabot
- Bump release-drafter/release-drafter from 5.17.6 to 5.18.0 (#191) @dependabot
👻 Maintenance
🔧 Build
1.21.0
🚀 New features and improvements
🐛 Bug Fixes
📦 Dependency updates
- Bump maven-plugin-annotations from 3.6.2 to 3.6.4 (#188) @dependabot
- Bump maven-plugin-plugin from 3.6.2 to 3.6.4 (#189) @dependabot
- Bump release-drafter/release-drafter from 5.15.0 to 5.17.6 (#190) @dependabot
- Bump build-helper-maven-plugin from 3.2.0 to 3.3.0 (#185) @dependabot
- Bump plexus-container-default from 2.1.0 to 2.1.1 (#184) @dependabot
- Bump maven-plugin-plugin from 3.6.1 to 3.6.2 (#183) @dependabot
- Bump maven-plugin-annotations from 3.6.1 to 3.6.2 (#182) @dependabot
- Bump junit from 4.13 to 4.13.1 in /animal-sniffer-maven-plugin/src/it/github-5-test-classes (#180) @dependabot
- Bump mojo-parent from 63 to 65 (#181) @dependabot
- Bump ant from 1.10.11 to 1.10.12 (#177) @dependabot
- Bump actions/setup-java from 2.3.0 to 2.3.1 (#176) @dependabot
- Bump plexus-utils from 3.4.0 to 3.4.1 (#174) @dependabot
- Bump actions/setup-java from 2.2.0 to 2.3.0 (#173) @dependabot
- Bump maven-enforcer-plugin from 3.0.0-M3 to 3.0.0 (#169) @dependabot
- Bump enforcer-api from 1.4.1 to 3.0.0 (#170) @dependabot
- Bump plexus-utils from 3.3.0 to 3.4.0 (#168) @dependabot
- Bump actions/setup-java from 2.1.0 to 2.2.0 (#171) @dependabot
- Bump asm from 9.1 to 9.2 (#166) @dependabot
- Bump ant from 1.10.10 to 1.10.11 (#167) @dependabot
- Bump maven-plugin-plugin from 3.6.0 to 3.6.1 (#157) @dependabot
- Bump maven-plugin-annotations from 3.6.0 to 3.6.1 (#158) @dependabot
- Bump actions/setup-java from 1 to 2.1.0 (#161) @dependabot
- Bump httpclient from 4.1.1 to 4.5.13 in /animal-sniffer-maven-plugin/src/it/manimalsniffer-6 (#164) @dependabot
- Bump actions/cache from 2.1.5 to 2.1.6 (#162) @dependabot
- Bump mojo-parent from 61 to 63 (#163) @dependabot
- Bump actions/checkout from 2 to 2.3.4 (#160) @dependabot
- Bump ant from 1.10.9 to 1.10.10 (#156) @dependabot
- Bump actions/cache from v2.1.4 to v2.1.5 (#155) @dependabot
- Bump release-drafter/release-drafter from v5.14.0 to v5.15.0 (#153) @dependabot
- Bump maven-common-artifact-filters from 3.1.1 to 3.2.0 (#151) @dependabot
- Bump commons-lang3 from 3.11 to 3.12.0 (#152) @dependabot
- Bump junit from 4.13.1 to 4.13.2 (#149) @dependabot
- Bump release-drafter/release-drafter from v5.13.0 to v5.14.0 (#150) @dependabot