- NODE_CONFIG_DIR can now contain a relative path for .js and .coffee configurations
- Updated copyright year
- Assure writes to runtime.json are atomic
- Don't freak out if running without a config directory
- Don't be so chatty if runtime.json doesn't exist
- Changed getConfigSources to copy array vs. object
- More consistent array extension
- No longer requiring a config directory
- Not erroneously writing runtime.json
- Exposing the original configuration sources
- Added --NODE_CONFIG={json} command line overrides
- Added $NODE_CONFIG={json} environment variable overrides
- Consistent handling of environment variables and command line parameters
- Reached 100 regression tests
- Added flag for disabling the write of runtime.json
- Eliminated a totally annoying install warning in newer versions of NPM
- Fixed a bug preventing double underscores in config environment variables
- Re-watch file on rename (allows editing runtime.json with vi)
- Allow runtime.json file watch disable via NODE_CONFIG_DISABLE_FILE_WATCH=Y
- Change no yaml parser error message to suggest using js-yaml
- Changed default clone depth from 6 to 20 to allow for deeper configurations
- Dont fail if config directory doesnt exist
- Added resetRuntime() to reset the runtime.json file
- Updated docs to reflect the new public method
- Multiple application instance support via $NODE_APP_INSTANCE
- Multi-app testing & documentation
- Added configuration $CONFIG_* environment variables
- Added $CONFIG_* documentation and tests
- Added NodeJS 0.10 integration test
- Triggering file.watch when an editor saves a file - rename vs. change
- Installed Travis-CI continuous integration testing framework
- Merged _diffDeep fix
- Added discovery of .yml in addition to .yaml for YAML configs (w/doc)
- Added testing of .yml file discovery
- Removed licensing inconsistencies
- Moved coffee-script and js-yaml from optionalDependencies back to devDependencies to trim the install size for those not needing these packages.
- Promoted $HOSTNAME and $HOST above OS.hostname()
- Allow the location of runtime.json to be picked up from the environment
- Added documentation for the NODE_CONFIG_RUNTIME_JSON environment variable
- package.json cleanup - created optionalDependencies and devDependencies
- Allowing a zero interval in watchForConfigFileChanges() to disable file watching.
- Fixed a comparator bug in _equalsDeep()
- Added a test to confirm deep extending array functionality
- Placed YAML and Coffee-Script libraries back into the download. Still lazy loading into memory.
- Added the local.EXT and local-deployment.EXT configs.
- Removed unnecessary debug output
- Added retry logic on file parse to reduce read/write collisions
- Added support for a better YAML parser
- Fixed problems with null configuration values
- Assuring the runtime.json file exists. Undocumented fs.watch() requirement.
- Removed all external dependencies
- Lazy loading of yaml and coffee-script only if these file types are used
- Added new style file watching if available (retaining pre 6.0 compatibility)
- Windows compatibility - file watching changes were required
- Automatically watching runtime.json for changes
- Fixed a date comparison bug during file watching
- Changed require('sys') to require('util')
- Made sure the CONFIG object is a shared singleton
- Added NODE_CONFIG_DIR environment variable to point to a different directory
- Added tests and documentation for the above
- Added coffee-script file type support with extension .coffee
- Added an example coffee-script configuration file
- Added coffee-script module dependency
- Added a test for coffee-script configuration files
- Documented coffee-script support, regenerated documentation
- Fixed a bug where changes to module default configs weren't persisted
- Added a test to validate the bugfix
- Created the makeHidden method to hide a property of an object
- Added a value argument to makeImmutable for creating new properties
- Fixed setModuleDefaults to hide injected prototype methods
- Added documentation and unit tests
- Updated vows from 0.5.8 to 0.5.13
- Updated YAML dependency from "0.1.x" to ">=0.2.2"
- Added stripping of comment-only and whitespace-only lines in YAML files for backward compatibility
- Added more tests for YAML edge cases
- Added a homepage link in package.json to the online documentation
- Added History.md
- Removed deprecated modules from package.json
- Made watchForConfigFileChanges public
- Added comment stripping from JSON configuration files
- Added more tests
- Return the module config in setModuleDefaults
-
Update to version 0.4.0
- Online documentation
- Runtime configuration changes
- Configuration value watching
- Multi-instance node deployments
- Better module developer support