From ad951bd04599a305cc0ac022ea1964a276893fc4 Mon Sep 17 00:00:00 2001 From: kwaroran Date: Fri, 5 Apr 2024 21:58:42 +0900 Subject: [PATCH] Update version to 1.93.0 --- src-tauri/tauri.conf.json | 2 +- src/etc/patchNote.ts | 18 ++++++++---------- src/ts/storage/database.ts | 2 +- version.json | 2 +- 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 2b2923e4..cf5f8233 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -8,7 +8,7 @@ }, "package": { "productName": "RisuAI", - "version": "1.92.0" + "version": "1.93.0" }, "tauri": { "allowlist": { diff --git a/src/etc/patchNote.ts b/src/etc/patchNote.ts index 370b9f40..db5b1ef4 100644 --- a/src/etc/patchNote.ts +++ b/src/etc/patchNote.ts @@ -2,16 +2,14 @@ export const patchNote = { version: "1.92", content: ` -# Update 1.92.0 -- Added {{remaind::A::B}} which will return remainder of A divided by B -- Added {{array_element::A::B}} which will return Bth element of array A -- Added {{array_shift::A}} which will return A without first element -- Added {{array_pop::A}} which will return A without last element -- Added {{array_push::A::B}} which will return A with B pushed at the end -- Added {{array_splice::A::B::C::D}} which will return A with C elements removed starting from Bth element and D elements added at Bth position -- Added {{array::A::B...}} which will return an array with A, B and so on -- Added {{datetimeformat::A}} which will return formatted date time string according to A -- Fixed {{#if}} not working in some cases +# Update 1.93.0 +- Added {{#each A B}} syntax for looping through arrays +- Added {{range::A}} syntax which returns an array of numbers from 0 to A +- Added {{assetlist}} and {{emotionlist}} which returns a list of assets and emotions +- Added functionality to update card to realm optionally +- Changed {{history}} behavior to return the array of history +- Fixed a bug where {{#if}} was not working properly when its nested multiple times +- Removed tag dude to buggy behavior ` } diff --git a/src/ts/storage/database.ts b/src/ts/storage/database.ts index e772b271..07ebaa01 100644 --- a/src/ts/storage/database.ts +++ b/src/ts/storage/database.ts @@ -15,7 +15,7 @@ import type { OobaChatCompletionRequestParams } from '../model/ooba'; export const DataBase = writable({} as any as Database) export const loadedStore = writable(false) -export let appVer = "1.92.0" +export let appVer = "1.93.0" export let webAppSubVer = '' export function setDatabase(data:Database){ diff --git a/version.json b/version.json index 569de7f1..a77b7b7f 100644 --- a/version.json +++ b/version.json @@ -1 +1 @@ -{"version":"1.92.0"} \ No newline at end of file +{"version":"1.93.0"} \ No newline at end of file