The format is based on Keep a Changelog.
1.4.2 - 2025-01-08
- dep(eslint): upgrade 8 -> 9
1.4.1 - 2024-12-28
- ini: allow key with + character, to accept [email protected] #80
1.4.0 - 2024-05-12
- doc(README): fix hjson link (#78)
- config: fix json overrides (#77)
1.3.0 - 2024-05-02
- feat: getDir is now recursive
1.2.4 - 2024-04-26
- fix(watch): callback was losing context. Use explicit obj
- fix(reader): use path.sep instead of [\/] to be more obvious
1.2.2 - 2024-04-24
- feat: getDir can parse different types of files in a dir
- feat: all file readers now have load and loadPromise, so that a feature like getDir can safely use the nicer promise API
- chore: require syntax, prefix node builtins with
node:
- moved configfile -> lib/reader
- moved readers/ -> lib/readers
- refactored regex lib to lib/regex
- refactored watch functions into lib/watch
- es6
- add several uses of
...
(spread operator / param collection) - replace
for i
withfor ... of
- consolidate all cases of type detection into configfile.getType
- replace
new Promise
with async/await - use shortened array function syntax
- add several uses of
- ci: update to shared haraka/.github
- dep: eslint-plugin-haraka -> @haraka/eslint-config
- lint: remove duplicate / stale rules from .eslintrc
- package.json: populate [files]
- deps: version bumps
- config: guard against prototype pollution
1.1.0 - 2022-05-27
- chore(ci): depend on shared GHA workflows
- chore(dep): eslint 6 -> 8
- chore(dep): mocha 8 -> 9
- chore(dep): update YAML 3.13 -> 4.1 (#65)
- configfile: disable watch dir when platform not mac or win
- configfile: convert to es6 class
- configfile.read_dir: promisify
- configfile: use simpler es6
for..in
andfor..of
- getDir tests, use os.EOL for comparison
- add support for loading
.js
configurations
- refactor ./config.js as an es6 class
- update README syntax and improve formatting
- use path.resolve instead of ./dir/file (2x)
- watch: recursive=true
- permit retrieval of fully qualified path
- remove trailing ; from function declarations
- add config.getInt(filename, default_value)
- additional test for 'missing json loads yaml'
- modify get_path_to_config_dir regex to also match windows paths
- add tests for get_path_to_config_dir
- configs w/o .ext or declared type default to flat
- add test for json/yaml !filename overloads
- add __dirname/../../config to config_dir_candidates for haraka/Haraka/tests/*
- sync process.env.HARAKA_TEST_DIR from haraka/Haraka/config
- eslint no-var updates #25
- lint updates for eslint 4
- unref() the setInterval so that Haraka can gracefully exit
- add config.getDir, loads all files in a directory
- log error vs throw on bad YAML
- fix appveyor badge URL
- config cache fix (see haraka/Haraka#1738)
- config: add overrides handling (sync with Haraka)
- configfile: add win64 watching (sync with Haraka)
- remove grunt
- use haraka-eslint plugin (vs local copy of .eslintrc)
- lint updates
- version bump, lint updates & sync
- lint fixes
- update tests for appveyor (Windows) compatibility #9
- handle invalid .ini lines properly (skip them)
- do not leave behind a
*
section in config (due to wildcard boolean)
- added wildcard boolean support
- reduce node required 4.3 -> 0.10.43