Skip to content

Version 2.4.0

Compare
Choose a tag to compare
@highsource highsource released this 28 Dec 20:04
· 82 commits to master since this release

Release notes

  • Now supporting xs:anySimpleType (#131)
  • A couple of problems with the build (#112, #113)
  • Empty namespace prefix in namespacePrefixes was conflicing with defaultNamespaceURI (#111)
  • DateTime, Date, Time types were renamed to DateTimeAsDate, DateAsDate, TimeAsDate. New DateTime, Date and Time are derived from Calendar (#132)

All issues, fixed in this release.

Backwards Compatibility

In this release old types DateTime, Date and Time were renamed to DateTimeAsDate, DateAsDate, TimeAsDate.

Starting with the version 2.3.8, Jsonix Schema Compiler generates DateTime, Date and Time types instead of Calendar. But these types were previously mapping date/time values as the JavaScript Date object which is not compatible with Calendar.

To reduce backwards-incompatibility for schema-derived mappings, DateTime, Date and Time must be compatible to Calendar. To achieve this, old types DateTime, Date and Time were renamed to DateTimeAsDate, DateAsDate, TimeAsDate.

This is a backwards incompatible change.

If you generate your mappings using Jsonix Schema Compiler, upgrade it to the version 2.3.8.

If you have written your mappings manually, use DateTimeAsDate, DateAsDate and TimeAsDate instead of DateTime, Date and Time.