Skip to content

Releases: yunnysunny/config-settings

2.3.1

01 Feb 12:56

Choose a tag to compare

Fix

  1. Fix the error when consul return empty data.

Add

29 Jan 16:43

Choose a tag to compare

Add
  1. Add parameter timeout4RequestConsulMs retryLimit to class ConsulConfigSync.
  2. Add parameter waitTimeBeforeThrowErrorMs to class AbstractConfig.
  3. Add method getAllConfig to class AbstractConfig.

Add

28 Jan 13:25

Choose a tag to compare

Add
  1. Add class ConsulConfigSync to load config in synchronized way.

v2.1.0

08 Dec 04:29

Choose a tag to compare

Improve

  1. Call loadNecessaryString in loadNecessaryFile.
  2. Print the given key's value to console.

Fix

01 Dec 12:09

Choose a tag to compare

Fix

Fix the broken of allLoaded of AbstractConfig.

Fix

30 Nov 18:13

Choose a tag to compare

Fix

Fix the logical of loadNecessaryObject of ConsulConfig.

Fix

30 Nov 13:09

Choose a tag to compare

Fix

Fix the name spelling of the property of ConsulConfig

Breaking Changes

30 Nov 12:06

Choose a tag to compare

  1. Use new api.

Add

  1. Add support for consul.

v1.0.0

08 Apr 10:50

Choose a tag to compare

Breaking Changes

  1. Remove the function of setAlarm, it doesn't send alarm message when using wrong configuration item, throw an Error instead.

Improve

13 Jan 10:51

Choose a tag to compare

  1. Bump node-slogger to 2.0.0.