Skip to content

refactor: Bump config from 4.4.1 to 5.0.0 - #588

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/config-5.0.0
Closed

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/config-5.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

Bumps config from 4.4.1 to 5.0.0.

Release notes

Sourced from config's releases.

v5.0.0

What's Changed

New Contributors

Full Changelog: node-config/node-config@v4.4.1...v5.0.0

v5.0.0-alpha.2

What's Changed

  • fix: prevent setEnv from clobbering envConfig when merging NODE_CONFIG
  • .iced files are never loaded, and support has been removed.
  • Load.scan() now returns the configuration data that was loaded, simplifying the calling convention for setModuleDefaults()
  • TOML regression in 4.4.1 fixed in mainline

Breaking Changes

  • Scanning of the config directory no longer loads files that contain the NODE_ENV value as a substring of the file name instead of the prefix. Ex: "prod-server1.js" versus "preprod.json" for NODE_ENV=prod

New Contributors

Full Changelog: node-config/node-config@v5.0.0-alpha.1...v5.0.0-alpha.2

v5.0.0-alpha.1

What's Changed

  • Fixed TS type list in README
  • Fixed version tag issue

Full Changelog: node-config/node-config@v5.0.0-alpha.0...v5.0.0-alpha.1

v5.0.0-alpha.0

What's Changed

  • node-config is now an ESM module

Breaking Changes

  • raw.js, async.js, and defer.js have been replaced by the new callback mechanism
  • config.util.setImmutable()
    • now only accepts one argument - an object. You can no longer use it to add immutable fields to config

... (truncated)

Commits
  • f6c4c5e 5.0.0
  • 1eeae5e Merge pull request #917 from jdmarshall/tomlTrunk
  • d2f9f8c Merge pull request #920 from jdmarshall/44CI
  • 4e58649 number-likes need quotes in yaml of course...
  • 3998f70 Merge pull request #919 from jdmarshall/44CI
  • 8923310 Inable CI for 4.4 branch.
  • 39d5a5d Merge pull request #915 from jdmarshall/security
  • 256ab67 Guard against odd object prototypes triggered by changes in TOML 4.0
  • 1b9da6b Don't install dependencies younger than 7 days old.
  • 067970f Merge pull request #908 from jdmarshall/benchscan
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [config](https://github.com/node-config/node-config) from 4.4.1 to 5.0.0.
- [Release notes](https://github.com/node-config/node-config/releases)
- [Changelog](https://github.com/node-config/node-config/blob/main/History.md)
- [Commits](node-config/node-config@v4.4.1...v5.0.0)

---
updated-dependencies:
- dependency-name: config
  dependency-version: 5.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Bot label; pull requests that updates a dependency file javascript Pull requests that update javascript code labels Aug 13, 2026
@codecov

codecov Bot commented Aug 13, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.77%. Comparing base (b9245cb) to head (ecbcbb7).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #588   +/-   ##
=======================================
  Coverage   97.77%   97.77%           
=======================================
  Files           2        2           
  Lines         225      225           
=======================================
  Hits          220      220           
  Misses          5        5           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mtrezza

mtrezza commented Sep 22, 2026

Copy link
Copy Markdown
Member

Cannot merge: config@5.0.0 effectively requires Node >=20.19.0, but engines.node specifies a floor of >=20.18.0 and the CI matrix runs Node 20.18.0.

config 5.0.0 converted the package to ESM (node-config/node-config#889). The CommonJS entry lib/config.js is now only a shim (module.exports = require('./config.mjs').default;), so require('config') depends on Node's unflagged require(ESM) support — Node >=20.19.0 or >=22.12.0. The package declares engines.node: ">= 20.11.0", which understates the real requirement. This is why the "Parse Server 8, Node.js 20" job fails on this PR.

5.0.0 also carries unrelated breaking changes worth a deliberate migration rather than an automated bump: raw.js/async.js/defer.js removed, config.util.setImmutable() signature changed, anchored NODE_ENV file matching (preprod.json no longer loaded for NODE_ENV=prod), .iced support removed, and Load.scan() now returns loaded data.

Converting to draft so this is skipped in automated dependency runs.

@mtrezza
mtrezza marked this pull request as draft September 22, 2026 14:56
@dependabot @github

dependabot Bot commented on behalf of github Sep 23, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #611.

@dependabot dependabot Bot closed this Sep 23, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/config-5.0.0 branch September 23, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Bot label; pull requests that updates a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant