Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 2.3.0 #537

Merged
merged 1 commit into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions IDEA_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
* 2.3.0
* chore: polish docs and comments [(#536)](https://github.com/tangcent/easy-api/pull/536)

* chore: fix compatibility issues in compatibility verification [(#535)](https://github.com/tangcent/easy-api/pull/535)

* fix: implement error handling in remoteConfigContent function [(#534)](https://github.com/tangcent/easy-api/pull/534)

* fix: resolve comment for custom enum field [(#533)](https://github.com/tangcent/easy-api/pull/533)

* feat: optimize configuration loading logic for enhanced efficiency and reliability [(#532)](https://github.com/tangcent/easy-api/pull/532)

* 2.2.9
* feat: Enhance support for enum fields in 'field' [(#527)](https://github.com/tangcent/easy-api/pull/527)

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugin_name=EasyApi
plugin_version=2.2.9.212.0
plugin_version=2.3.0.212.0
kotlin.code.style=official
kotlin_version=1.8.0
junit_version=5.9.2
Expand Down
13 changes: 10 additions & 3 deletions idea-plugin/parts/pluginChanges.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
<a href="https://github.com/tangcent/easy-api/releases/tag/v2.2.9">v2.2.9(2023-11-26)</a><br>
<a href="https://github.com/tangcent/easy-api/releases/tag/v2.3.0">v2.3.0(2024-04-01)</a><br>
<a href="https://github.com/tangcent/easy-api/blob/master/IDEA_CHANGELOG.md">Full Changelog</a>

<h3>Enhancements:</h3>

<ul>
<li style="list-style: none">enhancements:</li>
<li>feat: optimize configuration loading logic for enhanced efficiency and reliability (<a href="https://github.com/tangcent/easy-api/pull/532">#532</a>)</li>
</ul>

<li>enhancements: feat: Enhance support for enum fields in 'field' (<a href="https://github.com/tangcent/easy-api/pull/527">#527</a>)</li>
<h3>Fixes:</h3>

<ul>
<li>fix: implement error handling in remoteConfigContent function (<a href="https://github.com/tangcent/easy-api/pull/534">#534</a>)</li>

<li>fix: resolve comment for custom enum field (<a href="https://github.com/tangcent/easy-api/pull/533">#533</a>)</li>
</ul>
10 changes: 6 additions & 4 deletions plugin-script/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ commits=$(git log --pretty=format:"%s" v${last_version}..HEAD | sed 's/\(#\([0-9
echo "commits:${commits}"

# Separate commits into enhancements and fixes
enhancements=$(echo "${commits}" | grep -i "^feat" | sed 's/^/<li>enhancements: /;s/$/<\/li>/')
fixes=$(echo "${commits}" | grep -i "^fix" | sed 's/^/<li>fixes: /;s/$/<\/li>/')
enhancements=$(echo "${commits}" | grep -i "^feat" | sed 's/^/<li>/;s/$/<\/li>/')
fixes=$(echo "${commits}" | grep -i "^fix" | sed 's/^/<li>/;s/$/<\/li>/')
others=$(echo "${commits}" | grep -ivE "^feat|^fix" | sed 's/^/<li>/;s/$/<\/li>/')


Expand All @@ -49,14 +49,16 @@ echo "<a href=\"https://github.com/tangcent/easy-api/releases/tag/v${next_versio
echo "<br/>" >> ${basedir}/idea-plugin/parts/pluginChanges.html
echo "<a href=\"https://github.com/tangcent/easy-api/blob/master/IDEA_CHANGELOG.md\">Full Changelog</a>" >> ${basedir}/idea-plugin/parts/pluginChanges.html

echo "<h3>Enhancements:</h3>" >> ${basedir}/idea-plugin/parts/pluginChanges.html
# Write the list of enhancements to the pluginChanges.html file (if there are any)
if [ -n "${enhancements}" ]; then
echo "<ul>enhancements: ${enhancements}</ul>" >> ${basedir}/idea-plugin/parts/pluginChanges.html
echo "<ul>${enhancements}</ul>" >> ${basedir}/idea-plugin/parts/pluginChanges.html
fi

echo "<h3>Fixes:</h3>" >> ${basedir}/idea-plugin/parts/pluginChanges.html
# Append the list of fixes to the pluginChanges.html file (if there are any)
if [ -n "${fixes}" ]; then
echo "<ul>fixes: ${fixes}</ul>" >> ${basedir}/idea-plugin/parts/pluginChanges.html
echo "<ul>${fixes}</ul>" >> ${basedir}/idea-plugin/parts/pluginChanges.html
fi

# Append the list of other commits to the pluginChanges.html file (if there are any)
Expand Down
Loading