Releases: node-config/node-config
Releases · node-config/node-config
v4.1.0
This is a Draft release! Don't panic.
Breaking Changes
Several bugs were fixed that a user code might theoretically rely on, but most likely not:
- Config.getSources() no longer contains files read by parseFile outside of the load process
- when
setModuleDefaults('modulename', ...)
is called twice, the second call can overwrite values from the first - Config.getSources() now agrees with
setModuleDefaults
, no matter how often it is called
What's Changed
Bugs fixed:
v4.0.1
This release finalizes some work to extract 'util' functionality from lib/config.js into lib/util.js.
Breaking Changes
None known
What's Changed
- Finished extraction of util functions to lib/util.js
- Documentation of how to utilize this code for testing, or to drive
setModuleDefaults()
v4.0.0
This release adds support for .jsonc and .mjs files. Note that MJS support requires Node 24 or recent patch releases of 20 or 22.
Breaking Changes
- removes the unused
stripComments()
function - removes deprecated support for loading runtime.[ext] files.
- changes the load order of APP_INSTANCE files to match other file sets
What's Changed
- ci: add unit tests to PR CI by @jeremy-daley-kr in #776
- fix: bypass Proxy for RegExp and Date objects by @jeremy-daley-kr in #775
- fix: add runs-on to pr ci tests by @jeremy-daley-kr in #778
- feat: add
get
trap to Proxy for agnostic prototype access by @daleyjem in #779 - Fix GH-746 - Loading config files order with APP_INSTANCE by @sgaestel in #747
- Add nyc for code coverage by @jdmarshall in #788
- Remove all references to runtime.json and runtime config by @ZachFontenot in #782
- Fix over-recursion in async and deferred processing by @jdmarshall in #792
- Replace arguments fiddling with spread operator. by @jdmarshall in #791
- drop stripComments - dead code by @markstos in #794
- Add mjs support by @jdmarshall in #800
- Fix for empty entries in NODE_CONFIG_DIR by @jdmarshall in #798
- Add support for jsonc file extension by @rerodrigues in #802
New Contributors
- @jeremy-daley-kr made their first contribution in #776
- @daleyjem made their first contribution in #779
- @sgaestel made their first contribution in #747
- @ZachFontenot made their first contribution in #782
- @rerodrigues made their first contribution in #802
Full Changelog: v3.3.12...v4.0.0
v3.3.12
What's Changed
- Remove usage of deprecated utils to fix warnings in Node 22 by @KidkArolis in #764
New Contributors
- @KidkArolis made their first contribution in #764
Full Changelog: v3.3.11...v3.3.12
v3.3.11
What's Changed
- fix: webpack bundling compatibility by @cbazureau in #757
New Contributors
- @cbazureau made their first contribution in #757
Full Changelog: v3.3.10...v3.3.11
v3.3.10
What's Changed
- replace var to let and const by @jamashita in #720
- refactor: 💡 xxx === undefined => typeof xxx === 'undefined' by @jamashita in #729
- Fix source maps when using ts config files, improve performance loading ts config files by @andrzej-woof in #721
- fix: lack of comments removal, invalid regexp by @DeutscherDude in #745
New Contributors
- @jamashita made their first contribution in #720
- @andrzej-woof made their first contribution in #721
- @DeutscherDude made their first contribution in #745
Full Changelog: v3.3.9...v3.3.10
v3.3.9
What's Changed
- Support loading transpiled JS config files by @Tomas2D in #692
- fix(vulnerability): upgrade json5 version from 2.2.1 to 2.2.2 by @veekays in #713
New Contributors
Full Changelog: v3.3.8...v3.3.9
v3.3.8
What's Changed
- bump json5 dep to 2.2.1
- Cleanup of file scoped environment variables by @jdmarshall in #667
- Allow multiple relative directory paths separated by path.delimiter to work by @inside in #661
- Reentrancy bugs by @jdmarshall in #668
- Fixed property mutation. Throw an exception on such an attempt. Updat… by @fgheorghe in #516
- docs: update copyright & fix misspelling by @DigitalGreyHat in #677
New Contributors
- @jdmarshall made their first contribution in #667
- @inside made their first contribution in #661
- @DigitalGreyHat made their first contribution in #677
Full Changelog: v3.3.7...v3.3.8
v3.3.7
v3.3.6
- Added publishConfig element to package.json to prevent publishing to the wrong repository - @lorenwest