Debian Codegraph @

owner-site/site/_posts/2018-03-01-owner-1-0-10-released.md

raw symbols SCIP
1 ---
2 layout: news_item
3 title: "Owner 1.0.10 Released"
4 date: "2018-03-01 13:05:00 +0200"
5 author: lviggiano
6 version: 1.0.10
7 categories: [release]
8 ---
9
10 After long time (more than 2 years now), and many people asking for a new release, here we are.
11 And here my apologies for the delay.
12
13 As you may know, I had serious health problems that kept me away from coding. Now my health is getting better, but I
14 feel much slower in coding and using awesome tools like IntelliJ IDEA; in the meantime, my open source license has
15 expired, so I hope the guys from JetBrains will be so nice to renew it :).
16
17 Also, I always found the maven release process being cumbersome so that also kept me away from the effort.
18 Now I took some time to simply it a little bit, and I kept some note for the future.
19
20 In this release, a huge amount of work has been conducted by contributors, and I mostly did housekeeping with
21 refactoring, code review, enforcing quality standards, asking for documentation and tests, and integrating the great
22 ideas coming from the users' community.
23
24 I took back the project recently to upgrade it to have Java 9 support, and simplify release deployment, and only now
25 that I am writing this release note, I realize how many things have been added and was waiting to be released.
26
27 Documentation is very important; I hadn't had the chance to keep all in sync, so many things here need to be
28 documented. If you think you can help, feel free to help: this website is a sub-project
29 [`owner-site`](https://github.com/lviggiano/owner/tree/master/owner-site), and uses Markdown language, which is very
30 handy and quick to learn; the structure is quite easy to follow.
31 [Jekyll](https://jekyllrb.com/) is used as site generator, which is written in Ruby and can be tricky for a Java dev
32 like me, but it works awesomely with github. So feel free to help there too.
33 There is also an [ant script](https://github.com/lviggiano/owner/blob/master/owner-site/build.xml) which allows
34 you to launch Jekyll and live-preview the end result of your edits.
35
36 I don't feel very comfortable in making promises, but I'd really like to give back life to this project and, for the
37 future, avoid such a long wait for a release.
38
39 Please notice that at the moment I am not professionally working, I closed my consultancy company years back, and
40 in this moment I am writing from a nice [Coworking Space "ImpactHub" here in Torino](https://torino.impacthub.net/).
41 So, let me quickly say that [donations are very welcome](https://github.com/lviggiano/owner/#donations).
42 Or if you want, you can hire me for some custom development on OWNER, training, or to help implementing your
43 projects.
44 This would definitely help keeping OWNER alive.
45
46 Credits to ALL the contributors of OWNER, and to the end-users of this neat library.
47 To you all it goes my gratitude for this release.
48
49 **Thank you!**
50
51 --Luigi.
52
53
54 ***
55
56
57 RELEASE NOTES
58 =============
59
60 OWNER v1.0.10 contains following enhancements and bug fixes.
61
62 Enhancements
63 ------------
64 * Added Java 9 support, dropped Java 6 support. All code and tests are running and built with Java 9, so you can use
65 OWNER with the latest Java version. It was not trivial. If you want to use some specific feature like default
66 methods in interfaces introduced in Java8, you still need to add `owner-java8` dependency. I know... I didn't want to
67 create a new sub-module for Java 9 and every newer versions, if it's not necessary.
68 Also, I updated all the dependencies (testing, and optional) and Maven plugins, in order to have it working
69 with Java 9.
70 A huge thank you to my friend [@sbordet](https://github.com/sbordet).
71 * Added `list()` method to `ConfigCache`. ConfigCache is a great way to centralise configuration for various
72 parts of an application. This commit adds a list() method to the ConfigCache class, which lists the keys for all
73 configurations present in the cache. This allows the entire application configuration to be inspected (e.g. for
74 debugging) without the need for storing cache keys elsewhere. Thanks
75 [@kevin-canadian](https://github.com/kevin-canadian), who also was so nice to update the documentation on the
76 website.
77 * Added `@EncryptedValue` and `@DecryptorClass` annotations to allow hiding passwords stored in configuration
78 properties. See [#49](https://github.com/lviggiano/owner/issues/49), thanks [@rrialq](https://github.com/rrialq)
79 for the implementation and the awesome documentation.
80 * Added a Java 8 duration converter class: `DurationConverter.class` in `owner-java8-extras.jar` .
81 Thanks [@StFS](https://github.com/StFS).
82 * Added system properties and enviroment variable as sources: example `@Sources({"system:properties", "system:env"})`.
83 See [#110](https://github.com/lviggiano/owner/issues/110). Thanks [@gintau](https://github.com/gintau) for the
84 implementation and [@kevin-canadian](https://github.com/kevin-canadian) for the idea.
85 * Added `ByteSizeConverter` and `DurationConverter` classes in `owner-java8-extras` jar, see
86 [#155](https://github.com/lviggiano/owner/issues/155). Thanks [@StFS](https://github.com/StFS), also for providing
87 the [necessary documentation](http://owner.aeonbits.org/docs/type-conversion/#byte-size) and unit tests.
88 * Added the ability to register default converters for types and classes defined by users.
89 See [#184](https://github.com/lviggiano/owner/issues/184).
90 Thanks [@StFS](https://github.com/StFS).
91 * Added inheritance support for `@Sources`, `@LoadPolicy` and `@HotReload`.
92 Sources defined for all extended interfaces will be merged.
93 LoadPolicy and HotReload can be inherited and override by the extended interface.
94 Thanks [@chengmingwang](https://github.com/chengmingwang).
95
96 Bugs fixes
97 ----------
98 * Replaced `fixBackslashForRegex` with better implementation. Thanks [@kiefinger](https://github.com/kiefinger).
99 * Have `ConfigFactory` throw an exception on imported Maps having either null keys or null values.
100 See [#185](https://github.com/lviggiano/owner/pull/185), [#184](https://github.com/lviggiano/owner/pull/184).
101 Thanks [@StFS](https://github.com/StFS).
102 * Accept file URI containing spaces. Updated the uri processing to allow loading files that contain spaces in
103 their paths.
104 See [#134](https://github.com/lviggiano/owner/issues/134). Thanks [@icirellik](https://github.com/icirellik).
105 * Maps with null values cause an unclear exception. See [#184](https://github.com/lviggiano/owner/issues/184).
106 Thanks [@StFS](https://github.com/StFS).
107 * Set tar long file mode to posix in maven assembly plugin to avoid build errors.
108 Thanks [@gdenning](https://github.com/gdenning).
109
110
111 Site Enhancements
112 -----------------
113 * Added [Crypto support](http://owner.aeonbits.org/docs/crypto/) documentation page.
114 * Added [ByteSize Converter](http://owner.aeonbits.org/docs/type-conversion/#byte-size) converter and
115 [Duration Converter](http://owner.aeonbits.org/docs/type-conversion/#duration) documentation section.
116 Thanks [@StFS](https://github.com/StFS).
117 * Chinese documentation has been contributed by [@cyfonly](https://github.com/cyfonly) and is available
118 [here](https://github.com/cyfonly/owner-doc). Sorry, I cannot check that everything is correct or update that! :-)
119 See [#172](https://github.com/lviggiano/owner/issues/172).
120 * Added security/stability badges by [Meterian](https://www.meterian.com/).
121 Thanks [@fdiotalevi](https://github.com/fdiotalevi), [@bbossola](https://github.com/bbossola)
122
123 Downloadable artifacts are published on [GitHub](https://github.com/lviggiano/owner/releases/tag/owner-1.0.10) and
124 on [Maven Central Repository](http://repo1.maven.org/maven2/org/aeonbits/owner/owner-assembly/1.0.10/).
125
126