From fb7682d963c91bf3b4936e701622b45a82c0893d Mon Sep 17 00:00:00 2001 From: fankesyooni Date: Thu, 7 Sep 2023 01:46:31 +0800 Subject: [PATCH] Bump version to 1.0.2 --- docs/changelog-zh-CN.md | 11 ++++++++++- docs/changelog.md | 12 +++++++++++- gradle.properties | 2 +- settings.gradle.kts | 2 +- 4 files changed, 23 insertions(+), 4 deletions(-) diff --git a/docs/changelog-zh-CN.md b/docs/changelog-zh-CN.md index 8aab3cd..f01c730 100644 --- a/docs/changelog-zh-CN.md +++ b/docs/changelog-zh-CN.md @@ -7,4 +7,13 @@ ## 1.0.1 | 2023.09.04 - 新增启用 `isEnableTypeAutoConversion` 后可以使用 '' 或 "" 强制设置一个键值内容为字符串类型 -- 修改生成的代码中属性键值的内容使用优化后的类型呈现 \ No newline at end of file +- 修改生成的代码中属性键值的内容使用优化后的类型呈现 + +## 1.0.2 | 2023.09.07 + +- 使用 `net.lingala.zip4j` 取代 JDK 默认创建压缩文档功能修复在 Windows 平台中 Gradle 8.0.2+ 版本创建的 JAR 损坏导致找不到生成的 Class 问题 +- 重构自动生成代码部分的装载功能,增加可能找不到 Class 的错误提示 +- 作废了 ~~`propertiesFileName`~~ 方法 +- 新增 `propertiesFileNames` 方法,现在你可以同时设置一组属性配置文件名称了 +- 新增 `includeKeys` 方法,现在你可以设置仅包含的属性键值名称数组了 +- 新增 `keyValuesRules` 方法,现在你可以在属性键值装载过程中修改键值内容的实际解析结果 \ No newline at end of file diff --git a/docs/changelog.md b/docs/changelog.md index 6669f7c..99f71bd 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -7,4 +7,14 @@ ## 1.0.1 | 2023.09.04 - After enabling `isEnableTypeAutoConversion`, you can use '' or "" to force the content of a value to be a string type -- Modify the content of the properties key-values in the generated code to use the optimized type to render \ No newline at end of file +- Modify the content of the properties key-values in the generated code to use the optimized type to render + +## 1.0.2 | 2023.09.07 + +- Use `net.lingala.zip4j` to replace JDK's default function of creating compressed files and fix the problem that the JAR created by Gradle 8.0.2+ + version on Windows platform is broken and the generated classes cannot be found +- Refactor the loading function of the automatically generated code part, and add an error message that classes may not be found +- Deprecated ~~`propertiesFileName`~~ method +- Added `propertiesFileNames` method, now you can set a group of properties file names at the same time +- Added `includeKeys` method, now you can set an array of properties key names to include only +- Added `keyValuesRules` method, now you can modify the actual parsing result of the value content during the properties key-values loading process \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index c4180af..dba398e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ project.description=An easy get project properties anywhere Gradle plugin project.url=https://github.com/HighCapable/SweetProperty project.groupName=com.highcapable.sweetproperty project.moduleName=sweet-property -project.version=1.0.1 +project.version=1.0.2 project.licence.name=Apache License 2.0 project.licence.url=https://github.com/HighCapable/SweetProperty/blob/master/LICENSE project.developer.id=0 diff --git a/settings.gradle.kts b/settings.gradle.kts index ca4cfe0..e5754e7 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -9,7 +9,7 @@ pluginManagement { } plugins { id("com.highcapable.sweetdependency") version "1.0.1" - id("com.highcapable.sweetproperty") version "1.0.1" + id("com.highcapable.sweetproperty") version "1.0.2" } sweetDependency { isEnableVerboseMode = false