Update version to 1.92.0

This commit is contained in:
kwaroran
2024-04-04 06:56:41 +09:00
parent 9d55f61230
commit 74c5b5a8d6
4 changed files with 14 additions and 20 deletions

View File

@@ -8,7 +8,7 @@
}, },
"package": { "package": {
"productName": "RisuAI", "productName": "RisuAI",
"version": "1.91.0" "version": "1.92.0"
}, },
"tauri": { "tauri": {
"allowlist": { "allowlist": {

View File

@@ -1,23 +1,17 @@
export const patchNote = { export const patchNote = {
version: "1.91", version: "1.92",
content: content:
` `
# Update 1.91.0 # Update 1.92.0
- {{#if A}} now trims the whitespace inside the content - Added {{remaind::A::B}} which will return remainder of A divided by B
- Old {{time}} and {{date}} is renamed to {{message_time}} and {{message_date}} - Added {{array_element::A::B}} which will return Bth element of array A
- Added {{lastcharmessage}} as allias for {{previous_char_chat}} - Added {{array_shift::A}} which will return A without first element
- Added {{lastusermessage}} as allias for {{previous_user_chat}} - Added {{array_pop::A}} which will return A without last element
- Added {{newline}} as allias for {{br}} - Added {{array_push::A::B}} which will return A with B pushed at the end
- Added {{lastmessage}}, which returns the last message sent in the current chat - 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 {{maxcontext}}, which returns the maximum context length - Added {{array::A::B...}} which will return an array with A, B and so on
- Added {{lastmessageid}}, which returns the index of the last message sent in the current chat - Added {{datetimeformat::A}} which will return formatted date time string according to A
- Added {{pow::A::B}}, which returns A raised to the power of B - Fixed {{#if}} not working in some cases
- Added {{pick::A::B...}} which returns a random element from the list, but is consistent across the same message
- Added {{time}}, which returns the current time in the format HH:MM:SS in your timezone
- Added {{date}}, which returns the current date in the format YYYY-MM-DD in your timezone
- Added {{isotime}}, which returns the current time in the format HH:MM:SS in UTC
- Added {{isodate}}, which returns the current date in the format YYYY-MM-DD in UTC
- Added {{#if-pure A}} which is the same as {{#if A}}, but does not trim the whitespace inside the content
` `
} }

View File

@@ -15,7 +15,7 @@ import type { OobaChatCompletionRequestParams } from '../model/ooba';
export const DataBase = writable({} as any as Database) export const DataBase = writable({} as any as Database)
export const loadedStore = writable(false) export const loadedStore = writable(false)
export let appVer = "1.91.0" export let appVer = "1.92.0"
export let webAppSubVer = '' export let webAppSubVer = ''
export function setDatabase(data:Database){ export function setDatabase(data:Database){

View File

@@ -1 +1 @@
{"version":"1.91.0"} {"version":"1.92.0"}