Skip to content

Latest commit

 

History

History
181 lines (121 loc) · 5.09 KB

CHANGELOG.md

File metadata and controls

181 lines (121 loc) · 5.09 KB

Changelog

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

0.4.3 (2022-01-28)

Bug Fixes

  • Fix security vulnerabilities in dependencies (e438f27)

0.4.2 (2021-05-09)

Bug Fixes

  • serializer: Use toISOString for JSON Date representation (0b03deb)

0.4.1 (2021-05-09)

Features

  • serializer: Add support for Date objects (d5b8344)

0.4.0 - 2020-09-15

Changed

  • improved README.md

Security

  • Updated cross-fetch to resolve vulnerability in its dependency node-fetch

0.4.0-0 - 2020-09-02

Added

  • UMD-support
  • compilation using rollup.js

Changed

  • changed default exports to normal exports for better compatibility
  • renamed Options to LoggerOptions
  • moved types to exported types namespace:
  • interface LoggerOptions
  • class Style
  • interface StyleInterface
  • type LogFunctionFactory
  • type LogFunction

Fixed

  • added ComponentLogger to the documentation

0.3.0 - 2020-09-01

0.3.0-7 - 2020-08-31

Added

  • logo
  • PlainLogger - a LogFunctionFactory for environments with no color support:
import { PlainLogger } from '@fliegwerk/logsemts';

const loggers = [
PlainLogger(), // a LogFunction to log into the browser dev tools
PlainLogger({ logFunction: myFunction }) // use myFunction instead of console.log
];
  • WebhookLogger - a LogFunctionFactory to send serialized form of message to a specific web address in a POST request
import { WebhookLogger } from '@fliegwerk/logsemts';

const loggers = [
// sends a serialized JSON form of the message to the specified address
WebHookLogger({ address: 'http://localhost:8080' })
];
  • documentation of library concept to the README.md

0.3.0-6 - 2020-08-27

0.3.0-5 - 2020-08-27

0.3.0-4 - 2020-08-27

0.3.0-3 - 2020-08-27

0.3.0-2 - 2020-08-27

0.3.0-1 - 2020-08-27

Changed

  • npm publishing logic

0.3.0-0 - 2020-08-27

Breaking changes

  • made BrowserLogger a LogFunctionFactory (() => LogFunction) for consistency.

Upgrade instructions: To upgrade, replace BrowserLogger with BrowserLogger() in your code.

Added

  • ChalkLogger - a chalk based logger for NodeJS environments:
import { ChalkLogger } from '@fliegwerk/logsemts';
import chalk from 'chalk';

const loggers = [
ChalkLogger(chalk) // generates a new LogFunction using the chalk object
];
  • Logger.getComponentLogger - replaces Logger.getSubsystemLogger
  • serialize() and deserialize() - serializer that supports cyclic structures (a['b']['a'] === a) for sending objects in logs over network
  • better CI release automation

Changed

  • moved BrowserLogger.ts to src/loggers folder
  • updated BrowserLogger documentation
  • Terminology: subsystem => component
  • documentation style
  • enhanced documentation

Deprecated

  • Logger.getSubsystemLogger - use Logger.getComponentLogger instead

0.2.0 - 2020-08-26

Added

  • documentation
  • README
  • Coverage reporting to coveralls.io
  • keywords to package.json

0.1.4 - 2020-08-26

Added

  • CHANGELOG (using the fliegwerk CHANGELOG tool)

Changed

  • removed unnecessary files from npm package
  • updated dependencies

0.1.3 - 2020-06-14

Fixed

  • package issues

0.1.2 - 2020-06-14

Fixed

  • package issues

v0.1.1 - 2020-08-26

Initial prerelease.