diff --git a/CHANGELOG.md b/CHANGELOG.md index 913e3a9..6b88156 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Release history +## 2.1.1, 2024-08-06 + +- Fixes "warn" log level outputting all the things. Thanks to [@Erallie](https://github.com/Erallie) for both the heads-up and the fix! [#14](https://github.com/czottmann/obsidian-logstravaganza/issues/14) +- Changes min Obsidian version from 1.4.0 to 1.5.0. + + ## 2.1.0, 2024-05-07 - Adds new output formatter, Markdown Code Blocks, which outputs log entries as diff --git a/manifest.json b/manifest.json index 406ded5..95eff4c 100644 --- a/manifest.json +++ b/manifest.json @@ -1,8 +1,8 @@ { "id": "logstravaganza", "name": "Logstravaganza", - "version": "2.1.0", - "minAppVersion": "1.4.0", + "version": "2.1.1", + "minAppVersion": "1.5.0", "description": "A simple proxy for `console.*()` calls which copies log messages and uncaught exceptions to a file.", "author": "Carlo Zottmann", "authorUrl": "https://github.com/czottmann", diff --git a/package.json b/package.json index bc4927e..19894f1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "logstravaganza", - "version": "2.1.0", + "version": "2.1.1", "description": "A simple proxy for `console.*()` calls which copies log messages and uncaught exceptions to a note or file.", "main": "main.js", "scripts": { diff --git a/src/plugin-info.json b/src/plugin-info.json index 99114b1..9722b2b 100644 --- a/src/plugin-info.json +++ b/src/plugin-info.json @@ -1,4 +1,4 @@ { - "pluginVersion": "2.1.0", - "pluginReleasedAt": "2024-05-07T12:22:52+0200" + "pluginVersion": "2.1.1", + "pluginReleasedAt": "2024-08-06T13:52:23+0200" } diff --git a/src/plugin-info.ts b/src/plugin-info.ts index ed1333c..ff7b318 100644 --- a/src/plugin-info.ts +++ b/src/plugin-info.ts @@ -1,5 +1,5 @@ /* File will be overwritten by bin/release.sh! */ export const PLUGIN_INFO = { - "pluginVersion": "2.1.0", - "pluginReleasedAt": "2024-05-07T12:22:52+0200" + "pluginVersion": "2.1.1", + "pluginReleasedAt": "2024-08-06T13:52:23+0200" } diff --git a/src/utils.ts b/src/utils.ts index 3fb4095..a9db7be 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -89,7 +89,7 @@ export function logLevelFilter(logEvent: LogEvent, logLevel: LogLevel) { case "info": return logEvent.level !== "debug"; case "warn": - return !["debug","info","log"].includes(logLevel); + return !["debug", "info", "log"].includes(logEvent.level); case "error": return !["debug", "info", "log", "warn"].includes(logEvent.level); default: diff --git a/versions.json b/versions.json index 91968b2..c5bb3b8 100644 --- a/versions.json +++ b/versions.json @@ -11,5 +11,6 @@ "1.2.0": "1.2.0", "2.0.0": "1.4.0", "2.0.1": "1.4.0", - "2.1.0": "1.4.0" + "2.1.0": "1.4.0", + "2.1.1": "1.5.0" }