64 Commits

Author SHA1 Message Date
0450e87c13
Merge pull request 'dev' (#9) from dev into master
All checks were successful
Gitea Actions Build / Build (push) Successful in 3m11s
Reviewed-on: #9
Auto-Releases-4.0.7-0450e87c13
2025-09-15 22:33:56 +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
7c3c13e28c
feat(utils): 更新版本号并优化 UUID 功能
- 将项目版本号从 4.0.5 升级到 4.0.6
- 更新 Main.kt 文件,使用 UUID 替代 DateTime
- 改进 UUID.kt 中的 equals 方法,支持与 JUUID 类型的比较
2025-09-15 18:03:35 +08:00
e4bb9884c1
Merge pull request 'refactor(stream): 重构流处理相关代码' (#8) from dev into master
All checks were successful
Gitea Actions Build / Build (push) Successful in 2m21s
Reviewed-on: #8
Auto-Releases-4.0.5-e4bb9884c1
2025-09-15 17:27:10 +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
0b1aac8ecc
Merge pull request 'refactor(mybatis): 更新类型处理器以支持 JDBC 类型参数为 null' (#7) from dev into master
All checks were successful
Gitea Actions Build / Build (push) Successful in 2m25s
Reviewed-on: #7
Auto-Releases-4.0.4-0b1aac8ecc
2025-09-15 13:55:22 +08:00
9a6c6cd662
refactor(mybatis): 更新类型处理器以支持 JDBC 类型参数为 null
- 修改 DateTimeTypeHandler、MysqlUUIDBinaryTypeHandler 和 UUIDTypeHandler
- 将 setNonNullParameter 方法的 jdbcType 参数变更为可空类型
- 更新方法实现以适应新的可空参数
- 提升代码的健壮性和灵活性,允许在某些情况下不指定 JDBC 类型
2025-09-15 13:55:01 +08:00
3d1f249970
Merge pull request 'dev' (#6) from dev into master
Some checks failed
Gitea Actions Build / Build (push) Failing after 2m14s
Reviewed-on: #6
2025-09-15 12:46:12 +08:00
b329953377
feat(foreach): 增加带有提前终止功能的遍历方法并优化代码结构
- 新增 forEachB 系列函数,支持在遍历过程中提前终止
- 为数组和集合添加专门的 forEach 和 forEachB 函数
- 优化现有 forEach 函数的实现,提高性能
- 添加针对 Map 类型的 forEachMap 和 forEachMapB 函数
- 更新函数注释,明确参数和返回值的含义
2025-09-15 12:45:59 +08:00
f9e96fccd3
feat(foreach): 增加带有提前终止功能的遍历方法并优化代码结构
- 新增 forEachB 系列函数,支持在遍历过程中提前终止
- 为数组和集合添加专门的 forEach 和 forEachB 函数
- 优化现有 forEach 函数的实现,提高性能
- 添加针对 Map 类型的 forEachMap 和 forEachMapB 函数
- 更新函数注释,明确参数和返回值的含义
2025-09-15 12:45:16 +08:00
d6517287d1
Merge pull request 'feat(utils): 添加 foreach 扩展函数并更新项目版本' (#5) from dev into master
All checks were successful
Gitea Actions Build / Build (push) Successful in 2m4s
Reviewed-on: #5
Auto-Releases-4.0.2-d6517287d1
2025-09-15 12:01:58 +08:00
33999bf4c6
feat(utils): 添加 foreach 扩展函数并更新项目版本
- 新增 ForEach.kt 文件,提供多种 foreach 函数实现
- 更新项目版本至 4.0.2
- 修改 gradle-wrapper.properties 和 gradlew 文件,更新 Gradle 分发 URL
2025-09-15 12:01:38 +08:00
533ba9bed7
Merge pull request 'refactor(time): 重构 DateTime 类并添加新功能' (#4) from dev into master
Some checks failed
Gitea Actions Build / Build (push) Failing after 1m54s
Reviewed-on: #4
2025-09-15 11:33:46 +08:00
b19fcba67b
refactor(time): 重构 DateTime 类并添加新功能
- 从 Java 文件中删除了旧的 DateTime 类
- 新增 Kotlin 版本的 DateTime 类,具有以下改进:
  - 添加了时间格式化枚举类 Formatter
  - 新增时间位移类 DateTimeOffset - 重构了 parse 和 format 方法,支持新的 Formatter 枚举  - 优化了文件时间转换方法,使用纳秒精度
- 删除了旧的 DateTimeJsonConverter 类
2025-09-15 11:33:09 +08:00
092947d81a
Merge pull request 'refactor(time): 重构 DateTime 类并添加新功能' (#3) from dev into master
Some checks failed
Gitea Actions Build / Build (push) Failing after 2m30s
Reviewed-on: #3
2025-09-15 11:20:38 +08:00
7526b2e787
refactor(time): 重构 DateTime 类并添加新功能
- 从 Java 文件中删除了旧的 DateTime 类
- 新增 Kotlin 版本的 DateTime 类,具有以下改进:
  - 添加了时间格式化枚举类 Formatter
  - 新增时间位移类 DateTimeOffset - 重构了 parse 和 format 方法,支持新的 Formatter 枚举  - 优化了文件时间转换方法,使用纳秒精度
- 删除了旧的 DateTimeJsonConverter 类
2025-09-15 11:20:08 +08:00
6a7d73091e
Merge pull request 'refactor(mingli-utils):重构集合工具类并添加新功能' (#2) from dev into master
All checks were successful
Gitea Actions Build / Build (push) Successful in 2m4s
Reviewed-on: #2
Auto-Releases-4.0.0-pre-6a7d73091e
2025-09-15 09:32:42 +08:00
dc129c016f
refactor(mingli-utils):重构集合工具类并添加新功能
- 重写 Collection 类,使用 Kotlin 语法和特性优化代码结构
- 添加新方法以支持数组和集合之间的转换
- 新增 CopyOnWriteArrayList、Stack 和 TreeSet 相关方法
-优化现有方法,提高代码可读性和性能
- 删除未使用的 ForEach 导入
-调整 build.gradle.kts 中的依赖项
2025-09-15 09:30:41 +08:00
67a1256682
Merge pull request 'refactor(kotlin): 重构 AES 工具类并优化 Base64 编解码方法' (#1) from dev into master
All checks were successful
Gitea Actions Build / Build (push) Successful in 4m11s
Reviewed-on: #1
Auto-Releases-3.3.2-67a1256682
2025-09-14 22:13:10 +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
01bfb052d0
refactor(kotlin): 重构 AES 工具类并优化 Base64 编解码方法
Some checks failed
Gitea Actions Build / Build (push) Failing after 1m17s
- 重构 AesUtils.kt,使用 Kotlin 标准库的 encode 和 decode 方法替代自定义实现- 删除 Java 版本的 Base64Utils 类,迁移到 Kotlin 实现
- 重命名 ByteUtil.kt 为 ByteUtils.kt,统一命名风格
- 删除 Java 版本的 CloneUtil 类和 Factory 类,使用 Kotlin 实现
- 新增 Kotlin 版本的 SpringBeanUtils 工具类
2025-09-14 21:47:15 +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
Auto-Releases-3.3.1-fb4e103da8
2025-09-14 18:23:34 +08:00
d991b4077b add
All checks were successful
Gitea Actions Build / Build (push) Successful in 5m36s
Auto-Releases-3.2.7-d991b4077b
2025-09-14 10:51:42 +08:00
56080634c7
从java移动代码到kotlin
All checks were successful
Gitea Actions Build / Build (push) Successful in 5m39s
Auto-Releases-3.2.7-56080634c7
2025-09-12 17:12:32 +08:00
d12fbe0cce
no message
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m2s
Auto-Releases-3.2.6-d12fbe0cce
2025-09-11 23:59:32 +08:00
9d118ed98d
no message
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m3s
Auto-Releases-3.2.5-9d118ed98d
2025-09-11 21:32:01 +08:00
6b7555d727
no message
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m2s
Auto-Releases-3.2.4-6b7555d727
2025-09-11 20:49:33 +08:00
baa5aafe23
no message
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m0s
Auto-Releases-3.2.3-baa5aafe23
2025-09-11 19:32:51 +08:00
2c29e40e47
refactor(JsonApiAutoConfiguration): 优化JsonApi自动配置类的导入和条件注解在JsonApiAutoConfiguration类中,移除了未使用的直接导入语句,并将@ConditionalOnClass注解中的类名改为全限定名字符串形式。这样可以避免即使没有实际使用到这些类时也加载它们的情况,从而提高启动效率。同时,对方法参数类型进行了明确指定,增强了代码可读性。
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m1s
- 移除了`ObjectMapper`, `Gson`, `GsonJsonApi` 和 `JacksonJsonApi` 的直接导入。
- 将`@ConditionalOnClass`注解中的类名改为全限定名字符串形式。
- 对`jacksonJsonApi`和`gsonJsonApi`方法的参数类型进行了明确指定。
Auto-Releases-3.1.5-2c29e40e47
2025-09-11 16:55:14 +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
06ae1d0179
chore(版本更新): 更新项目版本至3.1.4并添加新的自动配置
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m1s
在`gradle.properties`文件中,将项目的版本从3.1.3升级到了3.1.4。
同时,在`AutoConfiguration.imports`文件中新增了两个自动配置类:GsonAutoConfiguration 和 JsonApiAutoConfiguration。这些更改旨在引入新的功能支持,并确保与最新版本的兼容性。
Auto-Releases-3.1.4-06ae1d0179
2025-09-11 16:48:06 +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
Auto-Releases-3.1.3-972ed6d338
2025-09-11 16:46:06 +08:00
b1dc8c0ac8
no message
All checks were successful
Gitea Actions Build / Build (push) Successful in 1m3s
Auto-Releases-3.1.2-b1dc8c0ac8
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 设置自定义名称
- 移除冗余代码,提高代码可读性和维护性
Auto-Releases-3.1.1-77d60b38fc
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
Auto-Releases-3.1.0-5bf5cf9c7f
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
Auto-Releases-3.0.7-741ced2ffc
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 类中的遍历方法,提高了代码可读性和性能
Auto-Releases-3.0.6-1a9553b55d
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 处理方式
Auto-Releases-3.0.4-bbafa86872
2025-09-10 23:23:37 +08:00
1c49c6e151
no message
All checks were successful
Gitea Actions Build / Build (push) Successful in 59s
Auto-Releases-3.0.3-1c49c6e151
2025-09-10 21:04:00 +08:00
6944f3f33f
no message
All checks were successful
Gitea Actions Build / Build (push) Successful in 57s
Auto-Releases-3.0.3-6944f3f33f
2025-09-10 21:01:17 +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
0376ef3a9d
no message
All checks were successful
Gitea Actions Build / Build (push) Successful in 59s
2025-09-09 09:36:48 +08:00
49c3b76250
refactor(mingli-utils):重构并添加多个实用工具类- 重构 AutoConfiguration 类,优化启动时打印逻辑
All checks were successful
Gitea Actions Build / Build (push) Successful in 53s
- 新增 OsPath 类,提供跨平台路径操作支持
- 新增 VersionUtils 类,实现版本号比较功能- 新增 P1R1Function 接口,简化函数式编程
- 优化 Base64Utils、Lists、NetWorkUtil、StringUtil 和 SystemUtil 类
- 更新项目版本号至 2.0.4
2025-09-05 17:56:00 +08:00
0d15cbbcc0
feat(utils): 添加 Jackson ObjectMapper 支持并优化随机数生成器- 在 AutoConfiguration 中添加对 Jackson ObjectMapper 的支持
All checks were successful
Gitea Actions Build / Build (push) Successful in 51s
- 新增 RandomBytes 和 RandomString 类的方法,增强随机数生成功能
- 优化 FieldStructure 类的字段顺序获取逻辑
- 在 SpringBeanUtil 中修正包名常量
2025-09-02 16:35:30 +08:00
9ebd09a810
feat(utils): 添加高精度时间获取功能并优化相关工具类
All checks were successful
Gitea Actions Build / Build (push) Successful in 54s
- 新增 AutoConfiguration 类,用于 Spring Boot 自动配置
- 添加高精度时间获取功能,兼容 Java1.8 及以上版本- 优化 DateTime 类,增加 fileTimeToLocalDateTime 方法
- 更新 ForEach 类,增加对基本类型数组的遍历支持
-调整 Factory 类,使用 BEANS 和 TYPE_BEANS 替代原变量名
- 更新 ByteUtil 类,添加常用字节常量- 修改 HashUtils 类,优化文件读取缓冲区大小
2025-09-02 16:15:35 +08:00
cb10406455
feat(utils): 更新版本号并添加自定义序列化器
All checks were successful
Gitea Actions Build / Build (push) Successful in 54s
-将项目版本号从 1.1.3 升级到1.1.4
-为 time 和 uuid 模块添加自定义的 Jackson 序列化器和反序列化器
- 新增 Serializers 类,统一注册自定义序列化器
2025-08-24 14:19:44 +08:00
2819f5de5d
refactor: 重构项目并添加新功能
All checks were successful
Gitea Actions Build / Build (push) Successful in 51s
- 更新 .gitattributes 和 .gitignore 文件
-重构 AesUtils 类,优化代码结构
- 新增 ByteUtil工具类,用于处理字节数组
- 更新 DateTime 类,增加新方法并改进现有方法- 更新 Gradle 配置和版本号
- 优化 Lists工具类,增加空值安全的 toArray 方法
- 重构 MysqlUUIDv1 类,改进 UUID 转换逻辑
- 更新 UUID 类和 UUIDBinaryTypeHandler 类
- 移除 package.json 中的 pnpm 配置
2025-08-20 11:06:05 +08:00
34dccd1895
feat(utils): 添加 AES 加密解密工具类
All checks were successful
Gitea Actions Build / Build (push) Successful in 51s
- 新增 AesUtils 类,提供 AES/GCM 模式的加密解密方法- 更新 .prettierrc配置,将 useTabs 设置为 true
- 重构 Base64Utils 和 Collection 类的代码结构- 简化 ComponentBean 注解定义
2025-08-17 19:12:08 +08:00