Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 19, 2022

Bumps mirai-core-jvm from 2.9.0-M1 to 2.13.0-M1.

Release notes

Sourced from mirai-core-jvm's releases.

2.13.0-M1 包含:

  • Core 新的 native 编译目标
  • 支持修改好友备注
  • Console 指令参数支持 vararg 和原生类型数组
  • 大量贡献相关文档更新
  • 一些问题修复

以下内容正在进行中, 将发布在 2.13.0-RC:

  • Core 模拟测试框架
  • 支持查看和修改好友分组
  • Console 下载进度条

mirai-core

不兼容变更

  • 将 Ktor 嵌入 mirai-core 并且不公开 (#2096, #2084)

    mirai 内部现在使用 Ktor 2.0 并且不公开.
    所有曾经借由 mirai-core-api 获得 Ktor 依赖的用户都将需要显式定义 Ktor 依赖. 但是这将会解决版本兼容问题. 用户可以任选 Ktor 1 或者 Ktor 2

  • Audio 现在继承 ConstrainSingle (#2093)

    所以它将会只能单独作为内容存在于消息链中
    这不会影响现在以正确逻辑编写的代码, 但可能影响一些边界情况

新特性

  • mirai-core 新增 native 编译目标, 可编译为动态链接库或可执行文件 (#2048)

    native 编译目标是 Kotlin/Native, 不依赖 JVM. 支持 macOS, Windows, Linux.
    目前只可以使用 Kotlin/Native 开发. C API 的导出正计划中.

    特别感谢 @​AdoptOSS 的帮助:

    • 优化 CI 配置 (#2110)
    • 实现 Windows 平台的 socket 请求 (#2121)
    • ECDH 的 OpenSSL 实现 (#2123, #2161)
  • 支持修改好友备注 (#554, #2112)

    friend.remarkval 变为 var, 修改时会触发 FriendRemarkChangeEvent.

  • Image 序列化时支持全部属性 (#2036 by @​cssxsh)

    以前只会输出 imageId, 现在还会输出 width 等全部必要属性. 兼容旧版本, 在读取时会使用默认 0 值.

优化和修复

  • 重写并检查了消息序列化的正确性 (#2159)

    它现在完全支持全平台.
    修复了一些元素的序列化可能有不期望行为的问题, 例如在不应该有 type (classDiscriminator) 的时候有或相反.
    正确支持并验证了 @Contextual.

... (truncated)

Commits
  • 35d0b13 Version 2.13.0-M1
  • a843729 [docs] Add changelog for 2.12.2
  • fa9fa2c [docs] Fix minor typo. Fix #2119
  • 7ff61be [core] fix up 2e4cab43: Rename MiraiInternalMessageFlag to `SkipEventBroadc...
  • 9dc25bb [core] fix up previous 2e4cab43: fix omitted change. #2195
  • 2e4cab4 [core] Fix sending FileMessage on uploadNewFile (regression in 2.12.0), fix...
  • a51f551 Mark ExternalResource.isAutoClose, ExternalResource.useAutoClose and `Ext...
  • 39074f1 [build] Update to Kotlin 1.7.10:
  • e6bef9c [core/common] Process packet body in launched coroutines, instead of suspendi...
  • 9dd57de [core] Fix cache dir on native. part of #2160.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mirai-core-jvm](https://github.com/mamoe/mirai) from 2.9.0-M1 to 2.13.0-M1.
- [Release notes](https://github.com/mamoe/mirai/releases)
- [Commits](mamoe/mirai@v2.9.0-M1...v2.13.0-M1)

---
updated-dependencies:
- dependency-name: net.mamoe:mirai-core-jvm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 19, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 3, 2022

Superseded by #82.

@dependabot dependabot bot closed this Oct 3, 2022
@dependabot dependabot bot deleted the dependabot/maven/net.mamoe-mirai-core-jvm-2.13.0-M1 branch October 3, 2022 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants