Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master #3

Open
wants to merge 82 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
3289692
allow msg to accept a function to customize output string (#160)
brendancwood Feb 27, 2018
2c4ea67
move order of middleware definitions
Feb 28, 2018
afa9332
register / on router and not on app
Feb 28, 2018
c7dbc20
changed comment
Feb 28, 2018
d783f18
Merge pull request #168 from lfundaro/fix_example_readme
makrandgupta Feb 28, 2018
acb5de2
added exceptionToMeta method for filtering returned meta object
cubbuk Mar 9, 2018
134adf1
blacklistedMetaFields option is added
cubbuk Mar 9, 2018
caa0fec
removed only options from tests
cubbuk Mar 9, 2018
878fe24
Version bump v2.5.1 #174
bithavoc Apr 5, 2018
2492d5f
mistake in readme - wrong variable of req
LiranBri Jun 13, 2018
750e469
Merge pull request #176 from LiranBri/patch-1
bithavoc Jun 13, 2018
20fe0d3
Merge pull request #173 from cubbuk/feature/exception-to-meta
bithavoc Jun 13, 2018
a3ebbb3
fix: limit winston to smaller 3, as winston 3 breaks express-winston.
floriantraber Jun 18, 2018
6b0d8b6
Version bump 2.6.0
bithavoc Jul 16, 2018
9dc786c
Merge pull request #178 from floriantraber/master
bithavoc Jul 16, 2018
0bfbcbb
Reactivate CI (#185)
bithavoc Aug 9, 2018
93df82e
Upgrade to winston@3
rosston Aug 9, 2018
f37dcc5
Drop support for EOL'd versions of node
rosston Aug 9, 2018
10ea2f7
Remove unnecessary promise polyfill
rosston Aug 9, 2018
733d7b2
Upgrade old dependencies
rosston Aug 9, 2018
2db0b19
Ignore package-lock.json
rosston Aug 10, 2018
8f01006
Update readme for 3.x
rosston Aug 21, 2018
ce9142f
Update changelog for 2.5.0 - 3.0.0
rosston Aug 21, 2018
7f0a821
Merge pull request #184 from bithavoc/3.x
rosston Aug 21, 2018
90b1b50
3.0.0
rosston Aug 21, 2018
079e19a
Support winston 3.x transports and formats
crellison Sep 5, 2018
3753514
Add link to call for maintainers in Readme
rosston Sep 20, 2018
d5cd425
Merge pull request #190 from crellison/ce/format-support
crellison Oct 3, 2018
31d2916
Update changelog for 3.0.0 - 3.0.1
crellison Oct 8, 2018
f03170c
Fix missing commas
ryanleecode Oct 11, 2018
32571a4
Bump version v3.0.1
bithavoc Oct 17, 2018
bed553c
Add Commas to Options
ryanleecode Oct 17, 2018
580c953
Merge pull request #194 from drdgvhbh/patch-2
crellison Oct 23, 2018
76e7cc7
Update Readme.md
vuquangthinh Nov 12, 2018
40309d2
Merge pull request #197 from vuquangthinh/patch-1
rosston Nov 12, 2018
60af475
Fix large _.template memory consumption
slickmb Feb 5, 2019
2af7b29
Merge pull request #203 from slickmb/pull/fix_template_compilation_me…
bithavoc Feb 5, 2019
1d14bc6
Version bump v3.1.0
bithavoc Feb 5, 2019
eb76ad9
_header -> getHeader
Jun 5, 2019
6841b15
Build: replace coverage tool blanket with nyc
golopot Jun 12, 2019
0d0f09a
Merge pull request #211 from golopot/nyc
bithavoc Jun 12, 2019
df81eb9
Merge pull request #210 from Gregoirevda/master
bithavoc Jun 12, 2019
a334522
Add eslint and fix lint errors
golopot Jun 12, 2019
0401a8d
Merge pull request #212 from golopot/eslint
bithavoc Jun 12, 2019
08f9d4c
Version bump 3.2.0
bithavoc Jun 12, 2019
a07a609
add skip option to error logger
ahnkee Jul 3, 2019
08fb1fd
Merge pull request #214 from ahnkee/master
bithavoc Jul 3, 2019
52e3b79
Version bump 3.2.1
bithavoc Jul 3, 2019
dc119ac
Add an headerBlacklist option (#217)
maxday Aug 6, 2019
2bd4fbd
Version bump 3.3.0
bithavoc Aug 6, 2019
598da58
Fix license year to 2012
jjangga0214 Sep 17, 2019
ce56eaf
Merge pull request #224 from jjangga0214/patch/license
bithavoc Sep 19, 2019
30d1ef7
#66 add response and request whitelist nesting
kapalex Sep 22, 2019
aebd898
Update Readme.md
kapalex Sep 26, 2019
5b06988
Merge pull request #225 from kapalex/master
bithavoc Sep 26, 2019
611661e
Enhance "metaField" and add "requestProperty" and "responseProperty" …
yinzara Sep 12, 2019
038c839
Add TypeScript type definitions
yinzara Sep 12, 2019
a694259
Add missing types
yinzara Sep 12, 2019
1716ced
Fix readme example for google logging
yinzara Sep 12, 2019
e309de2
Updating readme and changelog
yinzara Sep 17, 2019
51ee031
doc: fix readme typo
yinzara Sep 24, 2019
434d82e
Version bump 3.4.0
bithavoc Sep 30, 2019
3d1e429
Merge remote-tracking branch 'original/master' into metadata-name
yinzara Sep 30, 2019
565cf5c
Typo in Readme.md
yinzara Sep 30, 2019
e50d725
Fix quotes in Readme.md for Google Logging
yinzara Sep 30, 2019
362cd26
Merge pull request #222 from yinzara/metadata-name
yinzara Oct 1, 2019
bc90297
Adding `headerBlacklist` in LoggerOption interface
alokrajiv Oct 9, 2019
1f32476
Merge pull request #228 from alokrajiv/patch-1
bithavoc Oct 9, 2019
7a40390
Version bump 4.0.1
bithavoc Oct 9, 2019
74d41d1
Add blacklist fields to BaseErrorLoggerOptions interface
knjtnk Dec 9, 2019
10683dc
Merge pull request #230 from Kaicoh/fix/add-error-logger-header
bithavoc Dec 17, 2019
d75fc4e
Version bump 4.0.2
bithavoc Dec 17, 2019
6d54c6f
Update lodash to 4.17.15
s0j0hn Jan 24, 2020
f743b92
Merge pull request #232 from s0j0hn/patch-1
bithavoc Jan 24, 2020
df27fb8
Add missing exceptionToMeta and skip to TypeScript definition
foxted Feb 6, 2020
11fc143
Merge pull request #234 from foxted/master
bithavoc Feb 13, 2020
45ec9e7
Version bump 4.0.3
bithavoc Feb 13, 2020
a02930b
Update statusLevels type
franciscohanna92 Jul 14, 2020
9183ca6
Update package.json
DamasFoux Jul 14, 2020
753b403
Merge pull request #245 from DamasFoux/patch-1
bithavoc Jul 14, 2020
6f18927
Merge pull request #244 from franciscohanna92/patch-1
bithavoc Jul 14, 2020
9fe4d48
Version bump 4.0.4
bithavoc Jul 22, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4
chaset = utf-8
trim_trailing_whitespace = true
ij_javascript_use_semicolon_after_statement = true
ij_javascript_space_before_function_left_parenth = true
ij_javascript_space_before_method_left_brace = true
ij_javascript_space_before_method_parentheses = false

[test/*.js]
indent_size = 2

[package.json]
indent_size = 2

[*.md]
trim_trailing_whitespace = false
21 changes: 21 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"extends": ["eslint:recommended"],
"env": {
"es6": true,
"node": true
},
"parserOptions": {
"ecmaVersion": 6
},
"rules": {
"no-unused-vars": [2, { "args": "none" }]
},
"overrides": [
{
"files": "test/**",
"env": {
"mocha": true
}
}
]
}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#################
/node_modules
npm-debug.log
package-lock.json

#################
## Jetbrains
Expand All @@ -16,5 +17,6 @@ npm-debug.log
#################
.DS_Store
lib/.DS_Store
coverage.html
coverage
.nyc_output
.vimrc
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
11 changes: 2 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
sudo: false
language: node_js
node_js:
- "0.10"
- "0.11"
- "0.12"
- "4"
- "6"
- "7"

script:
- "test $TRAVIS_NODE_VERSION = '0.6' || npm test"
- "test $TRAVIS_NODE_VERSION != '0.6' || npm run-script test-coverage"
- "8"
- "10"
3 changes: 3 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ Damian Kaczmarek <[email protected]>
Robbie Trencheny <[email protected]> (http://robbie.io)
Ross Brandes <[email protected]>
Kévin Maschtaler (https://www.kmaschta.me)
Matthew Blasius <[email protected]> (https://expel.io)
Maxime David <[email protected]>
Matt Morrissette <[email protected]> (https://github.com/yinzara)
62 changes: 62 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,65 @@
## 4.0.4
* Update lodash to 4.17.19 ([#245](https://github.com/bithavoc/express-winston/pull/245))
* Update statusLevels to accept Boolean or StatusLevel object in TypeScript definition ([#244](https://github.com/bithavoc/express-winston/pull/244))

## 4.0.3
* Update lodash to 4.17.15 ([#232](https://github.com/bithavoc/express-winston/pull/232))
* Add missing exceptionToMeta and skip to TypeScript definition ([#234](https://github.com/bithavoc/express-winston/pull/234))

## 4.0.2
* Add blacklist fields to BaseErrorLoggerOptions interface ([#230](https://github.com/bithavoc/express-winston/pull/230))

## 4.0.1
* Added `headerBlacklist` to BaseLoggerOptions for better typescript support ([#228](https://github.com/bithavoc/express-winston/pull/228))

## 4.0.0
* Changed `metaField` configuration property functionality (see Readme.md) ([#209](https://github.com/bithavoc/express-winston/issues/209)) - BREAKING CHANGE
* Moved type definitions to be embedded inside library ([#123](https://github.com/bithavoc/express-winston/issues/123))
* Added "files" to package.json to reduce unnecessary files in released package
* Added StackDriver/Google Cloud Logging specific instructions to Readme.md
* Added `requestField` and `responseField` options to allow storing the request and response in different metadata fields (or not at all)
* Fixed `meta` configuration option on `errorLogger` (was not functioning at all)
* Added .editorconfig and reformatted library to match

## 3.4.0
* Added: Nested Whitelists ([#225](https://github.com/bithavoc/express-winston/pull/225), @kapalex)

## 3.3.0
* Added: options.headerBlacklist ([#217](https://github.com/bithavoc/express-winston/pull/217), @maxday)

## 3.2.1
* Added: options.skip ([#214](https://github.com/bithavoc/express-winston/pull/214), [#147](https://github.com/bithavoc/express-winston/pull/147), @ahnkee)

## 3.2.0
* Replaced: _header -> getHeader ([#210](https://github.com/bithavoc/express-winston/pull/210), @Gregoirevda)
* Replaced coverage tool blanket with nyc ([#211](https://github.com/bithavoc/express-winston/pull/211), @golopot)
* Add eslint and fix lint errors ([#212](https://github.com/bithavoc/express-winston/pull/212), @golopot)

## 3.1.0
* Fix large _.template memory consumption ([#203](https://github.com/bithavoc/express-winston/pull/203), @slickmb)

## 3.0.1
* Add `format` to `options` to allow user-specified formatting following winston@3 conventions ([#190](https://github.com/bithavoc/express-winston/pull/190), @crellison)

## 3.0.0
express-winston@3 shouldn't have any breaking changes _of its own_, but there are breaking changes as a result of upgrading winston and Node.js.

[email protected] will be the last version to support winston@2.

#### Breaking changes
* Drop support for winston < 3. winston@3 includes quite a few breaking changes. Check their [changelog](https://github.com/winstonjs/winston/blob/master/CHANGELOG.md) and [upgrade guide](https://github.com/winstonjs/winston/blob/master/UPGRADE-3.0.md) to get an idea of winston's breaking changes.
* Drop support for Node.js < 6. v6 is the oldest version of Node.js [currently supported by the Node.js team](https://github.com/nodejs/Release).

## 2.6.0
* Add `exceptionToMeta` and `blacklistedMetaFields` for filtering returned meta
object ([#173](https://github.com/bithavoc/express-winston/pull/173), @cubbuk)

## 2.5.1
* Allow `msg` to be a function ([#160](https://github.com/bithavoc/express-winston/pull/160), @brendancwood)

## 2.5.0
* Reduce memory usage ([#164](https://github.com/bithavoc/express-winston/pull/164), @Kmaschta)

## 2.4.0
* Allow `options.level` to be a function for dynamic level setting ([#148](https://github.com/bithavoc/express-winston/pull/148), @CryptArchy)

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2012-2014 Bithavoc.io - http://bithavoc.io
Copyright (c) 2012 Bithavoc.io - http://bithavoc.io

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading