Skip to content

Commit 7c310c5

Browse files
committed
chore(release): 2.31.0
1 parent 3d965f9 commit 7c310c5

File tree

4 files changed

+43
-4
lines changed

4 files changed

+43
-4
lines changed

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,45 @@
22

33
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
44

5+
## [2.31.0](https://github.com/Dicelette/discord-dicelette/compare/2.30.9...2.31.0) (2026-01-02)
6+
7+
8+
### Features
9+
10+
* add disableCompare & sortOrder ([3d965f9](https://github.com/Dicelette/discord-dicelette/commit/3d965f9f93f34fc54c397ab3283e674cd95af9f2))
11+
* add setPity command for managing pity configuration ([24b6612](https://github.com/Dicelette/discord-dicelette/commit/24b66127076347c854e84e018a5bca93489e7775))
12+
* add sortOrder parameter to rollCustomCriticalsFromDice function ([e02812a](https://github.com/Dicelette/discord-dicelette/commit/e02812a6904f424e00895d6e0f5824fd103ca6bc))
13+
* implement trivial comparison caching for pity management ([20a500d](https://github.com/Dicelette/discord-dicelette/commit/20a500d4ce609a20752e81fa3afb5a528f18dd45))
14+
* **order:** add support for sort order global configuration ([9ad6a27](https://github.com/Dicelette/discord-dicelette/commit/9ad6a272b4d2fd7b4bb827d39ff22dab06ff1164))
15+
* **pity:** add pity feature and adjust karma display ([07e3be0](https://github.com/Dicelette/discord-dicelette/commit/07e3be0ac67a4c6971f0b553d69d53026428691f))
16+
* **pity:** trigger pity based on a random value, starting at 75%. ([3c5c0a2](https://github.com/Dicelette/discord-dicelette/commit/3c5c0a2bfed255be5f0ad542a4888f35ece36724))
17+
18+
19+
### Bug Fixes
20+
21+
* allow double sign in exploding dice ([6f6c598](https://github.com/Dicelette/discord-dicelette/commit/6f6c598a9370fe7ce3e2b860a624bfa9236cbc30))
22+
* **bulk:** shouldn't match critical if the dice type doesn't match in bulk roll ([7b399ac](https://github.com/Dicelette/discord-dicelette/commit/7b399acf28f9c909838af05d04d0518005f6f512))
23+
* comment indentation ([277ecf9](https://github.com/Dicelette/discord-dicelette/commit/277ecf92b3af2a8971979210422416e6301ee60e))
24+
* **context:** should not add the context link if the option is disabled ([97b826a](https://github.com/Dicelette/discord-dicelette/commit/97b826a209dad6dfe3e1586ccbc6eb22338f4052))
25+
* **disableCompare:** incomplete comment preservation for multiple comments. ([1f9d754](https://github.com/Dicelette/discord-dicelette/commit/1f9d7544dd7ddf02bcd50de7012c28c421c0f005))
26+
* **disableCompare:** message in example ([60f4c2d](https://github.com/Dicelette/discord-dicelette/commit/60f4c2d1c9afe9a25e5bc9257c226deb8496b012))
27+
* **disableCompare:** update parameter names for clarity in processChainedDiceRoll and isRolling functions ([9dc8634](https://github.com/Dicelette/discord-dicelette/commit/9dc8634ae2982299118f3044dec8165be6f647ee))
28+
* **karma:** display emoji when >1 ([a053cb5](https://github.com/Dicelette/discord-dicelette/commit/a053cb571f00a3785c399e3357cbf56ebf2a6b80))
29+
* **karma:** double counting ([3bad446](https://github.com/Dicelette/discord-dicelette/commit/3bad4460b29950125b65145596a36debc9105709))
30+
* **karma:** fix misleading longestStreak display ([802cbb1](https://github.com/Dicelette/discord-dicelette/commit/802cbb105ace8b038ded54f85ef5aab49d5de4e7))
31+
* **karma:** total key not found ([5ac2777](https://github.com/Dicelette/discord-dicelette/commit/5ac27773b638380d7dfef07dbfb04d7386b491a3))
32+
* no need to check the type of critical as typescript do this for me ([0ba0323](https://github.com/Dicelette/discord-dicelette/commit/0ba0323bfca70f5d3a70cf3ce0893afc08d9de92))
33+
* **pity:** curly brace roll should be detected as trivial too ([b6063e4](https://github.com/Dicelette/discord-dicelette/commit/b6063e4054d8fa62876085220ad66e7aadb147cc))
34+
* **pity:** forgot to pass pity in the shared roll ([067035a](https://github.com/Dicelette/discord-dicelette/commit/067035a36e8cc8565a6928a11aea4bbb744c8a11))
35+
* **pity:** incorrect operator use (should use `||`) ([dc82d27](https://github.com/Dicelette/discord-dicelette/commit/dc82d2787cc09d7574a4f4e92bd9be713d45e2f7))
36+
* **pity:** should check pity only in guild context ([87d1170](https://github.com/Dicelette/discord-dicelette/commit/87d11702d3aab63be2b1088643f18363d21cc8b4))
37+
* **pity:** the prevCacheKey was updated to use the channelId ([de77392](https://github.com/Dicelette/discord-dicelette/commit/de773929101dadd1d31820ed4ab1add423ecfa11))
38+
* **pity:** when adding count, streaks are not updated; when deleting, they must also not be decremented, otherwise the series becomes inconsistent. ([e3da8d1](https://github.com/Dicelette/discord-dicelette/commit/e3da8d1a205d802810c763593a709f50e3467486))
39+
* **pity:** wrong authorid during delete in the cache ([06b2334](https://github.com/Dicelette/discord-dicelette/commit/06b23348a48c4a11be8ef9c9804aec343f2a2827))
40+
* Potential null reference when accessing guild settings. ([104836c](https://github.com/Dicelette/discord-dicelette/commit/104836c1dc199470d1adef06f7b9f3b5b91092cd))
41+
* **shared:** should not displaying a empty line if not comments exists in the shared dice ([75e6cbf](https://github.com/Dicelette/discord-dicelette/commit/75e6cbf3d3a87cf5d0f14bad2a6b8ffb2b976bae))
42+
* **sortOrder:** function should be awaited ([1745703](https://github.com/Dicelette/discord-dicelette/commit/1745703ffce59046773f216bf88148c49dd9a4f2))
43+
544
## [2.30.9](https://github.com/Dicelette/discord-dicelette/compare/2.30.8...2.30.9) (2025-12-24)
645

746

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dicelette",
3-
"version": "2.30.9",
3+
"version": "2.31.0",
44
"private": true,
55
"author": "",
66
"license": "GNU GPLv3",
@@ -78,4 +78,4 @@
7878
],
7979
"t": ""
8080
}
81-
}
81+
}

packages/bot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dicelette/bot",
3-
"version": "2.30.9",
3+
"version": "2.31.0",
44
"private": true,
55
"description": "",
66
"type": "module",

packages/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@dicelette/utils",
3-
"version": "2.30.9",
3+
"version": "2.31.0",
44
"private": true,
55
"description": "",
66
"type": "module",

0 commit comments

Comments
 (0)