Skip to content

Commit

Permalink
Release 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
filiphr committed Apr 28, 2024
1 parent e21eeb8 commit ae28328
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions change-notes.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,40 @@
<html lang="en">
<h2>1.7.0</h2>
<ul>
<li>
New Inspections:
<ul>
<li>No source defined in <code>@Mapping</code></li>
<li>
More than one source defined in <code>@Mapping</code>.
Quick fixes:
<ul>
<li>Remove <code>source</code></li>
<li>Remove <code>constant</code></li>
<li>Remove <code>expression</code></li>
<li>Use <code>constant</code> as <code>defaultValue</code></li>
<li>Use <code>expression</code> as <code>defaultExpression</code></li>
</ul>

</li>
<li>
More than one default source in <code>@Mapping</code>.
Quick fixes:
<ul>
<li>Remove <code>defaultValue</code></li>
<li>Remove <code>defaultExpression</code></li>
</ul>
</li>
</ul>
</li>
<li>Align <code>@InheritConfiguration</code> with MapStruct core and support auto inheritance</li>
<li>Support collection getters as viable target setter</li>
<li>Support java text blocks for expression injection</li>
<li>Support <code>Map&lt;String, ?&gt;</code>, as a valid mapping source</li>
<li>Support fluent setters with super types (e.g. Lomboks <code>@SuperBuilder</code></li>
<li>Align expression detection with MapStruct core</li>
<li>Fix "Remove usage of Mappers factory" inspection ignoring component model defined in <code>@MapperConfig</code></li>
</ul>
<h2>1.6.1</h2>
<ul>
<li>Add smart completion for target in <code>Mapping</code> (already mapped target are not proposed)</li>
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runGenerators = true

pluginGroup = org.mapstruct
pluginName = mapstruct-intellij
pluginVersion = 1.6.2-SNAPSHOT
pluginVersion = 1.7.0

publishPluginId =
publishUsername =
Expand Down

0 comments on commit ae28328

Please sign in to comment.