Skip to content

v1.6

Compare
Choose a tag to compare
@m-manu m-manu released this 26 May 13:02
· 47 commits to main since this release
  • [Enhancement] AbstractHBDAO class now implements Closeable interface. You can now use your DAO classes in try-with-resources statement (and not worry about closing the underlying connection).
  • [Enhancement] @HBTable annotation now takes column families and max number of versions. As an implication:
    • Introduced AbstractHBDAO::getColumnFamiliesAndVersions method. Deprecated AbstractHBDAO::getColumnFamilies method.
    • Column family names used in @HBColumn annotation now must be pre-declared in @HBTable
  • [Fix] In earlier versions, some methods of DAO class used to take rowkey input as a String, even when rowkey was declared as some other type (e.g. Long or custom class) in your bean-like entity class. This has now been fixed.
  • [Improvement] Encapsulated serialization and deserialization exceptions thrown by methods of Codec (be it the default codec or your own) into a CodecException
  • [Improvement] The default codec class (BestSuitCodec) has been supporting a flag "serializeAsString" (since v1.5). This String flag has now been made into a constant BestSuitCodec.SERIALISE_AS_STRING (to avoid spelling errors)
  • [Improvement] Upgraded underlying libraries
    • Jackson from 2.4 to 2.8
    • Lombok from 1.14 to 1.16, junit from 4.11 to 4.12 (These affect test cases only)
    • etc.
  • [Improvement] Improved test cases (Coverage = 85%). Improved Javadoc.