You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e3d6aac
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: changelog.md
+13-16Lines changed: 13 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,30 +17,27 @@ Gave the [UnderScript website](https://git.io/fxysg) a face-lift.
17
17
1. The Large Icon mode notice now offers to switch to small icons, since the game shows large icons already
18
18
### Plugins
19
19
1. Plugin setting pages with too many tabs to fit now split into pages, with arrows to flip between them (special thanks to Wiza for the original idea)<extended>
20
-
- This also applies to any horizontal view made with `utils.tabManager()`. Those can pass `labels: { previous(page, total), next(page, total) }` and `tooltip: underscript.utils.hover` to `tabManager().settings()` to change the tooltip text or use UnderScript's hover instead of a plain `title`.
21
-
- Settings pages always use UnderScript's own arrows and tooltips.
22
-
</extended>
20
+
- This also applies to any horizontal view made with `utils.tabManager()`. Those can pass `labels: { previous(page, total), next(page, total) }` and `tooltip: underscript.utils.hover` to `tabManager().settings()` to change the tooltip text or use UnderScript's hover instead of a plain `title`.
21
+
- Settings pages always use UnderScript's own arrows and tooltips.</extended>
23
22
1. Added `underscript.semver.meets(<version>)` and `isBehind(<version>)` to check the UnderScript version
24
23
1. Added `plugin.settings().name(<string>)` to rename the first settings tab
25
24
1. Fixed `plugin.events.once`, `until`, and `off` not removing listeners
26
25
1. Fixed `underscript.constants.getPriority()` and `isPriority()` throwing an error
27
26
1. Added `underscript.rarity`, and `underscript.constants.getRarity()` and `isRarity()`. `underscript.utils.rarity` now accepts them, and `'DT'` for `'DETERMINATION'`
28
27
1. Fixed `underscript.user.getDecks()`, `getCollection()`, `getArtifacts()`, and `getAllArtifacts()` each making their own request when called at the same time
29
28
1. Added `underscript.d.ts` to each release, so editors like VS Code can suggest and check your plugin code<extended>
30
-
- This is optional, plugins work the same without it.
31
-
- Download `underscript.d.ts` from the latest release and put it next to your plugin's script.
32
-
</extended>
29
+
- This is optional, plugins work the same without it.
30
+
- Download `underscript.d.ts` from the latest release and put it next to your plugin's script.</extended>
33
31
1. Plugin `toast()` API was modified<extended>
34
-
-`plugin.toast()`
35
-
- A `footer` passed to `plugin.toast()` is now kept and shown in front of your plugin's name, instead of being replaced
36
-
- `button.onclick()` was deprecated in favor of `button.onClick()`
37
-
- `buttons` option can set `dismiss: false`, or call `event.preventDefault()` in `onClick`, to keep the toast open after the button is clicked. Buttons still close the toast by default
38
-
- The `css` option of `plugin.toast()` is deprecated, use `className` instead. `css` still works, but a warning will show when used
39
-
-`toast = plugin.toast()`
40
-
- Added `toast.setFooter(text)`, which prepends text to the footer
41
-
- Added `toast.setTitle(title)`, which allows you to modify toast title
42
-
- Added `toast.element`, so you can modify the element directly
43
-
</extended>
32
+
-`plugin.toast()`
33
+
- A `footer` passed to `plugin.toast()` is now kept and shown in front of your plugin's name, instead of being replaced
34
+
-`button.onclick()` was deprecated in favor of `button.onClick()`
35
+
-`buttons` option can set `dismiss: false`, or call `event.preventDefault()` in `onClick`, to keep the toast open after the button is clicked. Buttons still close the toast by default
36
+
- The `css` option of `plugin.toast()` is deprecated, use `className` instead. `css` still works, but a warning will show when used
37
+
-`toast = plugin.toast()`
38
+
- Added `toast.setFooter(text)`, which prepends text to the footer
39
+
- Added `toast.setTitle(title)`, which allows you to modify toast title
40
+
- Added `toast.element`, so you can modify the element directly</extended>
0 commit comments