Skip to content

Releases: Julien-R44/pino-loki

v2.3.0

12 May 10:22
Compare
Choose a tag to compare

聽聽聽馃殌 Features

  • Convert arrays to indexed object 聽-聽 by @Julien-R44, Joel Edwardson and joeledwardson in #27 (6078a)
聽聽聽聽View changes on GitHub

v2.2.1

16 Jan 18:50
Compare
Choose a tag to compare

聽聽聽馃悶 Bug Fixes

聽聽聽聽View changes on GitHub

v2.2.0

16 Jan 18:42
Compare
Choose a tag to compare

聽聽聽馃殌 Features

聽聽聽馃悶 Bug Fixes

聽聽聽聽View changes on GitHub

v2.1.3

22 May 07:54
Compare
Choose a tag to compare

Downgrade Got dependency and fix CJS/ ESM issue

v2.1.2

22 May 07:09
Compare
Choose a tag to compare

No significant changes

聽聽聽聽View changes on GitHub

v2.1.1

21 May 22:27
Compare
Choose a tag to compare

No significant changes

聽聽聽聽View changes on GitHub

v2.1.0

21 May 21:51
Compare
Choose a tag to compare

Features :

  • We now allows custom headers to be passed to pino-loki through the headers options. This is useful for passing the X-Scope-OrgID header to Loki.
  • Support for nano timestamps has been added. See the example in the examples folder for more details.
  • Added a little utility type for defining pino loki options :
import pino from 'pino'
import type { LokiOptions } from 'pino-loki'

const transport = pino.transport<LokiOptions>({
  target: "pino-loki",
  options: {
    // ...
  },
});

Fix :

  • When batching mode was enabled, some logs could be lost if the main process was killed before the batch was sent. This is now fixed.

Other than that, some code has been refactored :

  • Migrate to ESM
  • Switch to got instead of axios

And some integration tests have been added. Logs are sent to a real loki instance and we check that they are correctly received and parsed. Will add a docker-compose file to make it easier to run the tests soon.

v2.0.4

21 Jan 13:16
Compare
Choose a tag to compare

聽聽聽馃悶 Bug Fixes

聽聽聽聽View changes on GitHub

Update dependencies

19 Aug 10:16
Compare
Choose a tag to compare

Update dependencies

19 Jul 08:21
Compare
Choose a tag to compare