Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

Releasenotes

Harald Pehl edited this page Apr 29, 2013 · 3 revisions

Release notes

Piriti 0.10

  • Back to JDK 1.6 (for compatibility with dependent projects like GWTP)

Piriti 0.9

  • Added single generics support.
  • Adding JSON and XML serializer for maps

Thanks meriouma for the contribution!

Piriti 0.8

  • Issue 54: Collection of enums caused compilation errors in generated code.

Piriti 0.7

  • Splited Piriti into ** piriti-user ** piriti-dev ** piriti-restlet
  • Added XML serialization
  • Changed converter interface
  • Added Piriti to Maven Central
  • Changed groupId for maven dependencies
  • Rewrote internal code generation process to use velocity templates

Piriti 0.7b2

  • Fixed wrong module reference in name.pehl.piriti.json.JSON

Piriti 0.7.0b1

Piriti 0.7.0 is a major release with breaking API changes, lots of new features and bugfixes.

Breaking API Changes:

  • Piriti requires GWT 2.2 and GIN 1.5
  • Dropped GXT support
  • Removed @Json, @!JsonMappings, @Xml and @!XmlMappings annotations

New Features:

  • Devided Piriti into different modules:
  • name.pehl.piriti.commons.Commons
  • name.pehl.piriti.converter.Converter
  • name.pehl.piriti.json.JSON
  • name.pehl.piriti.property.Property
  • name.pehl.piriti.xml.XML
  • Simplified mapping setup: All properties in a POJO hirarchy are now mapped by default (issue 22)
  • Added new annotations to overide default behaviour:
  • @Order
  • @Path
  • @Format
  • @Native (issue 32)
  • @Transient
  • @CreateWith
  • @MapUpTo
  • Added @Mappings and @Mapping annotation for External Mappings (JSON and XML)
  • Added support for polymorhic assoziations (issue 30)
  • Converters can now be used for any type (issue 29)
  • Added XML serialisation (not yet implemented, but scheduled for the 0.7.0 release)
  • Added support for IDs and IDREFs in JSON (not yet implemented, but scheduled for the 0.7.0 release)

Bugfixes:

  • Issue 24: Fixed problems when mapping collection implementations
  • Issue 31: GWT.create() is now used instead of new operator

Piriti 0.6.4

  • Partial release: Only Piriti-Core and Piriti-Restlet are part of this release. Piriti-GXT will follow as soon as GXT is GWT 2.2 compatible.
  • Issue 19: Json strings are now escaped correctly
  • Issue 23: Added support for java.sql.*
  • Issue 24: Fixed code generation for collection implementations
  • Issue 27: Piriti 0.6.4 requires GWT 2.2, GIN 1.5 and Guice 3.x

Piriti 0.6.3

  • Fixed bug when using private fields and inheritance

Piriti 0.6.2

  • Issue 16: Removed reference to @Nullable

Piriti 0.6.1

  • Issue 15: Custom converters are now handled correctly

Piriti 0.6

  • Breaking API changes:
  • Renamed @JsonField to @Json and @XmlField to @Xml
  • Renamed @JsonFields and @JsonModel to @JsonMappings
  • Renamed @XmlFields and @XmlModel to @XmlMappings
  • Added support for JSONPath expressions (see issue 12)
  • Added order() to @Json and @Xml annotations to ensure a distinct processing order (see issue 11)
  • Added support for custom converters (see issue 13)
  • Added support for private fields and custom getters and setters (see issue 14)

Piriti 0.51

  • Added support for custom key names when serializing to JSON (see issue 9)

Piriti 0.5

Piriti 0.4.1

  • Added support for inheritance in POJOs and GXT models (see issue 6)

Piriti 0.4

  • Added support for Namespaces.
  • Removed dependency to gwtxpath
  • Added dependency to Totoe which is now used for XML parsing and namespace support.

Piriti 0.3.5

  • Fix for issue 5: Nested readers are now initialized correctly (thanks to dusan.maliarik)
  • Added support for lowercase enum constants (thanks to dusan.maliarik)
  • Switched to native JSON parser (thanks to Olivier Monaco)

Piriti 0.3.4

  • Fixed bug related to @XmlId / @XmlIdRef processing

Piriti 0.3.3

  • Added @XmlId and @XmlIdRef to map references. See XML references for an example

Piriti 0.3.2

  • Models can now have annotated fields of the same type. This works for 1-1 and 1-n relations
  • Added saftey checks for null JSON values in generated JsonReader code

Piriti 0.3.1

  • Added methods to JsonReader for reading lists of models
  • Added methods to XmlReader for reading lists of models
  • Finished Restlet extension
  • Added sample application

Piriti 0.3

  • Added support for JSON mapping
  • Split Piriti into three modules: piriti-core, piriti-gxt and piriti-restlet
  • Added a sample application

Piriti 0.2.1

  • Added import statements in generated XmlReader implementations.
  • Added GWT unit test for Book / Author example from Getting Started

Piriti 0.2

  • Added collection and array mapping
  • Discarded the mapping of maps

Piriti 0.1

  • Initial release