Releases: joelittlejohn/jsonschema2pojo
Releases · joelittlejohn/jsonschema2pojo
1.2.2
- Don't log ClassAlreadyExistsException for Enum (#1597)
- Prevent generating duplicate constructors when all properties are required; and both includeAllPropertiesConstructor and includeRequiredPropertiesConstructor are true (#1553)
- Add support for property names containing question mark(s) (#1522)
- Avoid NPE when setting additionalProperties path (#1515)
1.2.1
1.2.0
- Avoid output to System.err when finding unique Enum name (#1485)
- Add useful debug logging when reading schemas and creating classes (#1483)
- Use targetVersion to decide which Generated annotation to add (#1482)
- Add Javadoc to constructors parameters for properties that have title/description/$comment (#1481)
- Choose default targetVersion using Gradle/Maven configuration (#1478)
- Use Mojo Annotations instead of Javadoc tags in the Maven Plugin (#1476)
- Add Email bean validation annotation for "format":"email" (#1475)
- Allow empty string and underscore as property name (#1468)
- Use Object as the type in case schema property contains mixed types (#1456)
- "Path not present" error when processing multiple JSON files having objects with the same name (#1427)
1.1.3
- Add command line option to print version (#1458)
- Accept multiple values provided with single "-s"/"--source" argument (#1457)
- Avoid deprecation warning with Gradle plugin re Gradle 8.0 and IncrementalTaskInputs (#1454)
- java.lang.OutOfMemoryError: Java heap space (#1423)
- Properties with special character in the name (#, /, etc) cause IllegalArgumentException 'Path not present' when using 1.1.2 (#1402)
- Add
builder
method to create a new instance of the builder (#1396) - Added support for JSON-B (#1385)
- Get Stackoverflow error if array items schema contains trees/cycle dependencies for children (#1376)
1.1.2
- Use LinkedHashMap for additional properties, so the original ordering in the JSON is preserved (#1397)
- Collection fields are unnecessarily initialized to "null" (#1346)
- Enum not getting generated correctly with CamelCase values (#1310)
- Support using JSR-303 annotations from 'jakarta.validation' package (#1280)
- Item type for array property 'listFta' is incorrectly named ListFtum (#1275)
- Android Parcelable unused import (#1150)
- jsonschema2pojo website returns HTTP 500 for using TreeNode example in the wiki (#781)
- Recursive schema $ref generates an extra class (#368)
1.1.1
- nested sibling references causes error
Path not present: definitions
only on https://www.jsonschema2pojo.org/, local is fine (#1237) - Provide a JDK9+ compatible annotations library for Android projects (#1218)
- $comment field for property can be turned into JavaDoc (#1197)
- UnnecessaryModifier PMD warning in generated code (private constructor for enums) (#1102)
- When providing example json with a value great than Integer/MAX_VALUE, it should generate a long field in Java (#971)
- IllegalArgumentException while resolving reference to reference with # (#793)
1.1.0
- Add @generated annotation to classes and includeGeneratedAnnotation config option (#1202)
- Remove Jackson 1.x support (#1200)
- Remove jsonschema2pojo-scalagen (#1199)
- Enum generation ignores existingJavaType (#1182)
- Require Gradle 5.6+ when using the Gradle plugin (and update examples) (#1131)
- formatTypeMapping fails with primitive types (#1126)
- Add private modifier to constructor-related configuration options so that they can be configured in the POM (#1118)
- Using enum + javaType (without package name) generates enum in default package as a class, then fails to compile (#1103)
- Fix raw type warnings when extending a builder (#1101)
- Recursive schemas with relative paths can generate the same class twice with "__1" in the name (#1077)
- Gradle shows deprecation warnings regarding Gradle 7.0 (#1070)
- Add javax.annotation.processing.Generated for Java 9 (#835)
1.0.2
- Restrict JSR-303 annotations to supported field types (#1063)
- Add package when javaType is not a fully qualified name (#1054)
- Feature/format type mapping for array types (#1044)
- Implement javaEnums extension (#1041)
- Covariant return types on build() method (avoid having to cast after calling the build() method on a subclass) (#1014)
- Add support for @digits JSR-303 annotation (#977)
- Add support for title and description on Enums (#975)
- Add support for including JsonTypeInfo Annotation (#967)