UNPKG

18.3 kBMarkdownView Raw
13.3.1 / 2020-03-25
2==================
3
4 * Fix security vulnerability in json5 dependency - @twkel
5
63.3.0 / 2020-02-26
7==================
8
9 * Allow all defined values in `substituteDeep` - @fostyfost
10
113.2.6 / 2020-02-21
12==================
13
14 * Updated copyright date ranges
15
163.2.5 / 2020-01-16
17==================
18
19 * Fixed issue with getCustomEnvVars and multiple config dirs #585 - @dekelev
20
213.2.4 / 2019-10-25
22==================
23
24 * Improved error handling of env variables value parse - @leonardovillela
25
263.2.3 / 2019-10-03
27==================
28
29 * Fixed strict mode warning #460 - @fedulovivan
30
313.2.2 / 2019-07-20
32==================
33
34 * Fixed delimiter bug in configDirs to match O/S delimiter - @iMoses
35
363.2.1 / 2019-07-18
37==================
38
39 * Fixed TypeError: obj.toString is not a function - @leosuncin
40
413.2.0 / 2019-07-11
42==================
43
44 * Asynchronous configs - @iMoses
45 * Multiple config directories - @iMoses
46 * Improved parser support - @iMoses
47
483.1.0 / 2019-04-07
49==================
50
51 * Support of module.exports syntax for TS config files @keenondrums
52
533.0.1 / 2018-12-16
54==================
55
56 * Fixed bug where dot notation extended own key @exogen
57
583.0.0 / 2018-11-20
59==================
60
61 * Ensure config array items and objects are sealed @fgheorghe
62 - This required a major version bump in case someone
63 - relied on the ability to mutate non-sealed data.
64
65
662.0.2 / 2018-08-28
67==================
68
69 * Added dot notation to setModuleDefaults - bertho-zero
70 * Updated copyright year - JemiloII
71
722.0.1 / 2018-07-26
73==================
74
75 * Removed deprecated code - jpwilliams
76
772.0.0 / 2018-07-26
78==================
79
80Potential for backward incompatibility requiring a major version bump.
81
82Safe to upgrade to major version 2 if you're using a recent NodeJS version
83and you're not trying to mutate config arrays.
84
85 * Added array immutability - jacobemerick
86 * Removed Node V.4 support
87
881.31.0 / 2018-05-22
89===================
90
91 * Load new coffeescript module instead of coffee-script - bastbijl
92
931.30.0 / 2018-02-26
94===================
95
96 * Support for nested raw() in javascript configurations - patrickpilch
97
981.29.4 / 2018-02-03
99===================
100
101 * Re-publish - last changes didn't make it to npm
102
1031.29.3 / 2018-02-03
104===================
105
106 * Added soft dependencies so transpilers don't include everything - gewentao
107
1081.29.2 / 2018-01-12
109===================
110
111 * Patch, and added a test to ts-node - electroma
112
1131.29.1 / 2018-01-07
114===================
115
116 * Prevent re-registration of ts-node - electroma
117 * Fixed bug in contributor table tool - lorenwest
118
1191.29.0 / 2017-12-26
120===================
121
122 * Update docs for JavaScript-formatted config files and link them from the README - markstos
123 * Fixed 'hostname' value selection when there is no environment variable for that - wmangelardo
124
125
1261.28.1 / 2017-11-09
127===================
128
129 * add nodejs9 to travisci - jfelege
130
1311.28.0 / 2017-11-07
132===================
133
134 * allow overrides of `NODE_ENV` with `NODE_CONFIG_ENV` - jfelege
135
1361.27.0 / 2017-10-17
137===================
138
139 * Add method to output plain JS object - willsoto
140 * Updated Node versions in Travis CI - lorenwest
141
1421.26.2 / 2017-08-11
143===================
144
145 * Update supported nodejs platforms - jfelege
146
1471.26.1 / 2017-05-03
148===================
149
150 * Fix: failed while merging from RegExp @XadillaX
151 * Chore: reduce package size. @evilebottnawi
152
1531.26.0 / 2017-03-30
154===================
155
156 * Added tests for extendDeep @IvanVergiliev
157 * Added TypeScript support @cypherq
158 * Update config.js with correctly cased type def @ScionOfBytes
159
1601.25.1 / 2017-02-01
161===================
162
163 * Fixed undefined CONFIG_SKIP_GITCRYPT variable @lorenwest
164
1651.25.0 / 2017-01-31
166===================
167
168 * Add support for configuration files stored with git-crypt @cunneen
169
1701.24.0 / 2016-11-02
171===================
172
173 * Prevent accidental publish to private repository
174
1751.23.0 / 2016-11-02
176===================
177
178 * Re-publishing because npmjs didn't see 1.22
179
1801.22.0 / 2016-10-25
181===================
182
183 * original/previous value for deferredConfig @simon-scherzinger
184 * util.loadFileConfigs: support optional source dir @wmertens
185 * Adding raw wrapper to prevent object modification in config @patrickpilch
186
1871.21.0 / 2016-06-01
188===================
189
190 * Added XML configuration @tusharmath
191
1921.20.4 / 2016-05-23
193===================
194
195 * Fixed a regression with extending prototype methods @tahoemph
196
1971.20.3 / 2016-05-18
198===================
199
200 * Fixed a regression with 1.20.2 @kgoerlitz
201 * Added test to prevent this in the future @kgoerlitz
202
2031.20.2 / 2016-05-17
204===================
205
206 * node v6 compatiblity: remove deprecated __lookupGetter__ use - @thetalecrafter
207 * node v6 compatiblity: handle different SyntaxError format - @pwwolf
208
2091.20.1 / 2016-04-08
210===================
211
212 * Simplify truthiness check - @markstos
213 * Remove errant console.log - @markstos
214
2151.20.0 / 2016-04-06
216===================
217
218 * Typo fix @jchip
219 * Handle null sub-object @wmertens
220 * Bug fix for NODE_CONFIG_STRICT_MODE check @markstos
221 * Ran node security check on 4/6/2016 with the following output
222
223 $ nsp check
224 (+) No known vulnerabilities found
225
2261.19.0 / 2016-01-08
227===================
228
229 * Resolve defered values in predictable order for consistent results.
230 Fixes #265 @elliotttf @markstos
231
2321.18.0 / 2015-11-17
233===================
234
235 * More robust handling of JSON @elliotttf
236
2371.17.1 / 2015-11-17
238===================
239
240 * Patch release for regex bugfix
241
2421.17.0 / 2015-11-17
243===================
244
245 * Update warning about missing configuration files to mention how to disable the warning #245 @markstos
246 * Upgrade to run CI with travis containers @lorenwest
247 * Fixed bug with comments and inline json @elliotttf
248
2491.16.0 / 2015-09-03
250===================
251
252 * Change == to === to tighten equality tests #242 @wgpsutherland
253 * Fix attachProtoDeep for setModuleDefaults #243 @benkroeger
254
2551.15.0 / 2015-07-30
256===================
257
258 * Added full hostname in addition to first segment @vicary
259
2601.14.0 / 2015-06-02
261===================
262
263 * Added JSON parsing to custom environment variables @leachiM2k
264 * Handle unicode BOM characters @johndkane
265
2661.13.0 / 2015-05-05
267===================
268
269 * Updated CSON library @dsimidzija
270
2711.12.0 / 2015-02-19
272===================
273
274 * Better date merging @axelhzf
275
2761.11.0 / 2015-01-14
277===================
278
279 * Added Hjson support @laktak
280
2811.10.0 / 2015-01-06
282===================
283
284 * Added TOML support (@jasonhansel)
285 * Another year - changed copyright messages for 2015
286 * Updated contributors list
287 * New Strict Mode added in 1.9.0 is now documented. (@markstos)
288 * has() now returns false when given an undefined or null key to look up. Previously it threw an exception. (@markstos)
289 * When get() is given an undefined or null key to look up, it now throws a more helpful diagnostic (@robludwig, @markstos)
290
2911.9.0 / 2014-12-08
292==================
293
294 * New strictness checks have been added to ensure the expected configuration has been loaded. Warnings are now thrown in these cases. If NODE_CONFIG_STRICT_MODE is set, exceptions are thrown instead. (@markstos)
295 * There must be an explicit config file matching `NODE_ENV` if `NODE_ENV` is set.
296 * There must be an explicit config file matching `NODE_APP_INSTANCE` if `NODE_APP_INSTANCE` is set
297 * `NODE_ENV` must not match 'default' or 'local' to avoid ambiguity.
298
299 * Added .iced extension support (@arthanzel)
300
301 * Highlight `config.has()` in the README. Use it to check to if a value exists, since `config.get()`
302 throws exceptions on undefined values. (@markstos)
303
304 * API Change: getConfigSources() now starts to return data on config files that are valid-but-empty. (@markstos)
305
3061.8.1 / 2014-11-14
307==================
308
309 * Simplify syntax for defer() functions. The 'this' value in the functions is now bound
310 to the main configuration object, so it doesn't have to be passed into the function. (@markstos)
311 * new defer sub-module introduced in 1.8.0 can now be accessed by require('config/defer')
312 For usage, see: https://github.com/lorenwest/node-config/wiki/Configuration-Files#javascript-module---js
313 * Add test coverage for array merging cases. (@markstos)
314 * Bump dependency on cson package to 1.6.1 (@markstos)
315
3161.8.0 / 2014-11-13
317==================
318
319 * Added deferred function for evaluating configs after load (@markstos)
320 For details, see: https://github.com/lorenwest/node-config/wiki/Configuration-Files#javascript-module---js
321 * Bumped js-yaml dependency (@markstos)
322
3231.7.0 / 2014-10-30
324==================
325
326 * Added variable substitution in .properties files (@ncuillery)
327
3281.6.0 / 2014-10-22
329==================
330
331 * Added support for property accessors in configs (@jaylynch)
332
3331.5.0 / 2014-10-20
334==================
335
336 * Added support for .json5 config files (@bertrandom)
337
3381.4.0 / 2014-10-16
339==================
340
341 * Added support for .properties config files (@superoven)
342
3431.3.0 / 2014-10-15
344==================
345
346 * Added support for CSON configuration files (@superoven)
347
3481.2.4 / 2014-10-10
349==================
350
351 * Repaired the 1.2.3 fix to work both before and after the first get()
352
3531.2.3 / 2014-10-03
354==================
355
356 * Changed test suite to verify a bug in util.setModuleDefaults()
357 * Fixed util.setModuleDefaults() to work after a get() (and pass the new test)
358
3591.2.2 / 2014-10-03
360==================
361
362 * Added support for regexp and date configurations (@diversario)
363
3641.2.1 / 2014-09-23
365==================
366
367 * Wrote test to prove setModuleDefaults() was broken in 1.2.0
368 * Fixed setModuleDefaults() to not rely on immutable configs
369
3701.2.0 / 2014-09-15
371==================
372
373 * Feature release
374 * Delaying immutability until after first get() - for external configs
375 * Allowing immutability override with $ALLOW_CONFIG_MUTATIONS=Y
376
377
3781.1.1 / 2014-09-03
379==================
380
381 * @th507 - Update support for Coffee-script >=1.7.0
382
3831.1.0 / 2014-09-03
384==================
385
386 * Feature release
387 * @bradboro - Custom environment variables
388 * @supersheep - Catch error when requiring visionmedia yaml module
389
3901.0.2 / 2014-07-30
391===================
392
393 * @bradobro - Fixed a variable from leaking into global
394 * @tilfin - Removed un-necessary YAML comment filtering for js-yaml
395
3961.0.1 / 2014-07-25
397===================
398
399 * Removed test directory from npm install
400
4011.0.0 / 2014-07-23
402===================
403
404 * Major revision. Upgrade notes:
405 https://github.com/lorenwest/node-config/wiki/Upgrading-From-Config-0.x
406 * Update to semver versioning
407 * Change load ordering
408 from hostname.EXT --> deployment.EXT
409 to deployment.EXT --> hostname.EXT
410 * Allow makeImmutable to accept an array of attributes
411 * Allow makeImmutable to accept no attrs, making all attributes immutable
412 * Allow recursion in makeImmutable, if an attribute is an object
413 * Change node-config behavior to make all configurations immutable
414 * Removed getOriginalConfig as no longer necessary post-immutable
415 * Removed runtime.json file writing and monitoring
416 * Removed previously deprecated $CONFIG_* environment configurations
417 * Deprecated the attribute watch functionality
418 * Added error output if no configurations found
419 * Exposed config loading for alternate configurations
420 * Added config.get() and config.has() methods & tests
421 * Removed reliance on global.NODE_CONFIG so older versions can work with 1.x
422 * Fix empty YAML file causing crash with latest js-yaml
423 * Added SUPPRESS_NO_CONFIG_WARNING for better sub-module support
424 * Moved all documentation [to the wiki](https://github.com/lorenwest/node-config/wiki).
425
4260.4.37 / 2014-07-22
427===================
428
429 * Fix empty YAML file causing crash with latest js-yaml
430
4310.4.36 / 2014-05-27
432===================
433
434 * Not writing runtime.json if not used
435
4360.4.35 / 2014-01-16
437===================
438
439 * NODE_CONFIG_DIR can now contain a relative path for .js and .coffee configurations
440
4410.4.34 / 2014-01-06
442===================
443
444 * Updated copyright year
445
4460.4.33 / 2013-10-25
447===================
448
449 * Assure writes to runtime.json are atomic
450
4510.4.32 / 2013-10-24
452===================
453
454 * Don't freak out if running without a config directory
455 * Don't be so chatty if runtime.json doesn't exist
456
4570.4.31 / 2013-10-18
458===================
459
460 * Changed getConfigSources to copy array vs. object
461
4620.4.30 / 2013-09-12
463===================
464
465 * More consistent array extension
466 * No longer requiring a config directory
467 * Not erroneously writing runtime.json
468 * Exposing the original configuration sources
469 * Added --NODE_CONFIG={json} command line overrides
470 * Added $NODE_CONFIG={json} environment variable overrides
471 * Consistent handling of environment variables and command line parameters
472 * Reached 100 regression tests
473
4740.4.29 / 2013-08-07
475===================
476
477 * Added flag for disabling the write of runtime.json
478
4790.4.28 / 2013-07-31
480===================
481
482 * Eliminated a totally annoying install warning in newer versions of NPM
483
4840.4.27 / 2013-06-18
485===================
486
487 * Fixed a bug preventing double underscores in config environment variables
488
4890.4.26 / 2013-06-10
490===================
491
492 * Re-watch file on rename (allows editing runtime.json with vi)
493 * Allow runtime.json file watch disable via NODE_CONFIG_DISABLE_FILE_WATCH=Y
494 * Change no yaml parser error message to suggest using js-yaml
495 * Changed default clone depth from 6 to 20 to allow for deeper configurations
496
4970.4.25 / 2013-05-24
498===================
499
500 * Dont fail if config directory doesnt exist
501
5020.4.24 / 2013-04-13
503===================
504
505 * Added resetRuntime() to reset the runtime.json file
506 * Updated docs to reflect the new public method
507
5080.4.23 / 2013-04-13
509===================
510
511 * Multiple application instance support via $NODE_APP_INSTANCE
512 * Multi-app testing & documentation
513
5140.4.22 / 2013-03-29
515===================
516
517 * Added configuration $CONFIG_* environment variables
518 * Added $CONFIG_* documentation and tests
519 * Added NodeJS 0.10 integration test
520
5210.4.21 / 2013-03-06
522===================
523
524 * Triggering file.watch when an editor saves a file - rename vs. change
525 * Installed Travis-CI continuous integration testing framework
526
5270.4.20 / 2013-02-21
528===================
529
530 * Merged _diffDeep fix
531
5320.4.19 / 2013-02-21
533===================
534
535 * Added discovery of .yml in addition to .yaml for YAML configs (w/doc)
536 * Added testing of .yml file discovery
537 * Removed licensing inconsistencies
538
5390.4.18 / 2012-10-30
540===================
541
542 * Moved coffee-script and js-yaml from optionalDependencies back to
543 devDependencies to trim the install size for those not needing
544 these packages.
545 * Promoted $HOSTNAME and $HOST above OS.hostname()
546
5470.4.17 / 2012-09-26
548===================
549
550 * Allow the location of runtime.json to be picked up from the environment
551 * Added documentation for the NODE_CONFIG_RUNTIME_JSON environment variable
552 * package.json cleanup - created optionalDependencies and devDependencies
553
5540.4.16 / 2012-08-09
555===================
556
557 * Allowing a zero interval in watchForConfigFileChanges() to disable file watching.
558 * Fixed a comparator bug in _equalsDeep()
559 * Added a test to confirm deep extending array functionality
560
5610.4.15 / 2012-06-04
562===================
563
564 * Placed YAML and Coffee-Script libraries back into the download. Still lazy loading into memory.
565
5660.4.14 / 2012-06-01
567===================
568
569 * Added the local.EXT and local-deployment.EXT configs.
570 * Removed unnecessary debug output
571 * Added retry logic on file parse to reduce read/write collisions
572 * Added support for a better YAML parser
573 * Fixed problems with null configuration values
574
5750.4.13 / 2012-04-25
576===================
577
578 * Assuring the runtime.json file exists. Undocumented fs.watch() requirement.
579
5800.4.12 / 2012-04-25
581===================
582
583 * Removed all external dependencies
584 * Lazy loading of yaml and coffee-script only if these file types are used
585 * Added new style file watching if available (retaining pre 6.0 compatibility)
586 * Windows compatibility - file watching changes were required
587
5880.4.11 / 2012-02-15
589===================
590
591 * Automatically watching runtime.json for changes
592 * Fixed a date comparison bug during file watching
593 * Changed require('sys') to require('util')
594
5950.4.10 / 2012-01-18
596===================
597
598 * Made sure the CONFIG object is a shared singleton
599 * Added NODE_CONFIG_DIR environment variable to point to a different directory
600 * Added tests and documentation for the above
601
6020.4.9 / 2012-01-06
603==================
604
605 * Added coffee-script file type support with extension .coffee
606 * Added an example coffee-script configuration file
607 * Added coffee-script module dependency
608 * Added a test for coffee-script configuration files
609 * Documented coffee-script support, regenerated documentation
610
6110.4.8 / 2011-12-20
612==================
613
614 * Fixed a bug where changes to module default configs weren't persisted
615 * Added a test to validate the bugfix
616
6170.4.7 / 2011-12-16
618==================
619
620 * Created the makeHidden method to hide a property of an object
621 * Added a value argument to makeImmutable for creating new properties
622 * Fixed setModuleDefaults to hide injected prototype methods
623 * Added documentation and unit tests
624
6250.4.6 / 2011-11-29
626==================
627
628 * Updated vows from 0.5.8 to 0.5.13
629
6300.4.5 / 2011-11-16
631==================
632
633 * Updated YAML dependency from "0.1.x" to ">=0.2.2"
634 * Added stripping of comment-only and whitespace-only lines in YAML files for backward compatibility
635 * Added more tests for YAML edge cases
636 * Added a homepage link in package.json to the online documentation
637 * Added History.md
638
6390.4.4 / 2011-11-08
640==================
641
642 * Removed deprecated modules from package.json
643
6440.4.3 / 2011-08-02
645==================
646
647 * Made watchForConfigFileChanges public
648
6490.4.2 / 2011-07-11
650==================
651
652 * Added comment stripping from JSON configuration files
653
6540.4.1 / 2011-07-07
655==================
656
657 * Added more tests
658 * Return the module config in setModuleDefaults
659
6600.4.0 / 2011-07-06
661==================
662
663 * Update to version 0.4.0
664
665 * Online documentation
666 * Runtime configuration changes
667 * Configuration value watching
668 * Multi-instance node deployments
669 * Better module developer support