Skip to content

Releases: node-config/node-config

v4.1.0

23 Jul 21:14
Compare
Choose a tag to compare

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:

  • #687 - you can now have deferConfig lines in submodules
  • #822 - setModuleDefaults calls are now additive (slightly higher memory usage for defaults as a consequence)
  • #827 - more accurate tracking of sources

v4.0.1

15 Jul 19:37
e3c6db8
Compare
Choose a tag to compare

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

14 May 21:37
50bde6b
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v3.3.12...v4.0.0

v3.3.12

25 Jun 14:08
Compare
Choose a tag to compare

What's Changed

  • Remove usage of deprecated utils to fix warnings in Node 22 by @KidkArolis in #764

New Contributors

Full Changelog: v3.3.11...v3.3.12

v3.3.11

31 Jan 17:39
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.3.10...v3.3.11

v3.3.10

09 Jan 20:20
Compare
Choose a tag to compare

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

Full Changelog: v3.3.9...v3.3.10

v3.3.9

17 Jan 15:56
Compare
Choose a tag to compare

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

09 Sep 14:14
Compare
Choose a tag to compare

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

Full Changelog: v3.3.7...v3.3.8

v3.3.7

11 Jan 18:36
98f2fc9
Compare
Choose a tag to compare
  • No code changes. Resolving versioning / release mix-up

v3.3.6

03 Nov 16:56
Compare
Choose a tag to compare
  • Added publishConfig element to package.json to prevent publishing to the wrong repository - @lorenwest