Skip to content
This repository has been archived by the owner on Jul 18, 2021. It is now read-only.

Releases: lobodpav/node-app-config

Stable enough to be called version 1.0.0

17 Jun 11:49
Compare
Choose a tag to compare
  • Replaced deprecated fs.existsSync() call by fs.accessSync(). fs.existsSync() was deprecated since Node.js v1.0.0.
  • Updated mocha and should dependencies
  • Proven stable enough to be finally called version 1.0.0

More unit tests

17 Jun 11:53
Compare
Choose a tag to compare
  • Fixed devDependencies in package.json to contain version numbers
  • Added unit test for app-config reload feature in 0.1.2

Improved unit testability

17 Jun 11:52
Compare
Choose a tag to compare
  • Configuration files are now reloaded if app-config module is deleted from require.cache and then required again. This is useful for unit tests when need to reload the config files after making any changes to config object.
  • Replaced Node's assert module in unit tests by should

Error and warning printing

17 Jun 11:51
Compare
Choose a tag to compare
  • Always print an error when terminating the app due to a critical error
  • Print a warning if the configuration directory is empty

Initial release

17 Jun 11:50
Compare
Choose a tag to compare

Initial release with support for dynamic configuration loading