Skip to content

Releases: yunnysunny/request-log

0.17.0

14 Aug 12:15
Compare
Choose a tag to compare

Breaking changes

  1. req_id is now an unique string, the original req_id has renamed to req-seq.
  2. host is renamed to server_ip.
  3. hostname is renamed to domain.

Add

  1. Add server_host field.
  2. Add genId function parameter to generate custom log id.

0.16.2

05 Aug 16:10
Compare
Choose a tag to compare

Fix

  1. Correct cjs module usage code.

0.16.1

05 Aug 14:44
Compare
Choose a tag to compare

Fix

  1. Add mising javascript files.

0.16.0

05 Aug 10:00
Compare
Choose a tag to compare

Breaking changes

  1. Remove kafkaSchedule mongooseModel alarm option, please use onReqFinished instead.
  2. The default dataFormat function will use JSON.stringify to return string, since it's safe for elasticsearch. If you want to return with you own format, please pass the dataFormat parameter yourself.

Add

  1. Add support for esm module.
  2. Add router field.

0.15.1

10 Aug 03:55
Compare
Choose a tag to compare

Fix

  1. Fix document url.

0.15.0

07 May 07:08
Compare
Choose a tag to compare

Add

  1. Add stdoutDisabled parameter to middleware.

0.14.0

07 May 06:49
Compare
Choose a tag to compare

Add

  1. Add express.Request parameter to FormatFunction.

0.13.0

06 May 15:25
Compare
Choose a tag to compare

Add

  1. Add support for typescript.

0.12.1

15 Jul 12:35
Compare
Choose a tag to compare

Remove

  1. Remove the default value of response data. You should avoid reading undefined object in dataFormat function when format response data.

Add

29 May 07:57
Compare
Choose a tag to compare
Add
  1. Add the field of res_data, which contains the reponse data.