Version 2.4.0
Release notes
- Now supporting
xs:anySimpleType
(#131) - A couple of problems with the build (#112, #113)
- Empty namespace prefix in
namespacePrefixes
was conflicing withdefaultNamespaceURI
(#111) DateTime
,Date
,Time
types were renamed toDateTimeAsDate
,DateAsDate
,TimeAsDate
. NewDateTime
,Date
andTime
are derived fromCalendar
(#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
.