Skip to content

Releases: joelittlejohn/jsonschema2pojo

0.4.14

07 Aug 21:33
Compare
Choose a tag to compare
  • Fix 'Unable to load class org.jsonschema2pojo.NoopAnnotator' from Gradle plugin (#395)
  • Library projects should use android.libraryVariants instead of android.applicationVariants (#391)
  • Allow nullable type (instead of Object) when JSON type is an array with "string", "null"
  • Allow custom names to be supplied when creating an enum (#385)
  • Allow disabling additionalProperties generation with a global config option (#376)
  • 'javaInterfaces' which contain generics produce syntactically incorrect imports (#317)

0.4.13

23 Jun 15:13
Compare
Choose a tag to compare
  • RequiredArrayRule not working for properties with _ or -. (#377)
  • Maven plugin shows sourcePaths error for includes/excludes when sourcePaths is not defined (#374)

0.4.12

16 Jun 20:59
Compare
Choose a tag to compare
  • Didn't work in Android Studio with with current master branch '040e3ae' (#370)
  • Use the correct ClassLoader in createFromParcel for lists (#356)
  • Find jar when jsonschema2pojo sh script is not running in script folder (#351)
  • Fix parameter description of --class-prefix and --class-suffix. (#350)
  • Multiple enum array properties with same name cause JClassAlreadyExistsException (#349)
  • Allow empty package names (#348)
  • Corrected Exclude pattern behavior with Maven to avoid excluding all files (#340)

0.4.11

16 Apr 20:42
Compare
Choose a tag to compare
  • Add super() to the equals/hashcode impl (#333)
  • Use Gson @SerializedName annotation on ALL fields, even when JSON name matches Java name (#327)
  • Adding support for required array from http://tools.ietf.org/html/draft-... (#325)
  • default tag doesn't work for empty string (#320)
  • EXPERIMENTAL Support Parcelable types for Android (#127)

0.4.10

19 Mar 15:25
Compare
Choose a tag to compare
  • Initial class name is truncated after first . char, instead of last . char (#313)
  • Add support for android library plugin (#305)
  • Support "javaType" for things that are not "type": "object" (#223)

0.4.9

19 Mar 15:19
Compare
Choose a tag to compare
  • Array types are ignored inside generics in javaType (#299)
  • Add config options to generate Joda LocalDate and LocalTime (#298)
  • Allow URLs as source locations (#293)

0.4.8

26 Feb 22:47
Compare
Choose a tag to compare
  • Android support in gradle plugin (#292)
  • Add support for Jackson's JsonView (#291)
  • Added support for javaType on integer and number properties. (#287)
  • Option to create constructors (with all fields, or with required fields) (#231)
  • Support nested generic type arguments in javaType (#196)

0.4.7

29 Nov 18:46
Compare
Choose a tag to compare
  • Adding UUID support to FormatRule (#270)
  • Add GSON annotation '@SerializedName' to Enums (#267)
  • Add ability to set prefixes/suffixes for generated classes (#258)

0.4.6

31 Oct 23:25
Compare
Choose a tag to compare
  • Support for @JsonTypeInfo in generated classes using deserializationClassProperty (#235
  • ClassNotFoundException when attempting to use a custom annotator from a project dependency (#256)
  • Inflector incorrectly singularizes Address to Addres (#244)
  • propertyWordDelimiters config is ignored (#243)
  • Improve the way Equals and Hashcode are generated (#241)

0.4.5

05 Aug 20:07
Compare
Choose a tag to compare
  • Allow sets to have an [ ] (empty) default value (#232)
  • Use LinkedHashSet when deserializing Set to preserve order (#227)
  • Allow SchemaMapper to generate from String and not only URL (#221)
  • Generate @param and @returns javadoc (#219)
  • Creating a list of objects with class name as “S” (#213)
  • Add 'customRuleFactory' config option for pluggable RuleFactory (#211)