New
- Added feature where you can specify the an index for the subclass instead of forcing simpleName
Fixes
- ReflectionUtil getAnnotatedFields() method has an over counting issue.
New
- Introducing dependency on Objectify.
- Doco can now translate Ref<?> fields using @DocumentRef annotation.
- Supporting embedded fields using @DocumentEmbed annotation. This is useful when an entity contains other classes which has fields needing indexing.
Updates
- Doco should not be 'final' so that it can be mocked using Mockito
- Replacing cast to String by String.valueOf(object).
- Adding doco formatter to avoid formatting issues in code review.
New
- Allowing DocumentId to be specified explicitly. Useful for users define id of document (e.g. 'Key' of a datastore entity).
New
- Entities can have both long and Long as field type (same for int, double, float).
- Null GeoPt and Date fields are ignored instead of throwing exception.
- Polymorphic types are handled using @DocumentIndexSubClass annotation (added test for same).
Updates
- Updated app-engine version to be 1.9.5 and java compiler to 1.7 (this should probably be left for cnosumer to decide).
Fixes
- DocumentParser.getSearchNumberField(): NullPointerException
- ObjectParser.getDocumentFieldValue(): java.lang.IllegalArgumentException - if the document does not have exactly one field with the name
New
- To permit more types (Double, Integer, Long, Float and primitive numbers) for NUMBER field
Updates
- Refactoring of the class ObjectParser
New
- Improvement to permit types String, Long or Integer for DocumentId fields
New
- Added annotation @DocumentIndex
- Added exception AnnotationNotFoundException
Fixes
- Java 1.5 compatibility. Changed "String.isEmpty()" to "String.trim().length() < 0"
Updates
- Updated license