From 6650f2a74ef3f2245383477fea923572fc70d770 Mon Sep 17 00:00:00 2001 From: kwaroran Date: Wed, 1 May 2024 08:15:57 +0900 Subject: [PATCH] Update version numbers to 1.101.0 --- src-tauri/tauri.conf.json | 2 +- src/etc/patchNote.ts | 41 ++++++++++---------------------------- src/ts/storage/database.ts | 2 +- version.json | 2 +- 4 files changed, 13 insertions(+), 34 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index f84faa01..7f399c2c 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -8,7 +8,7 @@ }, "package": { "productName": "RisuAI", - "version": "1.100.3" + "version": "1.101.0" }, "tauri": { "allowlist": { diff --git a/src/etc/patchNote.ts b/src/etc/patchNote.ts index 50c7694e..0723306e 100644 --- a/src/etc/patchNote.ts +++ b/src/etc/patchNote.ts @@ -1,37 +1,16 @@ export const patchNote = { - version: "1.100", + version: "1.101", content: ` -# Update 1.100 -- Improved {{datetimeformat:A}} - - Now it can be also called with {{datetimeformat::A}}, {{date::A}}, {{time::A}} - - Added \`X\` and \`x\` format for unix timestamp - - Characters over 300 will be cut off -- Improved {{calc::A}} - - Now it can be also called with {{? A}} - - Now it can use \`(\` and \`)\` for calculation - - Now it can use \`^\` for power - - Now it can use \`%\` for modulo - - Now it can use \`|\` for or - - Now it can use \`&\` for and - - Now it can use \`<\` for less than - - Now it can use \`>\` for greater than - - Now it can use chat variables by prefixing with \`$\` (e.g. \`$a\`) -- Added {{idle_duration}} - - Old {{idle_duration}} has been renamed to {{message_idle_duration}} - - {{idle_duration}} will return (current time - last message time) -- Added {{setdefaultvar::A::B}} - - If A is not defined, it will be set to B -- Added \`/?\` command -- Added \`risu_user\` and \`risu_char\` variable to jinja template -- Added escape key functionality to close the modal -- Added Text Input Size setting -- Added Text Input Text Size setting -- Added Sidebar Size setting -- Added functionality to make a blank first message by using only {{blank}} -- CloneDeep has been replaced with structuredClone - - This will improve the performance -- Unhandled Error will be automatically alerted now +# Update 1.101 +- Added ≤ (or <=) operator to {{calc::A}} cbs +- Added ≥ (or >=) operator to {{calc::A}} cbs +- Added = (or ==) operator to {{calc::A}} cbs +- Now | and & operators' precedence is 1, instead of 0 +- || now works as alternative to | operator +- && now works as alternative to & operator +- {{calc::A}} cbs is now set to 0 by default, instead of NaN +- {{calc::A}} cbs now automatically fills non-existing values with 0 ` } diff --git a/src/ts/storage/database.ts b/src/ts/storage/database.ts index c3b2f876..b3405285 100644 --- a/src/ts/storage/database.ts +++ b/src/ts/storage/database.ts @@ -14,7 +14,7 @@ import type { OobaChatCompletionRequestParams } from '../model/ooba'; export const DataBase = writable({} as any as Database) export const loadedStore = writable(false) -export let appVer = "1.100.3" +export let appVer = "1.101.0" export let webAppSubVer = '' export function setDatabase(data:Database){ diff --git a/version.json b/version.json index 5623dbc2..8e00e361 100644 --- a/version.json +++ b/version.json @@ -1 +1 @@ -{"version":"1.100.3"} \ No newline at end of file +{"version":"1.101.0"} \ No newline at end of file