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