]> git.r.bdr.sh - rbdr/cologne/blob - CHANGELOG.md
Update CHANGELOG and package.json
[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.2] - 2020-09-21
8 ### Changed
9 - Fixed links and dates in CHANGELOG.md
10 - Now only lib files will be included in the package
11
12 ## [2.0.1] - 2020-09-21
13 ### Added
14 - Sonarcloud config for code quality
15
16 ### Changed
17 - Limits token size to 255 to avoid regex abuse
18 - Changes file test time to allow flushing stream in CI
19
20 ## [2.0.0] - 2020-09-20
21 ### Changed
22 - CHANGELOG format is now using `Keep a Changelog` format.
23 - CI updated to use `gitlab` instead of `circle`
24 - Updates dev dependencies
25 - Replaces `microtime` in favor of `process.hrtime.bigint()`. This means that
26 the timestamp is now in *nanoseconds* and has no decimal component.
27 - If you log an object, it will first attempt to read a `message` property.
28 All other properties will be extended with the log object.
29 - Renamed `log_utilities` to utilities
30 - Changes export so it uses a single object instead of having everything under
31 Cologne
32 - Update README to reflect current usage.
33
34 ### Removed
35 - Removes the meta parameter from buildLog.
36
37 ## [1.1.0] - 2016-01-22
38 ### Added
39 - a new parameter called meta that expects an object, it will be used to extend
40 the log
41 - gettLevelAnsi method, it returns an ANSI keyword depending on the log level
42 sent.
43 - Simple formatter uses `getLevelAnsi`, this means that info and debug get
44 colors: info is blue, debug is green.
45 - Token formatter now supports the `{{_ansi: _level}}` token that uses
46 `getLevelAnsi` to generatte color depending on the level.
47
48 ### Changed
49 - README.md now has references to all the new features
50
51 ## 1.0.0 - 2016-01-21
52 ### Added
53 - Initial log functionality
54
55 [2.0.2]: https://gitlab.com/rbdr/cologne/-/compare/v2.0.1...v2.0.2
56 [2.0.1]: https://gitlab.com/rbdr/cologne/-/compare/v2.0.0...v2.0.1
57 [2.0.0]: https://gitlab.com/rbdr/cologne/-/compare/v1.1.0...v2.0.0
58 [1.1.0]: https://gitlab.com/rbdr/cologne/-/tags/v1.1.0