You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 KiB
20 KiB
log4js-node changelog
6.4.2
- bug: fixed fileSync appender to create directory recursively - thanks @peteriman
- bug: fixed serialise() for NaN, Infinity, -Infinity and undefined - thanks @peteriman
- bug: fixed connectLogger not logging on close - thanks @peteriman
- improvement: defensive coding - thanks @peteriman
- type: fixed Logger constructor - thanks @peteriman
- test: improve test coverage - thanks @peteriman
- test: refactor and replaced tap deprecation in preparation for tap v15 - thanks @peteriman
- test: added e2e test for multiprocess Appender - thanks @nicojs
- chore(docs): updated file appender docs - thanks @peteriman
- chore(docs): updated dateFile appender docs - thanks @peteriman
- chore(docs): corrected typo in sample code for multiFile appender - thanks @peteriman
- chore(deps): updated deps-dev - thanks @peteriman
- chore(deps): bump date-format from 4.0.3 to 4.0.4
- chore(deps): bump streamroller from 3.0.2 to 3.0.4
- issue: addresses compatibility issue with directory creation for NodeJS < 10.12.0 (#1189) - details: streamroller@3.0.3 changelog
- chore(deps-dev): bump eslint from 8.8.0 to 8.10.0
- chore(deps-dev): bump eslint-config-prettier from 8.3.0 to 8.4.0
- chore(deps-dev): bump fs-extra from 10.0.0 to 10.0.1
- chore(deps-dev): bump typescript from 4.5.5 to 4.6.2
- chore(deps): updated deps-dev - thanks @peteriman
- chore(deps): bump flatted from 3.2.4 to 3.2.5
- chore(deps-dev): bump eslint from 8.7.0 to 8.8.0
- chore(deps): updated package-lock.json - thanks @peteriman
- chore(deps-dev): bump tap from 14.10.7 to 15.1.6 - thanks @peteriman
6.4.1
- bug: Fixed to startup multiprocess even when no direct appenders - thanks @nicojs
- improvement: additional alias for date patterns - thanks @peteriman
- improvement: added emitWarning for deprecation - thanks @peteriman
- type: Fixed wrong types from 6.4.0 regression - thanks @glasser
- chore(docs): changed author to contributors in package.json - thanks @peteriman
- chore(deps): bump node-fetch from 2.6.6 to 2.6.7 - thanks @Dependabot
- chore(deps-dev): bump typescript from 4.5.4 to 4.5.5 - thanks @peteriman
6.4.0
- security: default file permission to be 0o600 instead of 0o644 - thanks ranjit-git and @peteriman
- feat: Added warnings when log() is used with invalid levels before fallbacking to INFO - thanks @abernh
- feat: exposed Recording - thanks @polo-language
- bug: Fixed file descriptor leak if repeated configure() - thanks @peteriman
- bug: Fixed MaxListenersExceededWarning from NodeJS - thanks @peteriman
- bug: Fixed missing TCP appender with Webpack and Typescript - thanks @techmunk
- bug: Fixed dateFile appender exiting NodeJS on error - thanks @4eb0da
- bug: Fixed TCP appender exiting NodeJS on error - thanks @jhonatanTeixeira
- bug: Fixed multiprocess appender exiting NodeJS on error - thanks @harlentan
- 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
- #1143 - thanks @peteriman
- #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
- feat: allows for zero backups - thanks @peteriman
- api: migrated from daysToKeep to numBackups due to streamroller@^3.0.0 - thanks @peteriman
- bug: compressed file ignores dateFile appender "mode" - thanks @rnd-debug
- issue: addresses additional separator in filename (#1039) - details: streamroller@3.0.0 changelog
- issue: addresses daysToKeep naming confusion (#1035, #1080) - details: streamroller@3.0.0 changelog
- chore(deps): bump date-format from 3.0.0 to 4.0.2 - thanks @peteriman
- chore(deps): Updated dependencies - thanks @peteriman
- eslint-config-prettier from 6.15.0 to 8.3.0
- eslint-plugin-prettier from 3.4.1 to 4.0.0
- husky from 3.1.0 to 7.0.4
- prettier from 1.19.0 to 2.5.1
- 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
- codecov from 3.6.1 to 3.8.3
- eslint-config-prettier from 6.5.0 to 6.15.0
- eslint-import-resolver-node from 0.3.2 to 0.3.6
- eslint-plugin-import" from 2.18.2 to 2.25.4
- eslint-plugin-prettier from 3.1.1 to 3.4.1
- husky from 3.0.9 to 3.1.0
- prettier from 1.18.2 to 1.19.1
- 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
6.3.0
- Add option to file appender to remove ANSI colours - thanks @BlueCocoa
- Do not create appender if no categories use it - thanks @rnd-debug
- Docs: better categories inheritance description - thanks @rnd-debug
- Better jsdoc docs - thanks @wataash
- Typescript: access category field in Logger - thanks @rtvd
- Docs: influxdb appender - thanks @rnd-debug
- Support for fileSync appender in webpack - thanks @lauren-li
- Docs: UDP appender - thanks @iassasin
- Style: spaces and tabs - thanks @abetomo
6.2.1
6.2.0
- Add custom message end token to TCP appender - thanks @rnd-debug
- Update acorn (dev dep of a dep) - thanks Github Robots.
6.1.2
6.1.1
- Add guards for undefined shutdown callback - thanks @aaron-edwards
- Ignore .bob files - thanks @cesine
- Add mark method to type definitions - thanks @techmunk
6.1.0
- Add pause event to dateFile appender - thanks @shayantabatabaee
- Add pause event to file appender - thanks @shayantabatabaee
- Add pause/resume event to docs
6.0.0
5.3.0
5.2.2
5.2.1
5.2.0
5.1.0
5.0.0
- Update streamroller to 2.0.0 (remove support for node v6)
- Update dependencies (mostly dev deps)
- Fix error when cluster not available
- Test coverage improvements
4.5.1
- Update streamroller 1.0.5 -> 1.0.6 (to fix overwriting old backup log files)
- Dependency update: lodash 4.17.4 (dependency of a dependency, not log4js) - thanks Github Automated Security Thing.
- Dependency update: lodash 4.4.0 -> 4.5.0 (dependency of a dependency, not log4js) - thanks Github Automated Security Thing.
4.5.0
- Override call stack parsing - thanks @rommni
- patternLayout filename depth token - thanks @rommni
4.4.0
- Add option to pass appender module in config - thanks @kaxelson
- Added docs for passing appender module
- Updated dependencies
4.3.2
- Types for enableCallStack - thanks @citrusjunoss
4.3.1
4.3.0
4.2.0
- Feature: add appender and level inheritance - thanks @pharapiak
- Feature: add response to context for connectLogger - thanks @leak4mk0
- Fix for broken sighup handler
- Add missing types for Level - thanks @Ivkaa
- Typescript fixes for connect logger context - thanks @leak4mk0
- Upgrade to streamroller-1.0.5 to fix log rotation bug
4.1.1
- Various test fixes for node v12
- Fix layout problem in node v12 - thanks @bjornstar
- Add missing types for addLevels - thanks @Ivkaa
- Allow any return type for layout function - thanks @xinbenlv
4.1.0
- Updated streamroller to 1.0.4, to fix a bug where the inital size of an existing file was ignored when appending
- Updated streamroller to 1.0.3, to fix a crash bug if the date pattern was all digits.
- Updated dependencies
Previous versions
Change information for older versions can be found by looking at the milestones in github.