- Class `ConfigServer` now it's `ConfigClient`; - On `url` property all extensions format will be converted to `.json`; - `requests` library removed from dependencies.
**issues resolved**
- [Python Client (config-client 0.3.1) to get yml configuration from Spring Boot config-server](https://github.com/amenezes/config-client/issues/14) - added log messages; - rewritten error and log messages to be clearer.
0.3.1
**changelog**
- `config_client` decorator now support parameters.
python from config import spring
spring.config_client(app_name='myapp', branch='dev') def test_config(co=None): return co
c = test_config() c.config c.url
0.3.0
**changelog**
- Now the remote configuration call will happen just on `get_config()` method. python from config.spring import ConfigServer
c = ConfigServer(app_name='myapp') no remote call here c.get_config() remote call here
- Internal adjusts.
0.2.1
**changelog**
- `ConfigServer` now is a singleton. - decorator `config_client` available.
`python with decorator from config import spring
spring.config_client def test_method(my_config=None): print(f'Config injected via decorator: {type(my_config)}') print(my_config.config) `
or
`python without decorator from config import spring