Skip to content

Releases

1.29.2

Choose a tag to compare

@github-actions github-actions released this 22 Nov 23:58
1.29.2

A bug-fix release for the animal-sniffer:build goal, plus refreshed documentation.

✨ Highlights

  • includeModuleClasses property: a copy-and-paste error had bound this animal-sniffer:build parameter to the includeJavaHome user property. It now has its own includeModuleClasses property. As a result, -DincludeJavaHome=false no 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

📝 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

🔧 Build

📦 Dependency updates

Thanks to @slachiewicz.

Full changelog

1.29.1

Choose a tag to compare

@github-actions github-actions released this 09 Nov 20:48
1.29.1

Animal Sniffer 1.29.1 stops reporting signature-polymorphic method calls as undefined references.

✨ Highlights

  • MethodHandle and VarHandle calls pass the check. Calls such as MethodHandle.invoke/invokeExact and the VarHandle access 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 --release now says it applies to JDK API checks only (#377, #379).

🐛 Bug Fixes

📝 Documentation updates

Thanks to @slachiewicz.

Full changelog

1.29

Choose a tag to compare

@github-actions github-actions released this 06 Nov 10:36
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: SignatureChecker now 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 in animal-sniffer:check now honours <classifier>, allowing builds to resolve signature artifacts published with a classifier (#346).
  • Maven Resolver support in animal-sniffer-enforcer-rule: The checkSignatureRule Enforcer rule now resolves signature artifacts through Maven Resolver instead of the legacy ArtifactResolver, ensuring compatibility with Maven 3.9+ and Maven 4 (#367).
  • Reliable @IgnoreJRERequirement suppression 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:asm to 9.11 for current Java bytecode support (#354).

🚨 Removed

🚀 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

👻 Maintenance

🔧 Build

📦 Dependency updates

Thanks to @jhy, @slachiewicz and @wilx.

Full changelog

1.28

Choose a tag to compare

@github-actions github-actions released this 11 Sep 20:58

📦 Dependency updates

22 changes

1.27

Choose a tag to compare

📦 Dependency updates

1.26

Choose a tag to compare

📦 Dependency updates

1.24

Choose a tag to compare

🚀 New features and improvements

  • Restrict allowed classes during deserialization of signature files (#253) @Marcono1234

📦 Dependency updates

👻 Maintenance

🔧 Build

1.23

Choose a tag to compare

@github-actions github-actions released this 25 Mar 08:26
1.23
bae2423

🚀 New features and improvements

📦 Dependency updates

👻 Maintenance

1.22

Choose a tag to compare

🐛 Bug Fixes

📦 Dependency updates

👻 Maintenance

  • use Apache Maven shared gha v3 and add matrix setup (#209) @olamy

🔧 Build

1.21.0

Choose a tag to compare

🚀 New features and improvements

  • Cache signatures so that multiple runs of the mojo can reuse loaded signatures (#165) @gnodet

🐛 Bug Fixes

  • Remove incorrect handling of covariant return types (#83) @ogolberg

📦 Dependency updates