| 1 | --- |
| 2 | layout: news_item |
| 3 | title: "Owner 1.0.5 Released" |
| 4 | date: "2013-10-09 16:25:00 +0200" |
| 5 | author: lviggiano |
| 6 | version: 1.0.5 |
| 7 | categories: [release] |
| 8 | --- |
| 9 | |
| 10 | v1.0.5 contains following enhancements and bug fixes. |
| 11 | |
| 12 | Enhancements |
| 13 | ------------ |
| 14 | |
| 15 | * [Support for XML]({{site.url}}/docs/xml-support/). |
| 16 | OWNER is now able to load not only from properties files, but also from XML files. The XML |
| 17 | can follow the [Java XML Properties format](http://docs.oracle.com/javase/7/docs/api/java/util/Properties.html), |
| 18 | or can be freely defined by the user.<br/> |
| 19 | (See more in the documentation: [XML support]({{site.url}}/docs/xml-support/) and see |
| 20 | [#5](https://github.com/lviggiano/owner/issues/5)). |
| 21 | * Added method `registerLoader()` to `ConfigFactory`, so the user can define new loaders for more file formats.<br/> |
| 22 | (See [#55](https://github.com/lviggiano/owner/issues/55)). |
| 23 | * Support for `classpath:` URLs in HotReload. Also it works with the default files associated to the mapping |
| 24 | interface, when `@Sources` is not specified. |
| 25 | * Added method `Set<String> propertyNames()` in the `Accessible` interface.<br/> |
| 26 | (See [#46](https://github.com/lviggiano/owner/issues/46)). |
| 27 | * Added [Event support]({{site.url}}/docs/event-support/) for property changes and reload. |
| 28 | Both the events can now be transactional: the listener can be notified by an event before and after a property change |
| 29 | or a reload takes place. The listener can check what is changed and eventually rollback the reload or property change |
| 30 | operation.<br/> |
| 31 | (See more in the documentation: [Event support]({{site.url}}/docs/event-support/) and see |
| 32 | [#47](https://github.com/lviggiano/owner/issues/47)). |
| 33 | * Added non-static `ConfigFactory`, so one can create independent instances of OWNER `Factory` objects.<br/> |
| 34 | (See [#43](https://github.com/lviggiano/owner/issues/43)). |
| 35 | * Added implementation on `hashCode()` and `equals()`. |
| 36 | * Added serialization capability to OWNER `Config` objects, so now they can be transferred through the network or |
| 37 | transformed to byte streams. <br/> |
| 38 | (See [#54](https://github.com/lviggiano/owner/issues/54)). |
| 39 | * Allow `@ConverterClass` annotation to override default converters (i.e. primitive types, etc). |
| 40 | * The interfaces `Reloadable`, `Mutable` and `Accessible` now extend from `Config`, so you don't need anymore to extend |
| 41 | directly from Config. For instance, your interface can now extend just from Mutable to generate an object which is |
| 42 | also a valid `Config` object that can be instantiated by the `ConfigFactory`:<br/><br/> |
| 43 |  |
| 44 | |
| 45 | |
| 46 | Site Enhancements |
| 47 | ----------------- |
| 48 | * Website sources reorganized: moved from `gh-pages` branch to `master`, with publish ant scripts `build.xml`. |
| 49 | * Added news section, with release announcements and blog posts. |
| 50 | |
| 51 | Bugs fixes |
| 52 | ---------- |
| 53 | |
| 54 | * Fixed bugs on tests that were making the build failing on Windows systems. |
| 55 | * Fixed bug [#51](https://github.com/lviggiano/owner/pull/51), variables expansion, and path expansion not working |
| 56 | properly with string containing the backslash characters `'\'`. <br/> |
| 57 | Thanks [NiXXeD](https://github.com/NiXXeD). |
| 58 | * Fixed bug [#42](https://github.com/lviggiano/owner/issues/42), regarding the incompatibility of the OWNER |
| 59 | library with the Google App Engine security restrictions. |
| 60 | |
| 61 | Downloadable artifacts are published on |
| 62 | [Maven Central Repository](http://repo1.maven.org/maven2/org/aeonbits/owner/owner/1.0.5/). |