27 Commits

Author SHA1 Message Date
683aeb2c7f
```
feat(stream): 优化 SuperStream 的 toArray 方法实现- 调整 toArray 方法,支持传入 Class 参数以正确创建泛型数组
- 原无参 toArray 方法改为返回 Object[],避免类型转换异常
- 移除对 ForEach 工具类的依赖
- 提升流处理中数组转换的灵活性与安全性

```

```
feat(collection): 改进 toArray 工具方法支持泛型数组创建

- 新增基于 reified 泛型的 toArray 扩展方法,自动推断数组类型
- 添加带 Class 参数的 toArray 重载方法,用于明确指定元素类型
- 处理空列表时直接返回空数组,避免后续操作异常

```

```
build(gradle): 升级 dokka 插件版本并更新项目依赖- 将 org.jetbrains.dokka 插件升级至 2.1.0-Beta 版本
- 添加 jna5.17.0 依赖用于本地库调用支持
- 引入 mybatis-plus-core 3.0.1 编译依赖
- 更新项目版本号从 4.1.7 至 4.1.8

```
2025-09-21 14:37:22 +08:00
075dc2346a
feat(utils): 更新工具类并优化集合扩展函数
- 更新多个工具类的最后修改时间和用户信息
- 移除冗余的 main 函数测试代码
- 优化 ByteUtils 中流处理方法的引用- 为 Collection 扩展大量实用函数,包括转换、获取元素和创建集合实例等
- 引入 SuperStream 替代部分自定义流处理逻辑
- 调整 Spring Boot 自动配置包扫描路径- 修复资源读取时的空指针风险,使用 Kotlin 的 elvis 操作符简化代码
2025-09-20 14:01:36 +08:00
541a8a82b4
feat(network): 添加网络地址和端口相关工具类
- 新增 NetworkAddress 类用于表示网络地址,支持 IPv4 和 IPv6
- 新增 NetworkPort 类用于表示端口号
- 新增 NetworkEndpoint 类用于封装网络地址和端口信息
- 优化 AutoConfiguration 类,添加更多系统信息
- 更新 AesUtils、Base64Utils等类的版本信息
- 删除 Minecraft SLF 相关无用代码
- 更新项目版本号至 4.0.7
2025-09-15 22:32:56 +08:00
cc3156572f
refactor(stream): 重构流处理相关代码
- 移除 InOutSteam、InputStreanWrapper、OutputStreamWrapper 类
- 删除 Getable、GetIdable、GetKeyable、GetNameable 接口- 更新 ByteUtils 和 Collection.kt 中的流处理逻辑
- 新增 InputStreamUtils.kt 文件,提供输入流相关扩展函数
- 更新项目版本号至 4.0.5
2025-09-15 17:26:39 +08:00
7526b2e787
refactor(time): 重构 DateTime 类并添加新功能
- 从 Java 文件中删除了旧的 DateTime 类
- 新增 Kotlin 版本的 DateTime 类,具有以下改进:
  - 添加了时间格式化枚举类 Formatter
  - 新增时间位移类 DateTimeOffset - 重构了 parse 和 format 方法,支持新的 Formatter 枚举  - 优化了文件时间转换方法,使用纳秒精度
- 删除了旧的 DateTimeJsonConverter 类
2025-09-15 11:20:08 +08:00
dc129c016f
refactor(mingli-utils):重构集合工具类并添加新功能
- 重写 Collection 类,使用 Kotlin 语法和特性优化代码结构
- 添加新方法以支持数组和集合之间的转换
- 新增 CopyOnWriteArrayList、Stack 和 TreeSet 相关方法
-优化现有方法,提高代码可读性和性能
- 删除未使用的 ForEach 导入
-调整 build.gradle.kts 中的依赖项
2025-09-15 09:30:41 +08:00
d6a2117b58
格式化文件 2025-09-14 22:12:22 +08:00
8ef3cb5ba4
refactor(kotlin): 重构 AES 工具类并优化 Base64 编解码方法
- 重构 AesUtils.kt,使用 Kotlin 标准库的 encode 和 decode 方法替代自定义实现- 删除 Java 版本的 Base64Utils 类,迁移到 Kotlin 实现
- 重命名 ByteUtil.kt 为 ByteUtils.kt,统一命名风格
- 删除 Java 版本的 CloneUtil 类和 Factory 类,使用 Kotlin 实现
- 新增 Kotlin 版本的 SpringBeanUtils 工具类重构项目,迁移到 Kotlin

- 将 Java 文件转换为 Kotlin 文件
- 更新项目结构和命名- 优化代码实现
- 添加必要的依赖
2025-09-14 22:10:47 +08:00
1fab0b02be
refactor(kotlin): 重构 AES 工具类并优化 Base64 编解码方法
Some checks failed
Gitea Actions Build / Build (push) Has been cancelled
- 重构 AesUtils.kt,使用 Kotlin 标准库的 encode 和 decode 方法替代自定义实现- 删除 Java 版本的 Base64Utils 类,迁移到 Kotlin 实现
- 重命名 ByteUtil.kt 为 ByteUtils.kt,统一命名风格
- 删除 Java 版本的 CloneUtil 类和 Factory 类,使用 Kotlin 实现
- 新增 Kotlin 版本的 SpringBeanUtils 工具类
2025-09-14 21:47:04 +08:00
fb4e103da8
no message
All checks were successful
Gitea Actions Build / Build (push) Successful in 4m11s
2025-09-14 18:23:34 +08:00
d991b4077b add
All checks were successful
Gitea Actions Build / Build (push) Successful in 5m36s
2025-09-14 10:51:42 +08:00
56080634c7
从java移动代码到kotlin
All checks were successful
Gitea Actions Build / Build (push) Successful in 5m39s
2025-09-12 17:12:32 +08:00
d12fbe0cce
no message
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m2s
2025-09-11 23:59:32 +08:00
9d118ed98d
no message
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m3s
2025-09-11 21:32:01 +08:00
6b7555d727
no message
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m2s
2025-09-11 20:49:33 +08:00
baa5aafe23
no message
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m0s
2025-09-11 19:32:51 +08:00
3dbb686a66
refactor(JsonApiAutoConfiguration): 优化JsonApi自动配置类的导入和条件注解在JsonApiAutoConfiguration类中,移除了未使用的直接导入语句,并将@ConditionalOnClass注解中的类名改为全限定名字符串形式。这样可以避免即使没有实际使用到这些类时也加载它们的情况,从而提高启动效率。同时,对方法参数类型进行了明确指定,增强了代码可读性。
Some checks failed
Gitea Actions Build / Build (push) Has been cancelled
- 移除了`ObjectMapper`, `Gson`, `GsonJsonApi` 和 `JacksonJsonApi` 的直接导入。
- 将`@ConditionalOnClass`注解中的类名改为全限定名字符串形式。
- 对`jacksonJsonApi`和`gsonJsonApi`方法的参数类型进行了明确指定。
2025-09-11 16:55:08 +08:00
972ed6d338
refactor(import-order): 重新排序和整理导入语句
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m3s
在多个文件中调整了导入语句的顺序,并移除了重复的导入语句。
- `AutoConfiguration.java` 中调整了导入语句的顺序。
- `DateTimeToStringConverter.java` 和 `StringToDateTimeConverter.java` 中调整了静态导入的位置。- `JsonStringConverter.java` 中移除了多余的空行。
- `UUIDBinaryTypeHandler.java` 和 `UUIDStringTypeHandler.java` 中调整了导入语句的顺序。

feat(json): 添加新的 GsonJsonApi 类和 JsonApiAutoConfiguration 配置类

- 新增 `GsonJsonApi` 类,实现了 `JsonApi` 接口,提供了 JSON 处理功能。
- 新增 `JsonApiAutoConfiguration` 类,自动配置 `JsonApi` bean,支持 Jackson 和 Gson。
- 更新 `gradle.properties` 文件中的版本号从 3.1.2 到 3.1.3
2025-09-11 16:46:06 +08:00
b1dc8c0ac8
no message
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m3s
2025-09-11 16:26:26 +08:00
77d60b38fc
refactor(autoconfigure): 重构自动配置并添加 Jackson 支持- 重新组织 AutoConfiguration 类结构,优化初始化逻辑
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m0s
- 新增 JacksonAutoConfiguration 类,专门处理 Jackson 相关配置
- 更新版本号至 3.1.1
- 为 SimpleModule 设置自定义名称
- 移除冗余代码,提高代码可读性和维护性
2025-09-11 14:34:46 +08:00
5bf5cf9c7f
build(dependencies): 更新项目依赖并升级版本号
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m3s
- 更新 jakarta.annotation 为 2.1.1 版本
- 移除 javax.annotation.PostConstruct,使用 jakarta.annotation.PostConstruct 替代- 将项目版本号从3.0.7 升级到 3.1.0
2025-09-11 13:54:25 +08:00
741ced2ffc
refactor(uuid): 更新 UUID 类型处理器并调整包结构
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m0s
-将 UUIDBinaryTypeHandler 和 UUIDStringTypeHandler 重命名为特定数据库的实现
- 创建 mysql 和 pgsql 包以区分不同数据库的实现
- 更新版本号至 3.0.7
2025-09-11 10:00:03 +08:00
1a9553b55d
refactor(utils): 重构工具类并添加新功能
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m1s
- 重构了 AutoConfiguration 类,更新了组件扫描路径
- 优化了 Collection 类中的 getOrDefault 方法,增加了对非 List 集合的支持- 添加了 DateTime 类的高精度时间处理功能
- 新增了 DateTimeToStringConverter 类,用于将 DateTime 转换为字符串
- 更新了 ForEach 类中的遍历方法,提高了代码可读性和性能
2025-09-11 09:46:03 +08:00
bbafa86872
refactor(build.gradle.kts):优化构建配置文件
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m2s
- 添加 sourceSets 配置,明确主代码源目录
- 设置 Java 工具链语言版本为 8- 配置 JAR 任务的 duplicatesStrategy 为 EXCLUDE- 更新 META-INF/meta-data 处理方式
2025-09-10 23:23:37 +08:00
09792e2c3b
no message
All checks were successful
Gitea Actions Build / Build (push) Successful in 53s
2025-09-10 20:58:17 +08:00
61776d4c88
feat(utils): 添加通用工具类和 Minecraft SLA 功能
Some checks failed
Gitea Actions Build / Build (push) Failing after 40s
- 新增 Collection 工具类,提供集合操作方法
- 新增 ComponentBean 注解,用于组件标识- 新增 DateTime、DateTimeOffset 和 DateTimeUnit 类,提供时间处理功能
- 新增 Debouncer 类,实现防抖功能
- 新增 Minecraft SLA 相关类,包括 Description 和 Extra
- 更新 .gitattributes,添加 PNG 文件的二进制处理
- 更新 .gitignore,排除 Idea 项目图标- 重构 build.gradle.kts,优化项目构建配置
2025-07-25 21:25:11 +08:00
e171194e48
Initial commit 2025-07-24 16:30:10 +08:00