Releases: carueda/tscfg
new `--durations` flag
New --durations
flag to generate java.time.Duration
as base type for duration instead of long
. Thanks @qux42!
new `--java:optionals` option
New --java:optionals
option to generate Optional<T>
for optional fields in java. Thanks @qux42 !
Bug fix release
- String-to-bytes conversion results in compilation error - #40 (thanks @opensorceror)
- Generate default config objects if non-existent - #33 (thanks @JustinPihony). Sorry! it seems the previously published v.0.9.4 didn't actually contain this. Anyway, it is now included in v.0.9.6.
Bug fix release
- Generate default config objects if non-existent #33 - Thanks @JustinPihony !
With option to generate getters for java
The new option is --java:getters
.
See #31
Minor adjustments
fix typo and add some info regarding backticks for scala identifiers
implement #30 and other adjustments
-
resolve #30 "scala: option to use back ticks"
-
Adjustments regarding keys with
$
and quoted strings:- key containing
$
is left alone (even if it's quoted).
This mainly due to Config restrictions on keys involving$
- otherwise, the key is unquoted (if quoted of course)
Although these changes might break backwards compatibility, it should have minimal impact given the expected relative infrequent use of these characters (quoted keys or keys containing
$
). In any case, tscfg is still0.y.z
so changes like these should be expected sometimes (but tscfg has tried to avoid/reduce breaking changes unless for good reasons.) - key containing
internal: use scala 2.12 (but cross compile to 2.11 too) and upgrade some dependencies
0.8.4: internal: use scala 2.12 (but cross compile to 2.11 too) and u… …pgrade some dependencies
generate configuration template
replace deprecated class in Scala generated code
0.8.1 - use JavaConverters (instead of deprecated JavaConversions) in… … generated Scala code. Thanks @zishanbilal.