What's Changed
- new callback mechanism for handling deferred and async configuration evaluation
- ./async.js and ./defer.js are now deprecated
New Async and Deferred mechanism
Instead of using async.js and defer.js, your executable config files can return a synchronous or asynchronous function. Note that if you use async deferred functions through the new mechanism, you need to call Util.resolveAsyncConfig() instead of the old version.
Util.resolveAsyncConfig() also fixes an issue where using defer in an array did not function properly #876
The old implementation has been marked as deprecated and will be removed in order to facilitate migrating node-config to ESM.
Full Changelog: v4.2.1...v4.3.0