Skip to content

Releases: joelittlejohn/jsonschema2pojo

0.4.4

25 Jun 20:41
Compare
Choose a tag to compare
  • Added ')' to jdk unbounded range for Maven 2.X (#205)
  • Allow Sets and Lists to be initialized to null (instead of an empty collection) (#203)

0.4.3

10 Jun 21:33
Compare
Choose a tag to compare
  • Add includes & excludes Maven config options for source file filtering (#200)
  • Reorganise module dependencies, pull CLI out from under other plugins (#198)
  • "properties" property implies "type": "object" (#192)
  • Preserve casing of field names (#187)
  • sourceType = 'json' is ignored by Gradle plugin (#184)
  • Handling local references on jsonschema2pojo.org (#183)

0.4.2

04 May 17:17
Compare
Choose a tag to compare
  • Builder Method for Additional Properties (#175)
  • javaInterfaces extension property is ignored for Enum types (#172)
  • Binary property support (#171)
  • Support annotating additionalProperties field. (#170)

0.4.1

14 Mar 23:20
Compare
Choose a tag to compare
  • Switch from HashSet to LinkedHashSet for uniqueItems arrays to preserve order (#159)
  • Add @Valid on all collections, not just those with items type "object" (#158)
  • Allow collections to be null by default (#156)
  • Add support for generic type arguments to javaType (#151)
  • sourceType config option is ignored by the gradle plugin (#144)
  • Array properties that include the word "men" in the name result in incorrectly named item class (#142)
  • Type "Number" is generating Floats instead of Double (#141)
  • Add config option to choose commons-lang3 for hashCode/toString implementation (#140)
  • Return JType from SchemaMapper.generate(...) (#137)

0.4.0

03 Dec 00:22
Compare
Choose a tag to compare
  • Rename setAdditionalProperties to avoid confusing naive introspectors (#136)
  • ExtendedCharacters tests fail on command line, but pass in Eclipse (Windows) (#131)
  • Long integers become java.lang.Double when using JSON source type (#130)
  • Integration tests in GsonIT suite fail on Windows (#129)
  • JSON schema with enum member with a name starting with a capital letter, causes a generation of a code that doesn't compile (#126)
  • Contribute Gradle plugin (#123)
  • Corrected default annotationStyle to be jackson2 (#122)
  • Enable maven plugin to recurse subdirectories for schema to code generation (#117)
  • Migrate groupId to org.jsonschema2pojo (#116)
  • Migrate package structure to org.jsonschema2pojo (#115)
  • Allow system default charset to be overriden (#113)
  • Configuration option to use Joda types (#110)
  • Default propertyWordDelimiters to commonly used characters (#109)

0.3.7

26 Sep 16:11
Compare
Choose a tag to compare
  • Standalone enums have wrong package name (#103)
  • Type names are printed to stdout during code generation (#101)
  • @Valid is not being added to an arrays of objects that are defined using a $ref (#97)
  • ContentResolver.resolve throws a.lang.IllegalArgumentException: Unrecognised URI when path to schema contains space (#94)
  • Add 'removeOldOutput' option to clear all previously generated sources (#92)
  • Add support for generating Gson compatible types (#70)
  • Add extension to force generated classes to implement additional interface(s) (#60)

0.3.6

26 Sep 16:13
Compare
Choose a tag to compare
  • Better inflection when making array names singular (#96)
  • Optimized deserialization for enum values (#95)
  • Elements with similar names are overwritten (#93)
  • Support for classpath in Ant target (#89)
  • Support for custom Annotator classes (#86)

0.3.5

05 Aug 21:36
Compare
Choose a tag to compare
  • Add support for http:// URLs when using $ref (#87)
  • Add support for resource: URLs when using $ref (#85)
  • JSON property called "class" creates a method called "getClass" which Java is not happy about (#84)

0.3.4

05 Aug 21:37
Compare
Choose a tag to compare
  • Support @Valid annotation for transitive validation (#82)
  • Add minLength/maxLength to JSR-303 support (#78)
  • Array properties use item type instead of collection type when using a ref to an array schema more than once (#76)
  • Array item type is not named well when array property name ends in 'ies' (#75)
  • Run a hosted/web version of jsonschema2pojo (#66)

0.3.3

05 Aug 21:38
Compare
Choose a tag to compare
  • Configuration propertyWordDelimiters are used for properties but ignored when naming new Java types (#73)
  • Reserved Java words are not transformed during object generation when propertyWordDelimiters=_ is used (#72)
  • Threadsafe Maven generate mojo (#71)
  • Support generating types 'by example', using example JSON document instead of a JSON Schema (#42)