Skip to content

Update dependency config to v4#4968

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/config-4.x
Open

Update dependency config to v4#4968
renovate[bot] wants to merge 1 commit intomainfrom
renovate/config-4.x

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented May 24, 2025

This PR contains the following updates:

Package Change Age Confidence
config (source) ^3.3.9^4.0.0 age confidence
config (source) ^3.3.1^4.0.0 age confidence
config (source) ^3.3.6^4.0.0 age confidence

Release Notes

node-config/node-config (config)

v4.4.1

Compare Source

What's Changed

  • Fixes for some method signature declarations

Full Changelog: node-config/node-config@v4.4.0...v4.4.1

v4.4.0

Compare Source

What's Changed

  • Typescript types added to project by @​mdkitzman
  • withModuleDefaults() function added to support separate module defaults for multiple versions
  • Rework raw.js to function like the new defer mechanism.
  • ./raw.js is also now deprecated, and will be removed in 5.0

New Contributors

Full Changelog: node-config/node-config@v4.3.0...v4.4.0

v4.3.0

Compare Source

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 implementations have been marked as deprecated and will issue warnings to console.error to indicate use of the old pathways. The old functions are incompatible with ESM loading conventions and will be removed at the beginning of the 5.0 cycle to facilitate conversion of the library to ESM.

Full Changelog: node-config/node-config@v4.2.1...v4.3.0

v4.2.1

Compare Source

What's Changed

Full Changelog: node-config/node-config@v4.2.0...v4.2.1

v4.2.0

Compare Source

What's Changed

Breaking Changes

  • All deprecated functions in config.util have been removed. Please use lib/util for similar functionality
  • Default Yaml parser has changed to a more maintained alternative. Please validate your config files for correct processing, or adjust your package.json to force js-yaml to be used

Full Changelog: node-config/node-config@v4.1.1...v4.2.0

v4.1.1

Compare Source

What's Changed

This release includes only test and devDependency changes

Full Changelog: node-config/node-config@v4.1.0...v4.1.1

v4.1.0

Compare Source

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

Compare Source

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

Compare Source

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: node-config/node-config@v3.3.12...v4.0.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/config-4.x branch from efafcf6 to 8d58fb5 Compare July 31, 2025 11:43
@renovate renovate Bot force-pushed the renovate/config-4.x branch from 8d58fb5 to 92a8c5e Compare August 16, 2025 12:10
@renovate renovate Bot force-pushed the renovate/config-4.x branch from 92a8c5e to 62ba001 Compare November 11, 2025 20:12
@renovate renovate Bot force-pushed the renovate/config-4.x branch from 62ba001 to b50f645 Compare November 19, 2025 19:17
@renovate renovate Bot force-pushed the renovate/config-4.x branch from b50f645 to 2fc96a7 Compare January 15, 2026 11:41
@renovate renovate Bot force-pushed the renovate/config-4.x branch 2 times, most recently from 5bbad16 to bb102b3 Compare February 13, 2026 16:09
@renovate renovate Bot force-pushed the renovate/config-4.x branch from bb102b3 to 5f313a2 Compare February 24, 2026 05:05
@renovate renovate Bot force-pushed the renovate/config-4.x branch from 5f313a2 to 3bb4b69 Compare February 27, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants