log4js v6.4.0 Release Notes
-
🆕 New default file permissions may cause external applications unable to read logs. 🔧 A manual code/configuration change is required.
- 0️⃣ fix: default file permission to be 0o600 instead of 0o644 - thanks ranjit-git and @peteriman
- 🔧 fix: file descriptor leak if repeated configure() - thanks @peteriman
- ⚠ fix: MaxListenersExceededWarning from NodeJS - thanks @peteriman
- fix: missing TCP appender with Webpack and Typescript - thanks @techmunk
- fix: dateFile appender exiting NodeJS on error - thanks @4eb0da
- fix: TCP appender exiting NodeJS on error - thanks @jhonatanTeixeira
- fix: multiprocess appender exiting NodeJS on error - thanks @harlentan
- ⚠ feat: added warnings when log() is used with invalid levels before fallbacking to INFO - thanks @abernh
- feat: exposed Recording - thanks @polo-language
- ⚡️ test: update fakeFS.read as graceful-fs uses it - thanks @peteriman
- ⚡️ test: update fakeFS.realpath as fs-extra uses it - thanks @peteriman
- ✅ test: added tap.tearDown() to clean up test files
- test: #1143 - thanks @peteriman
- test: #1022 - thanks @abetomo
- type: improved @types for AppenderModule - thanks @nicobao
- ⚡️ type: Updated fileSync appender types - thanks @peteriman
- 🚚 type: Removed erroneous type in file appender - thanks @vdmtrv
- ⚡️ type: Updated Logger.log type - thanks @ZLundqvist
- ⚡️ type: Updated Logger._log type - thanks @peteriman
- ⚡️ type: Updated Logger.level type - thanks @peteriman
- ⚡️ type: Updated Levels.getLevel type - thanks @saulzhong
- chore(deps): bump streamroller from 3.0.1 to 3.0.2 - thanks @peteriman
- chore(deps): bump date-format from 4.0.2 to 4.0.3 - thanks @peteriman
- 👕 chore(deps-dev): bump eslint from from 8.6.0 to 8.7.0 - thanks @peteriman
- chore(deps-dev): bump nyc from 14.1.1 to 15.1.0 - thanks @peteriman
- 👕 chore(deps-dev): bump eslint from 5.16.0 to 8.6.0 - thanks @peteriman
- chore(deps): bump flatted from 2.0.2 to 3.2.4 - thanks @peteriman
- chore(deps-dev): bump fs-extra from 8.1.0 to 10.0.0 - thanks @peteriman
- chore(deps): bump streamroller from 2.2.4 to 3.0.1 - thanks @peteriman
- fix: compressed file ignores dateFile appender "mode" - thanks @rnd-debug
- fix: #1039 where there is an additional separator in filename ([email protected] changelog)
- fix: #1035, #1080 for daysToKeep naming confusion ([email protected] changelog)
- refactor: migrated from daysToKeep to numBackups due to streamroller@3.0.0 - thanks @peteriman
- feat: allows for zero backups - thanks @peteriman
- chore(deps): bump date-format from 3.0.0 to 4.0.2 - thanks @peteriman
- ⚡️ chore(deps): updated dependencies - thanks @peteriman
- chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 8.3.0
- chore(deps-dev): bump eslint-plugin-prettier from 3.4.1 to 4.0.0
- chore(deps-dev): bump husky from 3.1.0 to 7.0.4
- chore(deps-dev): bump prettier from 1.19.0 to 2.5.1
- chore(deps-dev): bump typescript from 3.9.10 to 4.5.4
- 👕 chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 8.3.0 - thanks @peteriman
- ⚡️ chore(deps): updated dependencies - thanks @peteriman
- chore(deps-dev): bump codecov from 3.6.1 to 3.8.3
- chore(deps-dev): bump eslint-config-prettier from 6.5.0 to 6.15.0
- chore(deps-dev): bump eslint-import-resolver-node from 0.3.2 to 0.3.6
- chore(deps-dev): bump eslint-plugin-import" from 2.18.2 to 2.25.4
- chore(deps-dev): bump eslint-plugin-prettier from 3.1.1 to 3.4.1
- chore(deps-dev): bump husky from 3.0.9 to 3.1.0
- chore(deps-dev): bump prettier from 1.18.2 to 1.19.1
- chore(deps-dev): bump typescript from 3.7.2 to 3.9.10
- 📜 chore(deps): bump path-parse from 1.0.6 to 1.0.7 - thanks @Dependabot
- chore(deps): bump glob-parent from 5.1.1 to 5.1.2 - thanks @Dependabot
- chore(deps): bump hosted-git-info from 2.7.1 to 2.8.9 - thanks @Dependabot
- chore(deps): bump lodash from 4.17.14 to 4.17.21 - thanks @Dependabot
- chore(deps): bump y18n from 4.0.0 to 4.0.1 - thanks @Dependabot
- chore(deps): bump node-fetch from 2.6.0 to 2.6.1 - thanks @Dependabot
- 📜 chore(deps): bump yargs-parser from 13.1.1 to 13.1.2 - thanks @Dependabot
- chore(deps-dev): bump codecov from 3.6.5 to 3.7.1 - thanks @Dependabot