Skip to content

Latest commit

 

History

History
334 lines (159 loc) · 11.7 KB

CHANGELOG.md

File metadata and controls

334 lines (159 loc) · 11.7 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

3.2.1 (2024-10-24)

3.2.0 (2023-10-18)

Features

Bug Fixes

  • deps: bump winston from 3.2.1 to 3.11.0 (0ec392f)

3.1.1 (2018-11-06)

3.1.0 (2018-11-06)

Bug Fixes

  • stringify: ensure type object in generate fn (3a103e6)
  • stringify: ignore not parent unselect paths (95437bd)
  • stringify: missing httpVersion in defaultReqSchema (74aa62d)
  • stringify: missing uniq path handler and prefix (9c3cb1e)

Features

  • logger: omit keys info keys (333f5aa)
  • logger: rename {req,res}.headers to {req,res}.header (1e5b89f)
  • remove key recorder and use stringify schema (61b13d0)
  • package: mv lodash.assign to dev dependencies (2adc855)
  • rename meta to info (9f64f08)
  • stringify: clone default schemas when generate (fa15bba)
  • stringify: ensuretypeobject in schemaKeysHandlers (5f8adec)
  • stringify: generate schema fn (df17a22)
  • stringify: generateFormat fn to copy req/res (5c631a5)
  • stringify: predefined req.body schema (1327244)
  • stringify: top level key should also ignore (6f0e028)
  • stringify schema: init generate fn for winston log info obj (31a83ed)
  • stringify schema: use asJsonSchemaPath for easy lodash.get/set (ce78410)

BREAKING CHANGES

  • logger: rename {req,res}.headers to {req,res}.header in the log info object. like from { req: { headers: { } } } to { req: { header: { } } }

3.0.2 (2018-10-27)

Features

  • package: drop support on node 7 (f2e018c)

3.0.1 (2018-10-27)

Features

  • package: rm winston from peerDependencies (c48992f)

3.0.0 (2018-10-27)

Features

  • package: mv winston and winston-transport to dependencies (1eea08c)
  • stringify: use printf to wrap stringify (3debb21)
  • winston: transports.Stream as default (0094519)

BREAKING CHANGES

  • package: no need for peer dependencies on winston

2.5.1 (2018-07-29)

Performance Improvements

  • getLogLevel: math.floor faster then parse int (d8fdda2)

2.5.0 (2018-07-29)

Features

  • package: update fast-json-stringify to 1.7.1 (d09675d)

2.4.1 (2018-05-15)

Features

  • package: update fast-json-stringify to 1.5.2 (51eb3d8)

2.4.0 (2018-04-04)

Features

  • logger: lodash.assign to default transports (8732613)
  • logger: use object.keys for better perf (446434f)
  • stringify: support options.assign (ee87f80)

2.3.0 (2018-04-04)

Features

  • stringify: add flatstr method (897ba46)
  • stringify: all log write to std out (21dcd7c)
  • stringify: remove flatstr options (4106d1c)

2.2.0 (2018-03-26)

Bug Fixes

  • fast json console: missing default value (d12580f)

Features

  • export stringify in index (4fe3a94)
  • fast json console: customized transports (70101b6)
  • fast json console: speed up as defaults (729768b)

2.1.0 (2018-03-26)

Features

  • stringify: more reliable schema (e5ec6ab)

2.0.0 (2018-03-26)

Features

  • use fast json stringify as default stringify (7d70b88)
  • stringify: finish schema properties (e832e6a)
  • stringify: init fast json schema (4cb2cd7)
  • stringify: top level keys to schema (3f08891)

1.7.1 (2017-08-29)

Performance Improvements

1.7.0 (2017-08-29)

Bug Fixes

  • clone: error params on tostring (f60033f)

Features

  • clone: use entries to clone object (68f91ef)

1.6.5 (2017-08-29)

Bug Fixes

  • rm error arguments (0fc1c5b)
  • use copy logObject when unset properties (78bee31)

1.6.4 (2017-05-11)

1.6.3 (2017-05-11)

1.6.2 (2017-05-05)

Performance Improvements

  • key recorder: concat first (e8acd4c)

1.6.1 (2017-04-25)

Features

  • logger: default console transport print single-line output (f3715ed)

1.6.0 (2017-04-24)

Features

  • logger: add duration result to meta (2049ddb)
  • logger: add koa res serializer (dff23e4)
  • logger: add started_at and req.length, replace originalUrl by href (d9840e0)
  • logger: use on-finished to get final response result (a21cfc2)
  • logger: use util.format as template to generate logger msg (399cf24)

1.5.0 (2017-04-24)

Features

  • serializer: use keysRecorder to build serializer for ctx.request (e068c46)

1.4.0 (2017-04-11)

Features

  • add standardise keys recorder (83abd7b)
  • keysRecorder: recorder return empty object (a40ccbb)

1.3.0 (2017-04-10)

Features

  • package: add engines node version limitation (453f871)

1.2.1 (2017-04-10)

Features

1.2.0 (2017-04-10)

Features

1.1.0 (2017-04-10)

Features