Skip to content

Release v0.1.2

Choose a tag to compare

@M4TTH3 M4TTH3 released this 03 Aug 04:34
· 6 commits to main since this release
af03a2d

[0.1.2] - 2025-08-03

Added

  • Enhanced TypeName support for common Java library types (List, Map, Set, etc.)
  • Better Python type mapping (bool -> boolean, int -> int, etc.)
  • Added add_javadoc method alongside existing add_javadoc_line
  • Added add_raw_line method for raw code with newlines
  • Support for handling None values in TypeName.get()

Changed

  • Improved TypeName.get() to handle Python types directly (e.g., TypeName.get(bool) returns TypeName.BOOLEAN)
  • Updated method API: add_code() renamed to add_raw_code() for clarity
  • Enhanced JavaDoc generation with better newline handling
  • Applied consistent code formatting across the entire codebase using ruff

Fixed

  • TypeName.get() now properly handles Python type objects instead of just type names
  • JavaDoc emission now properly handles newlines and prefixes
  • Annotation formatting with correct newline placement
  • Primitive type boxing to proper wrapper classes (e.g., int -> java.lang.Integer)