Commit Graph

702 Commits

Author SHA1 Message Date
Him188
a4e7fda416
Raise deprecation level for 2.12 2022-06-14 11:19:44 +01:00
Him188
1a2241b8b2
Add Java-friendly EventChannel.exceptionHandler API, close #1953 2022-06-08 21:42:20 +01:00
Him188
bcaf9b5060
Fix warningSince for deprecation of GroupEntranceAnnouncementChangeEvent 2022-06-08 21:40:42 +01:00
Him188
67984bfbad
Deprecate GroupEntranceAnnouncementChangeEvent, as per #1873 2022-06-08 21:31:50 +01:00
Him188
38465972ba Add more details in QuoteReply.toString 2022-05-25 22:39:53 +01:00
Him188
c75d1f7074 Add MessageSource.isOriginalMessageInitialized 2022-05-25 22:39:53 +01:00
Him188
7687749030 Add more details in MessageSource.toString 2022-05-25 22:39:53 +01:00
Him188
3e38f359ba Add ForwardMessage.BuilderNode.toString 2022-05-25 22:39:53 +01:00
Him188
3b7eb40529 Add implementation notes for MessageSource.originalMessage 2022-05-25 22:39:53 +01:00
Him188
54b3bf405f Add notes for Dice.name 2022-05-25 22:39:53 +01:00
Him188
08d1fc1f38 Add more MessageProtocolTest 2022-05-25 22:39:53 +01:00
Him188
a8c231485c SilentLogger: return false for all isEnabled checks 2022-05-25 22:39:53 +01:00
Him188
0bb86a3b11 Rearrange functions in MessageVisitor to correspond their hierarchy 2022-05-25 22:39:53 +01:00
Him188
0cef98dec0 Fix OfflineAudioFactory configuration 2022-05-25 22:39:53 +01:00
Him188
d6a56f1052 Remove generic type on MessageVisitorUnit 2022-05-25 22:39:53 +01:00
Him188
287769799a Enable kotlin-dynamic-delegation in mirai-core and mirai-core-api 2022-05-25 22:39:53 +01:00
Him188
0c708c8197 Redesign MessageChain hierarchy: Add LinearMessageChainImpl and CombinedMessage 2022-05-25 22:39:53 +01:00
Him188
b40b681f81 Deprecate EmptyMessageChain in favor of emptyMessageChain() 2022-05-25 22:39:53 +01:00
Him188
3955546868 Add MessageVisitor, MessageVisitorEx, Message.accept and Message.acceptChildren as internal API 2022-05-25 22:39:53 +01:00
cssxsh
a1a517c03f
fix: FileMessage.Delegate SerialName (#2041) 2022-05-18 09:07:31 +01:00
Him188
d8ceb7ae5b Fix @since 2022-05-16 19:14:14 +01:00
Him188
4495e36e7c Fix event broadcast directly without checks. Add notes for broadcasting an event. 2022-05-16 19:14:14 +01:00
Him188
2f40d3f432 Deprecate EventDisabled for ERROR 2022-05-16 19:14:14 +01:00
Him188
0c809f4e4c Remove internal EventBroadcast, code cleanup 2022-05-16 19:14:14 +01:00
Him188
497d9ff810 Update docs for Event, EventChannel, and Listener 2022-05-16 19:14:14 +01:00
Him188
c391d3f886 Refine nextEvent and syncFromEvent: handle exceptions correctly 2022-05-16 19:14:14 +01:00
Him188
30dbd1b1c2 Pass exceptions caught in subscriber context to subscriber only 2022-05-16 19:14:14 +01:00
Him188
c192047361 Move event implementations to EventDispatcher and add EventChannel.asFlow. 2022-05-16 19:14:14 +01:00
cssxsh
c6b47a3231
Fix MarketFace contentToString, return '[商城表情]' if original name is empty (#2030) 2022-05-14 11:14:36 +01:00
Karlatemp
cb3bba986c
Fix IMirai initialize; Fix #1861; Fix some error caused by d757764308 2022-05-06 17:47:22 +08:00
Him188
4fa853065c Add BotConfiguration.disableAccountSecretes 2022-05-02 14:01:53 +01:00
Him188
54eb4387e4 Make log4j.Logger.asMiraiLogger and useLog4j2 stable 2022-05-02 11:13:55 +01:00
Karlatemp
c37576fda7
Log exception when failed to initialize java.desktop for better user debugging; Use CLI if in headless mode 2022-04-30 12:49:28 +08:00
Him188
bb8cd86daa Update dependencies:
Kotlin 1.6.21
Dokka 1.6.20
coroutines 1.6.1
atomifFU 0.17.2
serialization 1.3.2
ktor 1.6.7
blocking-bridge 2.0.0-162.1
dynamic-delegation 0.3.0-162.2
2022-04-26 11:12:35 +01:00
Him188
acb048c267 Add errorSince information for deprecation for BotConfiguration.json 2022-04-25 15:50:46 +01:00
Him188
7f85319a92 Deprecate BotConfiguration.json 2022-04-24 15:30:02 +01:00
Him188
1d60cf57b8 Add @since 2.11 for avatarUrl and AvatarSpec (for #1721) 2022-04-24 12:50:33 +01:00
cssxsh
7a9769b618
Add getAvatarUrl(spec: Int) fix (#1557) (#1721)
* Add getAvatarUrl(spec: Int) fix (#1557)

* Add api dump

* Add AvatarSpec

* Add api dump

* fix: docs

* rename: getAvatarUrl
2022-04-24 12:48:18 +01:00
Runze Zhang
cc3d645d4c
Typo fixed (#1978) 2022-04-16 11:16:50 +01:00
Him188
8993de9a13 Review deprecation for 2.11, close #1837 2022-04-13 12:47:21 +01:00
Him188
d1cb05025e Deprecated IMirai.Http for future removal 2022-04-13 12:08:39 +01:00
Him188
2a8f7de23d Throw SendMessageFailedException with new reason AT_ALL_LIMITED, fix #1948 2022-04-02 13:24:30 +01:00
Karlatemp
1688dc9453
Fix typo of ExternalResource 2022-03-22 22:57:30 +08:00
Him188
4c600f9ded Rearrange ExternalResource.toAutoCloseable and update docs for ExternalResource 2022-03-21 13:39:41 +00:00
Him188
57a4b80d55 Update docs for ExternalResource 2022-03-21 13:22:35 +00:00
Him188
91e3ebdd03 Update docs for Image, close #1940 2022-03-21 13:04:24 +00:00
Him188
ab9c2ef2b2 Add Audio.lengthDuration 2022-03-16 15:34:12 +00:00
LaoLittle
827844c5d1
补充Nudge文档: 戳一戳上限 (#1908) 2022-03-05 02:27:00 +00:00
Him188
66bca56e39 Add more detail docs for RoamingMessages 2022-02-12 13:53:23 +00:00
cssxsh
cadb529588
为生成的 IMEI 增加校验位 (#1855)
* feat: luhn

* fix: China Country Code 86

* fix: China Country Code 86

* fix: China Country Code 86
2022-02-12 12:47:19 +00:00