50 Commits

Author SHA1 Message Date
f9e96fccd3
feat(foreach): 增加带有提前终止功能的遍历方法并优化代码结构
- 新增 forEachB 系列函数,支持在遍历过程中提前终止
- 为数组和集合添加专门的 forEach 和 forEachB 函数
- 优化现有 forEach 函数的实现,提高性能
- 添加针对 Map 类型的 forEachMap 和 forEachMapB 函数
- 更新函数注释,明确参数和返回值的含义
2025-09-15 12:45:16 +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
b19fcba67b
refactor(time): 重构 DateTime 类并添加新功能
- 从 Java 文件中删除了旧的 DateTime 类
- 新增 Kotlin 版本的 DateTime 类,具有以下改进:
  - 添加了时间格式化枚举类 Formatter
  - 新增时间位移类 DateTimeOffset - 重构了 parse 和 format 方法,支持新的 Formatter 枚举  - 优化了文件时间转换方法,使用纳秒精度
- 删除了旧的 DateTimeJsonConverter 类
2025-09-15 11:33:09 +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
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
ceef51506d
1.0.5
All checks were successful
Gitea Actions Build / Build (push) Successful in 50s
2025-07-30 14:40:33 +08:00
d58a1063c1
feat(utils): 新增 Base64Utils 工具类和 ForEach 增强遍历工具- 新增 Base64Utils工具类,提供 Base64 编码和解码功能- 新增 ForEach 工具类,增强集合和映射的遍历功能
Some checks failed
Gitea Actions Build / Build (push) Has been cancelled
- 优化 Collection 工具类中的 sublist 方法
2025-07-30 14:39:50 +08:00
f2f989b7a3
build: 添加 Maven 中央仓库- 在 build.gradle.kts 文件中添加了 mavenCentral() 仓库
All checks were successful
Gitea Actions Build / Build (push) Successful in 49s
- 这个修改确保了项目可以访问 Maven 中央仓库,以获取所需的依赖项
2025-07-25 22:19:55 +08:00
fb66765fd3
ci: 添加 JDK 24 设置
- 在 GitHub Actions 工作流程中添加了设置 JDK 24 的步骤
- 使用 actions/setup-java@v4 动作进行 JDK 24 的配置
- 保留了原有的 JDK 8 设置步骤
2025-07-25 22:17:53 +08:00
9cbc18dc6a
build: 修改 Java 8 的发行源
将 Java 8 的发行源从 Microsoft 更改为 AdoptOpenJDK,以确保构建过程的稳定性和兼容性。
2025-07-25 22:16:41 +08:00
0c1a8cce25
ci: 更新 GitHub Actions 构建环境
- 将构建运行环境从 ubuntu-dev 修改为 ubuntu-latest
2025-07-25 22:15:32 +08:00
ef4c7ff85a
ci: 更新 GitHub Actions 构建环境
- 将构建运行环境从 ubuntu-dev 修改为 ubuntu-latest
2025-07-25 22:13:45 +08:00
93f8cd9386
Merge remote-tracking branch 'origin/master'
All checks were successful
Gitea Actions Build / Build (push) Successful in 49s
# Conflicts:
#	.github/workflows/build.yaml
2025-07-25 22:10:41 +08:00
ab97ba57c8
docs: 添加项目 README 文档并更新 Main 类
- 新增 README.md 文件,详细介绍项目功能、技术栈、使用示例等信息- 更新 Main 类,添加字符串、时间和集合工具的使用示例
2025-07-25 22:07:05 +08:00
57efd3c8c4
ci: 更新 Gradle 版本并配置 JDK 8 环境
- 将 Gradle版本从 8.14.2 升级到 9.0.0-rc-1
- 在 GitHub Actions 中设置 JDK 8 环境
- 更新 gradlew 和 gradlew.bat脚本,优化 Java命令执行
2025-07-25 21:44:21 +08:00
c54cab4a44
ci: 更新 Gitea Actions构建流程
All checks were successful
Gitea Actions Build / Build (push) Successful in 49s
- 修改运行名称为 "Build out Gitea Actions"
- 移除 build-test
2025-07-25 21:33:14 +08:00
3ca79f0772
ci: 更新 Gitea Actions构建流程
All checks were successful
Gitea Actions Build / Build (push) Successful in 51s
- 修改运行名称为 "Build out Gitea Actions"
- 移除 build-test
2025-07-25 21:27:33 +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