Skip to content

Commit

Permalink
Update version to 1.91.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kwaroran committed Apr 3, 2024
1 parent 5a4a1d7 commit f35e3e6
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"package": {
"productName": "RisuAI",
"version": "1.90.1"
"version": "1.91.0"
},
"tauri": {
"allowlist": {
Expand Down
22 changes: 17 additions & 5 deletions src/etc/patchNote.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
export const patchNote = {
version: "1.90",
version: "1.91",
content:
`
# Update 1.90.1
- Added {{spread::A}} and {{trim::B}}
- Fixed undefined variable crashing the app
- Now invaild curly brace syntax will be ignored
# Update 1.91.0
- {{#if A}} now trims the whitespace inside the content
- Old {{time}} and {{date}} is renamed to {{message_time}} and {{message_date}}
- Added {{lastcharmessage}} as allias for {{previous_char_chat}}
- Added {{lastusermessage}} as allias for {{previous_user_chat}}
- Added {{newline}} as allias for {{br}}
- Added {{lastmessage}}, which returns the last message sent in the current chat
- Added {{maxcontext}}, which returns the maximum context length
- Added {{lastmessageid}}, which returns the index of the last message sent in the current chat
- Added {{pow::A::B}}, which returns A raised to the power of B
- 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
`
}

Expand Down
2 changes: 1 addition & 1 deletion src/ts/storage/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.90.1"
export let appVer = "1.91.0"
export let webAppSubVer = ''

export function setDatabase(data:Database){
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"1.90.1"}
{"version":"1.91.0"}

0 comments on commit f35e3e6

Please sign in to comment.