Skip to content

Releases: xzel23/cabe

v3.0.1

29 Nov 13:42
Compare
Choose a tag to compare

This version adds the option to throw IllegalArgumentException instead of NullPointerException (#14)

v3.0.0

22 Nov 11:22
Compare
Choose a tag to compare

Changes since the release candidate:

  • updated the help text of the command line application
  • updated documentation
  • documentation is now published on GitHub Pages

v3.0-rc

17 Nov 09:25
Compare
Choose a tag to compare
  • use JSpecify annotations; dropped custom annotations
  • support annotations on module
  • simplified plugin configuration in build file
  • requires Java 17 to run
  • support Java versions up to Java 23
  • documentation available on GitHub pages (https://xzel23.github.io/cabe/index.html)

Cabe 3 Beta 1 - Cabe switches to JSpecify annotations

23 Oct 09:44
Compare
Choose a tag to compare

The cabe-annotations module has been removed. Instead of the custom annotations, use JSpecify annotations, i.e., @NullMarked/@NullUnmarked for modules, packages, and classes and @NonNull/@Nullable for parameters. Consult the Nullness User Guide to learn how to annotate your code.

Cabe as before supports injecting checks on method and constructor parameters, including auto-generated canonical record constructors. Checks for method return values and local variables are not supported.

The Config class has been renamed to configuration. The @NullMarked annotation should work on modules, packages, and classes, but more test cases are needed.