Fork me on GitHub

Owner 1.0.9 Released

v1.0.9 contains following enhancements and bug fixes.

Enhancements

  • Added fill(java.util.Map) method to the Accessible interface.
  • Added pre-processing feature. See #120, thanks @a1730 for the feedback.

Site Enhancements

  • None.

Bugs fixes

  • Config.Sources with ~ doesn't create a valid URI on Windows. See #123, thanks @outofrange for spotting this bug.

Downloadable artifacts are published on GitHub and on Maven Central Repository.

Owner 1.0.8 Released

Release 1.0.7 failed deployment in Maven Central Repository

Some required pom was skipped, and if you try to use it as dependency in your project, it may raise some maven error or other issues. So here the hotfix: 1.0.8 is out!

v1.0.8 contains following enhancements and bug fixes.

Enhancements

  • Fixed the javadocs included in the tarballs/zips released.

Site Enhancements

  • None.

Bugs fixes

  • No owner-parent pom in Maven Central Repository. See #121, thanks @rajatvig for quickly spotting the issue.

Downloadable artifacts are published on GitHub and on Maven Central Repository.

Owner 1.0.7 Released

Release 1.0.7 failed deployment in Maven Central Repository

Some required pom was skipped, and if you try to use it as dependency in your project, it may raise some maven error or other issues. So, avoid using 1.0.7 and jump to 1.0.8!

v1.0.7 contains following enhancements and bug fixes.

Enhancements

Site Enhancements

  • None.

Bugs fixes

  • Fixed packaging: the owner-extras.jar was missing required classes. See #114. Thanks @ksaritek for the patience.

Downloadable artifacts are published on GitHub and on Maven Central Repository.

Owner 1.0.6 Released

v1.0.6 contains following enhancements and bug fixes.

Enhancements

  • Added basic support for ZooKeeper #81. Thanks @ksaritek.
  • Added Java 8 Support (default and static methods on interfaces). See #94.
  • Added OSGi support. See #101.

Site Enhancements

  • Fixed documentation errors. See #88, #89, #92. Thanks @hemus2121.
  • Minor changes in build.xml (ant publishing script to gh-pages)

Bugs fixes

  • Use of default value for for properties using the Key Expansion mechanism #84.

Downloadable artifacts are published on GitHub and on Maven Central Repository.

Owner 1.0.5.1 Released

v1.0.5.1 contains following enhancements and bug fixes.

Enhancements

  • Java8 fixes, so now it is officially supported.
  • Added UTF-8 Support for properties files. (See #77 and #78, thanks @SvetaNesterenko )
  • Added ConfigCache (Singleton) feature. (See #64)
  • Improved support for Android. Somebody wants to verify/help with this? (See #75)
  • Implemented variable expansion for @Key annotation. (See #63)
  • Restructured maven project to allow sub-modules.

Site Enhancements

  • Dyndns dropped free service, so updated links for Sonar, from sheldon.dyndns.tv -> dev.aeonbits.org
  • Documentation website minor style/layout, updates and improvements.
  • Added SlideShare presentation in home page.
  • Added Coveralls. (See #59)

Bugs fixes

  • Code cleanup, removed warnings.
  • Fixed compatibility issue on exception raised by Java7 and Java6. (See #71)

Downloadable artifacts are published on GitHub and on Maven Central Repository.

Owner 1.0.5 Released

v1.0.5 contains following enhancements and bug fixes.

Enhancements

  • Support for XML. OWNER is now able to load not only from properties files, but also from XML files. The XML can follow the Java XML Properties format, or can be freely defined by the user.
    (See more in the documentation: XML support and see #5).
  • Added method registerLoader() to ConfigFactory, so the user can define new loaders for more file formats.
    (See #55).
  • Support for classpath: URLs in HotReload. Also it works with the default files associated to the mapping interface, when @Sources is not specified.
  • Added method Set<String> propertyNames() in the Accessible interface.
    (See #46).
  • Added Event support for property changes and reload. Both the events can now be transactional: the listener can be notified by an event before and after a property change or a reload takes place. The listener can check what is changed and eventually rollback the reload or property change operation.
    (See more in the documentation: Event support and see #47).
  • Added non-static ConfigFactory, so one can create independent instances of OWNER Factory objects.
    (See #43).
  • Added implementation on hashCode() and equals().
  • Added serialization capability to OWNER Config objects, so now they can be transferred through the network or transformed to byte streams.
    (See #54).
  • Allow @ConverterClass annotation to override default converters (i.e. primitive types, etc).
  • The interfaces Reloadable, Mutable and Accessible now extend from Config, so you don't need anymore to extend directly from Config. For instance, your interface can now extend just from Mutable to generate an object which is also a valid Config object that can be instantiated by the ConfigFactory:

    config-hierarchy

Site Enhancements

  • Website sources reorganized: moved from gh-pages branch to master, with publish ant scripts build.xml.
  • Added news section, with release announcements and blog posts.

Bugs fixes

  • Fixed bugs on tests that were making the build failing on Windows systems.
  • Fixed bug #51, variables expansion, and path expansion not working properly with string containing the backslash characters '\'.
    Thanks NiXXeD.
  • Fixed bug #42, regarding the incompatibility of the OWNER library with the Google App Engine security restrictions.

Downloadable artifacts are published on Maven Central Repository.

Owner 1.0.4.1 Released

v1.0.4.1 is a bug fix release for v1.0.4 branch.

Bugs fixes

  • Fixed some multi-threaded tests that were failing sometimes randomly during continuous integration.
  • Fixed bug #50, regarding hot reload not working when file name needs to be expanded.

Owner 1.0.4 Released

v1.0.4 contains some key enhancements and bug fixes.

Enhancements

Site Enhancements

  • New website for documentation.
  • Added sonar to keep high attention on code quality.
  • Added Travis CI to the project to track changes and run tests on different JDK versions.
  • Website code snippets now have syntax highlighting. Thanks ming13.

Bugs fixes

  • Fixed bug #40 about tilde expansion.
  • Fixed bug #17 Substitution and format not working as expected when used together.

Owner 1.0.3 Released

v1.0.3 contains some key enhancements and bug fixes:

  • Fixed incompatibility with JRE 6 (project was compiled using JDK 7 and in some places I was catching ReflectiveOperationException that has been introduced in JDK 7).
  • Minor code cleanup/optimization.

See what's new and what's new part 2 articles for more information on this release.

Owner 1.0.2 Released

v1.0.2 contains some key enhancements and bug fixes:

  • Changed package name from owner to org.aeonbits.owner. Sorry to break backward compatibility, but this has been necessary in order to publish the artifact on Maven Central Repository.
  • Custom & special return types.
  • Properties variables expansion.
  • Added possibility to specify Properties to import with the method ConfigFactory.create().
  • Added list() methods to aide debugging. User can specify these methods in his properties mapping interfaces.
  • Improved the documentation (this big file that you are reading), and Javadocs.

See what's new and what's new part 2 articles (most of them applies to 1.0.3 and 1.0.2 as well) for more information on this release.