Skip to content

Latest commit

 

History

History
239 lines (164 loc) · 5.91 KB

CHANGELOG.md

File metadata and controls

239 lines (164 loc) · 5.91 KB

0.8.1 / 2019-10-01

  • Update typings

0.8.0 / 2019-09-01

  • Switch to new official ES client
  • Emit error events when an error happens

0.7.13 / 2019-08-28

  • Upgrade to ES client
  • Remove unneeded dependency
  • Reduce package size by swapping moment for days.js and other measured

0.7.12 / 2019-05-15

  • Upgrade to ES client v16
  • Allow to pass the timestamp through log() so that it's not generated by the transformer
  • Fix 2 severe issues described here: vanthome#87

0.7.11 / 2019-04-23

  • Prevent .git from being published to npm

0.7.10 / 2019-04-17

  • Properly implement non buffering case --> immediately write any message to ES
  • Upgrade deps and several other cleanups
  • Upgrade of typings
  • Correct documentation that we use _doc as default type`

0.7.9 / 2019-02-12

  • Upgrade deps, also Winston 3.2.1
  • Incorporate fix to prevent flush called twice after each interval instead of once
  • Better ignore extraneous resources pushed to npm

0.7.8 / 2019-01-27

  • Upgrade deps, also Winston 3.2.0
  • Update the documentation

0.7.7 / 2018-12-28

  • Add feature to limit message buffering

0.7.6 / 2018-12-28

  • Upgrade deps
  • Allow the process to exit when the logger is ended.

0.7.5 / 2018-09-30

  • Upgrade to Winston 3.1.0
  • Documentation fixes

0.7.4 / 2018-07-23

  • Make sure no messages are lost in case of an ES level fault
  • Add a Typescript declaration file
  • Fix bug in ES fault handler

0.7.3 / 2018-06-30

  • Possibility to have an indexInterfix

0.7.2 / 2018-06-30

  • Remove _all field from default mapping as it is deprecated in ES
  • Support logger.info({ message: 'Test', foo: 'bar' }); signature as well (make sure that field foo ends up in fields in the index)

0.7.1 / 2018-06-18

0.7.0 / 2018-06-17

  • Upgrade to winston 3.0 and elasticsearch 15.0
  • Actually use message type _doc as default
  • Mapping template changed --> if you have a custom mapping please check!

0.6.0 / 2018-04-28

0.5.9 / 2018-04-16

  • Fix bug that lead to mapping template not being used
  • Upgrade deps

0.5.8 / 2018-03-28

Better error handling.

0.5.7 / 2018-02-14

  • In order to prevent UnhandledPromiseRejectionWarning and tackle node.js deprecation DEP0018, catching and logging to console is now the default way of handling internal errors
  • Enable sniffOnConnectionFault on ES client by default
  • Change default mapping: template --> index_patterns
  • Migrate default mapping according to https://www.elastic.co/blog/strings-are-dead-long-live-strings
  • Moved retry logic into bulkwriter to handle intermittent connectivity interruptions gracefully AND be able to resume operation
  • Connection testing is now running infinitely which means the logger never gives up
  • Messages logged during a connection outage are buffered

0.5.6 / 2017-12-24

  • Rename debug key from bulk writer to winston:elasticsearch
  • use finally() instead of then() to schedule bulk writes even in case of exceptions

0.5.5 / 2017-12-15

  • Fix issue with loading built-in mapping
  • Upgrade to Elasticsearch client 14 (Elasticsearch 6)
  • Ignore 404 errors for silent creation of new indexes

0.5.3 / 2017-10-02

  • Upgrade to Winston 2.4.0

0.5.2 / 2017-09-28

  • Add pipeline option for elasticsearch

0.5.1 / 2017-09-24

  • Upgrade all deps
  • Fix linting issues
  • Fix loading of template file previously done with require()

0.5.0 / 2016-12-01

  • Release for Elasticsearch 5
  • Remove consistency option
  • Introduce waitForActiveShards option

0.4.2 / 2016-11-12

  • Allow consistency to be disabled using false as value
  • Upgrade deps

0.4.1 / 2016-10-26

  • Add timestamp automatically to log messages

0.4.0 / 2016-05-31

  • Minimum node.js version 6
  • Version upgrades
  • Migrate to eslint from jshint and jscs

0.3.1 / 2016-04-22

  • Fix for dependencies - move winstom from devDependencies to dependencies in package.json

0.3.0 / 2016-03-30

  • Test with ES 2.3.1
  • Add time driven bulk write functionality.
  • Remove retry functionality for writes as now covered by bulk writer.
  • Tests for ES unavailable case.

0.2.6 / 2016-01-19

  • Fix for Windows platform -- make default mapping file readable.

0.2.5 / 2015-12-01

  • ES 2.1 support (driver update).

0.2.4 / 2015-11-08

  • Support ES 2.0, really.
  • Support for single index usage, without data suffix via index option.
  • Fix bug when ES client is provided.

0.2.3 / 2015-11-01

  • Support ES 2.0.

0.2.2 / 2015-09-23

  • Add jshint jscs.
  • Minor cleanups.

0.2.1 / 2015-09-10

  • Add transport name.
  • Call super constructor for inheritance.

0.2.0 / 2015-09-03

  • 90% rewrite.
  • Use current dependencies.
  • Removed feature to generate process stats automatically.
  • Removed functionality to generate other implicit fields like @tags.
  • Add transformer functionality to modify structure of messages before logging.
  • Introduce connection state checking and basic retry mechanism for main ES operations.