Skip to content

Commit

Permalink
(chore): prepare release
Browse files Browse the repository at this point in the history
Co-authored-by: Lobo Metalúrgico <43734867+LoboMetalurgico@users.noreply.github.com>
  • Loading branch information
emanuelfranklyn and LoboMetalurgico committed Jun 27, 2024
1 parent b8c6fd6 commit 690bc6b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# v2.0.0
# v2.0.0-ALPHA.1: Customize Everything (patch)
- [BACKWARDS COMPATIBILITY] Automatically register the console engine if no engine is provided and you try to log something.

- [NEW] Strings with highlightable words separated by `/` and `\` will be highlighted.

# v2.0.0-ALPHA.0: Customize Everything
- [BREAKING] Full rewrite of the constructor and the way the logger works, logging methods however remain the same.

- [BREAKING] Removed the `fileProperties` parameter from the constructor, use instead new FileStorageEngine class for file logging.
Expand Down Expand Up @@ -65,7 +70,7 @@

- [NEW] Added support to log objects, arrays and etc. Like the default `console.log` function.

- [BREAKING] Changed the export of AutoLogEnd now importing the package will return the `Logger` class and a object named `AutoLogEnd` with the `activate` and `deactivate` functions.
- [BREAKING] Changed the export of AutoLogEnd. Now, importing the package will return the `Logger` class and a object named `AutoLogEnd` with the `activate` and `deactivate` functions.

- [NEW] AutoLogEnd `activate` function now accepts a `Logger` instance as 2º parameter. If not passed it will create a new instance of `Logger` with the default parameters. otherwise it will use the passed instance.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@promisepending/logger.js",
"version": "2.0.0-alpha.0",
"version": "2.0.0-alpha.1",
"description": "A better logger",
"main": "build/index.js",
"types": "src/main/index.ts",
Expand Down

0 comments on commit 690bc6b

Please sign in to comment.