Commit Graph

154 Commits

Author SHA1 Message Date
iamtodor
fd9be4a4f9 add Dconfig.resource clarification 2022-03-30 22:59:32 +02:00
iamtodor
fad9affc97 add note with clarification how to pass -Dconfig properly; taken from https://github.com/lightbend/config/issues/84 and https://stackoverflow.com/a/31305181/5151861 2022-03-30 22:07:59 +02:00
Arnout Engelen
15ab2f0c27
Release 1.4.2 2022-02-01 16:27:32 +01:00
Enno Runne
80725b89ea
CI: test on JDK 8 and 11 (#757) 2022-01-27 17:01:15 +01:00
y
6aa24bb481
add new erlang port to readme (#722) 2022-01-27 12:23:37 +01:00
Sam Sam
c40cbaef97
Added hoplite to Kotlin wrappers 2021-12-12 14:36:21 -06:00
Siu Leung Chan
f92a4ee2f6
Update repo path for Ficus (#694)
Update the repo path as it is adopted by iHeartRadio
2020-12-10 15:23:50 +01:00
Andrea Peruffo
ee92d7f4c2
Release notes for 1.4.1 (#716)
* Release 1.4.1

* minor release notes updates

* minor rephrasing
2020-10-23 00:13:34 +01:00
Andrea Peruffo
f3650a3e51 Improve set array values section 2020-10-02 16:35:47 +01:00
Ignasi Marimon-Clos
c87f9f945c
Use the correct name (#710)
- also fixed capitalization

Co-Authored-By: Sebastian Alfers <sebastian.alfers@lightbend.com>
2020-10-01 17:09:28 +02:00
Ignasi Marimon-Clos
8648e07976
Introduce docs for arrays on env vars (#706)
* Introduce array support from java arguments
2020-10-01 16:15:32 +02:00
Gürkan Kaymak
3e6f6bbf1d
added go port to the README 2020-03-28 21:35:27 +03:00
Evgeniy Roldukhin
ae846e2cab Fixed 501 error for the maven central link, using of https 2020-02-03 13:06:50 +03:00
Johan Andrén
e3ec7d3490
Release 1.4.0 (#655) 2019-10-14 10:53:41 +02:00
James Roper
ab890103dd Allow application.conf to override variables in reference.conf (#619)
* Allow application.conf to override variables in reference.conf

Fixes #167

This only affects the output of `ConfigFactory.load`. It does not change
`ConfigFactory.defaultReference`. This uses the unresolved
`reference.conf` in the building of configuration in
`ConfigFactory.load`, effectively allowing `application.conf` properties
to override variable substitutions in `reference.conf`.

However, it still requires `reference.conf` to be fully resolvable, if
it isn't, an exception will be thrown. So two resolves are still done
during load, it's just that the output of the resolve of
`reference.conf` isn't used in building the final configuration. The
documentation has been updated to reflect this behavior.

The reasoning behind this change can be read about in #167, but
essentially, it is not uncommon for configuration properties to depend
on each other by default, a good example of this is directory
hierarchies, where you might have a configuration option for a base
directory, and then a configuration for the log directory that by
default is under the base directory, and within that a configuration for
individual log files which by default are under the log directory.
Without allowing variable substitutions in `reference.conf` from
`application.conf`, there is no point in defining a configuration option
for the base directory since changing it won't have any impact, and each
path defined that depends on it will have to be manually overridden.
This limitation is contrary to convention over configuration best
practices, and hence not desirable in a configuration library.

* Renamed public method to defaultReferenceUnresolved

Also added the methods to ConfigFactory, as requested in code review.
2019-08-20 15:02:50 +02:00
Havoc Pennington
8fc33c856d Note in README that substitutions don’t work inside quotes (#634)
* Note in README that substitutions don’t work inside quotes

There’s more on this in HOCON.md but can’t hurt to repeat, people do miss it.
2019-05-23 14:11:21 +03:00
Martynas Mickevičius
46daf99ac4
Update README to include sconfig supported platforms (#635)
Update README to include sconfig supported platforms
2019-05-23 13:32:54 +03:00
Havoc Pennington
a4cd739bc1
Fix spelling typo in readme 2019-05-23 06:14:00 -04:00
Eric Richardson
83ebfdd870 Update README to include sconfig supported platforms 2019-05-22 11:13:09 -07:00
Martynas Mickevičius
692edecb51
Add release notes for 1.3.4 (#628)
* Add release notes for 1.3.4
2019-04-18 12:29:27 +00:00
Martynas Mickevičius
f40183404b
Merge pull request #625 from aaronp/master
Added reference to args4c for command-line-to-config utils
2019-04-18 11:42:55 +00:00
Havoc Pennington
e24ff57f47
Merge pull request #620 from andreaTP/envConfigLoading
Add a config.strategy to enable overwrite of properties from env vars
2019-04-03 19:27:10 -04:00
Andrea Peruffo
87dc17d55e Move rationale to code and implement invalidate cache 2019-03-21 08:52:42 +00:00
Aaron Pritzlaff
215a23a340 Added reference to args4c for command-line-to-config utils 2019-03-19 17:34:49 +00:00
Andrea Peruffo
4571c79b51 Detail resons for _ sustitutions 2019-03-15 16:40:59 +00:00
Andrea Peruffo
c14bb77acd Added a description of the new property in Readme 2019-03-08 14:53:14 +00:00
François
02d614b96d
add new Rust port to README.md 2019-03-08 08:54:37 +01:00
Eric Richardson
dfb2454bb8 Update Shocon entry 2019-02-14 15:48:15 -05:00
Eric Richardson
d10b76f16e Add new Scala port to README.md 2019-02-14 12:15:09 -05:00
Jakub Kozłowski
d5f9311861
Remove whitespace 2018-11-04 17:02:02 +01:00
Havoc Pennington
59c8bb8de8
Update README.md
Co-Authored-By: kubukoz <kubukoz@gmail.com>
2018-11-04 17:00:15 +01:00
Jakub Kozłowski
7e121b7df9
Add a note about classloader issues to README 2018-11-04 16:46:48 +01:00
k.bigwheel
2b95a52a1b Remove nbsp that breaking Markdown rendering 2018-08-15 04:19:28 +09:00
Konrad `ktoso` Malawski
e436ad96f8
#575 Remove wording about apps having reference.conf 2018-07-31 15:04:41 +09:00
Ash
61af0058ef
Minor correction to the use of config.root().render() under "Debugging Your Configuration"
Looking at the java/scaladoc of ConfigValue.render()  (https://github.com/lightbend/config/blob/master/config/src/main/java/com/typesafe/config/ConfigValue.java#L48-L50)  

and then looking at the implementation of `render()` itself:
https://github.com/lightbend/config/blob/master/config/src/main/java/com/typesafe/config/impl/AbstractConfigValue.java#L364-L374

it appears that `config.root().render()` returns a string that must be printed out, logged etc. Current documentation implies that calling this method will print out the string which seems to be misleading.
2018-07-13 11:31:50 +01:00
av_elier
31805c4544 Add playground link to readme 2018-06-12 23:30:38 +03:00
fabio fumarola
841251c9b4 Update README.md (#545)
update version to 1.3.2
2018-02-21 13:11:56 +09:00
Jonas Fonseca
eeb95825bf Update links to use HTTPS (#526) 2017-11-06 11:28:43 +09:00
Jonas Fonseca
eb7409e110
Add circe-config to list of Scala wrappers 2017-11-05 10:32:59 +01:00
Konrad `ktoso` Malawski
938dbb1158 Update README.md 2017-10-24 18:02:45 +09:00
Konrad `ktoso` Malawski
41a577a0e8 Align maintanance note with other lightbend/ projects 2017-10-24 18:00:53 +09:00
Martynas Mickevičius
8251d2089c Some more link fixes after the rename (#517) 2017-10-23 05:55:02 -05:00
Martynas Mickevičius
d5ba11fbb5 Rename typesafehub to lightbend (#513)
* Migration to lightbend repo

* Second round of the rename cleanup
2017-10-23 05:40:51 -05:00
z i λ a s a l
4fd14f0397 update anchor 2017-10-17 11:18:37 +02:00
z i λ a s a l
689f8cb4a5 Add C# port to Other APIs section 2017-10-17 11:16:34 +02:00
Carlos Rueda
fa44e9f04c add carueda/cfg Scala wrapper 2017-08-07 09:42:04 -07:00
Lunfu Zhong
2952f07c97 Update the link to config-annotation. 2017-06-19 15:17:53 +08:00
Barnabás Oláh
751ae8b1d3 direct link to pureconfig instead of redirect link (#469) 2017-04-27 21:35:24 +09:00
The Alchemist
26b9a66404 Fix hyperlink to checkValid() 2017-04-12 15:41:33 -04:00
Maor
da914846e4 Add JavaScript port 2017-03-18 11:00:36 +02:00