Skip to content

Commit

Permalink
Split changelog
Browse files Browse the repository at this point in the history
Allows retaining only the most recent changes in various generated
documentation, such the plugin marketplace and IDE plugin managers.
  • Loading branch information
opwvhk committed Jul 5, 2023
1 parent 4cc2c24 commit 18d1246
Showing 1 changed file with 125 additions and 107 deletions.
232 changes: 125 additions & 107 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ tasks {
</ul>
*/
//language=HTML
val changeLog = """
var changeLog = """
<p>Version 213.5.3:</p>
<ul data-version="213.5.3">
<li>Improved grammar (string literal syntax)</li>
Expand All @@ -133,6 +133,8 @@ tasks {
<ul data-version="213.5.1">
<li>Upgraded dependencies</li>
</ul>
""";
changeLog += """
<p>Version 213.5.0:</p>
<ul data-version="213.5.0">
<li>
Expand All @@ -142,6 +144,8 @@ tasks {
</li>
<li>Added disposed check in menu actions (issue #73)</li>
</ul>
""";
changeLog += """
<p>Version 213.4.3:</p>
<ul data-version="213.4.3">
<li>Fixed issue #77: editor support for angle brackets was broken</li>
Expand All @@ -162,112 +166,126 @@ tasks {
<li>Implement #42: Renaming a schema or field now adds an alias for the old name</li>
<li>Add new settings for #42, making the behaviour congigurable (by default, only fields receive an alias)</li>
</ul>
<p>Version 213.3.1:</p>
<ul data-version="213.3.1">
<li>Fix #38 (Incorrect error message in JSON files with multiple invalid names)</li>
<li>Fix #40 (cannot set caret in inspection actions when used for preview)</li>
</ul>
<p>Version 213.3.0:</p>
<ul data-version="213.3.0">
<li>Fix #36 (incorrectly recognizing nullable primitive types)</li>
<li>Fix #37 (generating IDL can yield invalid names with Avro <= 1.11.0)</li>
<li>Added error report submitter (submit crash reports directly to GitHub)</li>
</ul>
<p>Version 213.2.1:</p>
<ul data-version="213.2.1">
<li>Fixed bug #27 (a ClassCastException)</li>
<li>Cleaned up the code (to prevent more bugs like #27)</li>
</ul>
<p>Version 213.2.0:</p>
<ul data-version="213.2.0">
<li>Using Avro 1.11.1 for conversions</li>
<li>Added support for Kotlin style nullable types (new in Avro 1.11.1)</li>
<li>Added inspection for documentation comments to detect and apply fixes for improvements since Avro 1.11.1</li>
</ul>
<p>Version 213.1.0:</p>
<ul data-version="213.1.0">
<li>Added quick fixes for missing schema / enum symbol references</li>
<li>Added declaration documentation for "quick info" popups</li>
<li>Added move left/right handing for list-like syntax</li>
<li>Improved brace handling</li>
<li>Improved references to schemata in JSON (<code>.avsc</code>/<code>.avpr</code>)</li>
</ul>
<p>Version 213.0.1:</p>
<ul data-version="213.0.1">
<li>Fixed issue #22</li>
</ul>
<p>Version 213.0.0:</p>
<ul data-version="213.0.0">
<li>New File dialog for IDL files</li>
<li>New: inspections for naming conventions and warnings</li>
<li>Improved refactoring actions (converting IDL from/to schema/protocol files)</li>
<li>Extended formatting & syntax highlighting options</li>
<li>Improved quote & brace handling: now supports all "", {}, [] and <> pairs</li>
<li>Using IntelliJ version 2021.3 to test</li>
</ul>
<p>Version 203.1.2:</p>
<ul data-version="203.1.2">
<li>Fixed exception when writing a schema as IDL (issue #16)</li>
<li>Improved formatting of message properties</li>
<li>Improved file import references</li>
<li>Fixed range exception in references</li>
<li>Added error for annotations on references (triggers a bug in Avro &lt; 1.11.1, breaks in later Avro versions)</li>
<li>Improve identifier parsing to match the Avro IDL grammar</li>
</ul>
<p>Version 203.1.1:</p>
<ul data-version="203.1.1">
<li>Fixed NPE in import resolution (issue #14)</li>
<li>Adjusted IDL parsing: improved detection of annotations for messages</li>
<li>Adjusted IDL parsing: allows for more dangling doc comments as allowed by the official parser</li>
</ul>
<p>Version 203.1.0:</p>
<ul data-version="203.1.0">
<li>Adjusted IDL parsing to allow dangling doc comments</li>
<li>Added warnings for dangling doc comments (the Avro IDL compiler ignores these)</li>
</ul>
<p>Version 203.0.3:</p>
<ul data-version="203.0.3">
<li>Added startup check for incompatibilities (i.e., is the other Avro plugin active?)</li>
</ul>
<p>Version 203.0.2:</p>
<ul data-version="203.0.2">
<li>IDL parser now also allows annotations before doc comments (issue #12).</li>
</ul>
<p>Version 203.0.1:</p>
<ul data-version="203.0.1">
<li>Fixed NPEs upon file traversal for plugin actions (issue #9, #11).</li>
<li>Renamed defined languages to prevent name clashes.</li>
</ul>
<p>Version 203.0.0:</p>
<ul data-version="203.0.0">
<li>Changed version number to match IntelliJ builds</li>
<li>Migrated away from deprecated API: minimum supported version is now 2020.3</li>
<li>Added refactoring actions to convert Avro IDL to and from Avro schemas and Avro protocols.</li>
<li>Added file icon variant for dark mode</li>
</ul>
<p>Version 0.2.1:</p>
<ul data-version="0.2.1">
<li>Add Avro Schema and Avro Protocol languages, allowing language injection</li>
</ul>
<p>Version 0.2.0:</p>
<ul data-version="0.2.0">
<li>Add support for imports</li>
<li>Add file types and JSON schemas for <code>.avsc</code> &amp; <code>.avpr</code></li>
</ul>
<p>Version 0.1.1:</p>
<ul data-version="0.1.1">
<li>Extra build for IntelliJ 2020.3</li>
</ul>
<p>Version 0.1.0:</p>
<ul data-version="0.1.0">
<li>Initial release</li>
<li>Full parsing of Avro .avdl files, based on Avro 1.10 syntax</li>
<li>Syntax highlighting & formatting</li>
<li>Code completion based on syntax and supported references</li>
<li>Some semantic checks</li>
<li>Some refactoring support (renaming & deleting named types)</li>
</ul>
"""
""";
//changeLog += """
// <p>Version 213.3.1:</p>
// <ul data-version="213.3.1">
// <li>Fix #38 (Incorrect error message in JSON files with multiple invalid names)</li>
// <li>Fix #40 (cannot set caret in inspection actions when used for preview)</li>
// </ul>
// <p>Version 213.3.0:</p>
// <ul data-version="213.3.0">
// <li>Fix #36 (incorrectly recognizing nullable primitive types)</li>
// <li>Fix #37 (generating IDL can yield invalid names with Avro <= 1.11.0)</li>
// <li>Added error report submitter (submit crash reports directly to GitHub)</li>
// </ul>
// """;
//changeLog += """
// <p>Version 213.2.1:</p>
// <ul data-version="213.2.1">
// <li>Fixed bug #27 (a ClassCastException)</li>
// <li>Cleaned up the code (to prevent more bugs like #27)</li>
// </ul>
// <p>Version 213.2.0:</p>
// <ul data-version="213.2.0">
// <li>Using Avro 1.11.1 for conversions</li>
// <li>Added support for Kotlin style nullable types (new in Avro 1.11.1)</li>
// <li>Added inspection for documentation comments to detect and apply fixes for improvements since Avro 1.11.1</li>
// </ul>
// """;
//changeLog += """
// <p>Version 213.1.0:</p>
// <ul data-version="213.1.0">
// <li>Added quick fixes for missing schema / enum symbol references</li>
// <li>Added declaration documentation for "quick info" popups</li>
// <li>Added move left/right handing for list-like syntax</li>
// <li>Improved brace handling</li>
// <li>Improved references to schemata in JSON (<code>.avsc</code>/<code>.avpr</code>)</li>
// </ul>
// """;
//changeLog += """
// <p>Version 213.0.1:</p>
// <ul data-version="213.0.1">
// <li>Fixed issue #22</li>
// </ul>
// <p>Version 213.0.0:</p>
// <ul data-version="213.0.0">
// <li>New File dialog for IDL files</li>
// <li>New: inspections for naming conventions and warnings</li>
// <li>Improved refactoring actions (converting IDL from/to schema/protocol files)</li>
// <li>Extended formatting & syntax highlighting options</li>
// <li>Improved quote & brace handling: now supports all "", {}, [] and <> pairs</li>
// <li>Using IntelliJ version 2021.3 to test</li>
// </ul>
// """;
//changeLog += """
// <p>Version 203.1.2:</p>
// <ul data-version="203.1.2">
// <li>Fixed exception when writing a schema as IDL (issue #16)</li>
// <li>Improved formatting of message properties</li>
// <li>Improved file import references</li>
// <li>Fixed range exception in references</li>
// <li>Added error for annotations on references (triggers a bug in Avro &lt; 1.11.1, breaks in later Avro versions)</li>
// <li>Improve identifier parsing to match the Avro IDL grammar</li>
// </ul>
// <p>Version 203.1.1:</p>
// <ul data-version="203.1.1">
// <li>Fixed NPE in import resolution (issue #14)</li>
// <li>Adjusted IDL parsing: improved detection of annotations for messages</li>
// <li>Adjusted IDL parsing: allows for more dangling doc comments as allowed by the official parser</li>
// </ul>
// <p>Version 203.1.0:</p>
// <ul data-version="203.1.0">
// <li>Adjusted IDL parsing to allow dangling doc comments</li>
// <li>Added warnings for dangling doc comments (the Avro IDL compiler ignores these)</li>
// </ul>
// """;
//changeLog += """
// <p>Version 203.0.3:</p>
// <ul data-version="203.0.3">
// <li>Added startup check for incompatibilities (i.e., is the other Avro plugin active?)</li>
// </ul>
// <p>Version 203.0.2:</p>
// <ul data-version="203.0.2">
// <li>IDL parser now also allows annotations before doc comments (issue #12).</li>
// </ul>
// <p>Version 203.0.1:</p>
// <ul data-version="203.0.1">
// <li>Fixed NPEs upon file traversal for plugin actions (issue #9, #11).</li>
// <li>Renamed defined languages to prevent name clashes.</li>
// </ul>
// <p>Version 203.0.0:</p>
// <ul data-version="203.0.0">
// <li>Changed version number to match IntelliJ builds</li>
// <li>Migrated away from deprecated API: minimum supported version is now 2020.3</li>
// <li>Added refactoring actions to convert Avro IDL to and from Avro schemas and Avro protocols.</li>
// <li>Added file icon variant for dark mode</li>
// </ul>
// """;
//changeLog += """
// <p>Version 0.2.1:</p>
// <ul data-version="0.2.1">
// <li>Add Avro Schema and Avro Protocol languages, allowing language injection</li>
// </ul>
// <p>Version 0.2.0:</p>
// <ul data-version="0.2.0">
// <li>Add support for imports</li>
// <li>Add file types and JSON schemas for <code>.avsc</code> &amp; <code>.avpr</code></li>
// </ul>
// <p>Version 0.1.1:</p>
// <ul data-version="0.1.1">
// <li>Extra build for IntelliJ 2020.3</li>
// </ul>
// <p>Version 0.1.0:</p>
// <ul data-version="0.1.0">
// <li>Initial release</li>
// <li>Full parsing of Avro .avdl files, based on Avro 1.10 syntax</li>
// <li>Syntax highlighting & formatting</li>
// <li>Code completion based on syntax and supported references</li>
// <li>Some semantic checks</li>
// <li>Some refactoring support (renaming & deleting named types)</li>
// </ul>
// """
changeNotes.set(changeLog)
}

Expand Down

0 comments on commit 18d1246

Please sign in to comment.