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