aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2020-09-21 01:07:52 +0200
committerRuben Beltran del Rio <ruben@unlimited.pizza>2020-09-21 01:07:52 +0200
commit8d2dfbab7667bef775f220f2d88c0f1f4aab7805 (patch)
tree1340085fb3e7b3282f0c572117f78c95fa70c775 /CHANGELOG.md
parentb3847a2e355c1c5113eb99eb1a755535bd225998 (diff)
Update docs and tooling
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md40
1 files changed, 40 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..b1e8999
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,40 @@
+# 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.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