]> git.r.bdr.sh - rbdr/cologne/blob - CHANGELOG.md
c485e9164c72f96ce909e2685a404168374d66d3
[rbdr/cologne] / CHANGELOG.md
1 # Changelog
2 All notable changes to this project will be documented in this file.
3
4 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7 ## [2.0.1] - 2020-09-20
8 ### Added
9 - Sonarcloud config for code quality
10
11 ### Changed
12 - Limits token size to 255 to avoid regex abuse
13 - Changes file test time to allow flushing stream in CI
14
15 ## [2.0.0] - 2020-09-20
16 ### Changed
17 - CHANGELOG format is now using `Keep a Changelog` format.
18 - CI updated to use `gitlab` instead of `circle`
19 - Updates dev dependencies
20 - Replaces `microtime` in favor of `process.hrtime.bigint()`. This means that
21 the timestamp is now in *nanoseconds* and has no decimal component.
22 - If you log an object, it will first attempt to read a `message` property.
23 All other properties will be extended with the log object.
24 - Renamed `log_utilities` to utilities
25 - Changes export so it uses a single object instead of having everything under
26 Cologne
27 - Update README to reflect current usage.
28
29 ### Removed
30 - Removes the meta parameter from buildLog.
31
32 ## [1.1.0] - 2016-01-22
33 ### Added
34 - a new parameter called meta that expects an object, it will be used to extend
35 the log
36 - gettLevelAnsi method, it returns an ANSI keyword depending on the log level
37 sent.
38 - Simple formatter uses `getLevelAnsi`, this means that info and debug get
39 colors: info is blue, debug is green.
40 - Token formatter now supports the `{{_ansi: _level}}` token that uses
41 `getLevelAnsi` to generatte color depending on the level.
42
43 ### Changed
44 - README.md now has references to all the new features
45
46 ## 1.0.0 - 2016-01-21
47 ### Added
48 - Initial log functionality