Skip to content

Releases: sainsburys-tech/next-logger

v2.0.1

27 Jul 16:15
Compare
Choose a tag to compare
Fix audit issues within dev dependencies

Patch global console methods

30 Apr 10:12
Compare
Choose a tag to compare

This adds patches for the global console logging methods. This allows this library to intercept logs made by Next.js, where they are made directly to the console object.

While pino logging remains intact, this may cause issues with other libraries which patch or use console methods. Use the next-only preset to opt-out of this patching.

Support presets for opt-out patches

30 Apr 08:49
Compare
Choose a tag to compare
This adds support for "presets", allowing consumers to opt-in or out of the patches they want to use.

Refactor Next.js patches into their own file

30 Apr 07:52
Compare
Choose a tag to compare
This refactors the Next.js logger patches into their own file, to be imported in the `index` file. This a precursor to presets.

Refactor logging for early binding of prefix

29 Apr 22:19
Compare
Choose a tag to compare
v1.1.1

Refactor logger and early bind to Pino base

Support logging objects

28 Apr 21:10
Compare
Choose a tag to compare
v1.1.0

Remove PID exactness checks from unit tests

Fix npm audit issues

28 Apr 15:18
Compare
Choose a tag to compare

This fixes npm audit issues with the package. There were 5 moderate issues reported, all of which were transitive dependencies of next itself. These were all resolved with npm audit fix.

v1.0.0

29 Dec 16:33
Compare
Choose a tag to compare
Rename to next-logger