Skip to content

Commit

Permalink
chore(deps): bump org.mapstruct.version from 1.5.5.Final to 1.6.0 (#455)
Browse files Browse the repository at this point in the history
Bumps `org.mapstruct.version` from 1.5.5.Final to 1.6.0.
Updates `org.mapstruct:mapstruct` from 1.5.5.Final to 1.6.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mapstruct/mapstruct/releases">org.mapstruct:mapstruct's
releases</a>.</em></p>
<blockquote>
<h2>1.6.0</h2>
<h3>Previous Release Notes</h3>
<ul>
<li><a
href="https://github.com/mapstruct/mapstruct/releases/tag/1.6.0.RC1">1.6.0.RC1</a></li>
<li><a
href="https://github.com/mapstruct/mapstruct/releases/tag/1.6.0.Beta2">1.6.0.Beta2</a></li>
<li><a
href="https://github.com/mapstruct/mapstruct/releases/tag/1.6.0.Beta1">1.6.0.Beta1</a></li>
</ul>
<h2>1.6.0.RC1</h2>
<h3>Enhancements</h3>
<ul>
<li>Breaking change: (<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3574">#3574</a>)
-
This reverts <a
href="https://redirect.github.com/mapstruct/mapstruct/issues/2560">#2560</a>,
because we've decided that <code>@BeanMapping(ignoreByDefault =
true)</code> should only be applied to target properties and not to
source properties.
Source properties are ignored anyway, the
<code>BeanMapping#unmappedSourcePolicy</code> should be used to control
what should happen with unmapped source policy</li>
</ul>
<h3>Bugs</h3>
<ul>
<li>Breaking change: Presence check method used only once when multiple
source parameters are provided (<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3601">#3601</a>)</li>
<li>Fix <code>@SubclassMapping</code> not working with
<code>@BeanMapping#ignoreUnmappedSourceProperties</code> (<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3609">#3609</a>)</li>
<li>Fix duplicate method generation with recursive auto mapping (<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3591">#3591</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Fix documentation of <code>unmappedSourcePolicy</code> default value
(<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3635">#3635</a>)</li>
<li>Fix documentation link of before and after mapping when using
builders (<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3639">#3639</a>)</li>
<li>Fix typo in experimental note (<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3634">#3634</a>)</li>
<li>Add example classes for the passing target type documentation (<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3504">#3504</a>)</li>
</ul>
<h3>Build</h3>
<ul>
<li>Enforce whitespaces around the for colon with CheckStyle (<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3642">#3642</a>)</li>
</ul>
<h2>Breaking changes</h2>
<h3>Presence checks for source parameters</h3>
<p>In 1.6, support for presence checks on source parameters has been
added.
This means that even if you want to map a source parameter directly to
some target property the new <code>@SourceParameterCondition</code> or
<code>@condition(appliesTo = ConditionStrategy.SOURCE_PARAMETERS)</code>
should be used.</p>
<p>e.g.</p>
<p>If we had the following in 1.5:</p>
<pre lang="java"><code>@Mapper
public interface OrderMapper {
<pre><code>@mapping(source = &amp;quot;dto&amp;quot;, target =
&amp;quot;customer&amp;quot;, conditionQualifiedByName =
&amp;quot;mapCustomerFromOrder&amp;quot;)
Order map(OrderDTO dto);

@condition
@nAmed(&amp;quot;mapCustomerFromOrder&amp;quot;)
</code></pre>
<p>&lt;/tr&gt;&lt;/table&gt;<br />
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/38ec5c53350905fb8902935306b42fd1845c40c0"><code>38ec5c5</code></a>
Releasing version 1.6.0</li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/81ca739040022ab06991cf3d1d4d12fb8fa68e5b"><code>81ca739</code></a>
<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3638">#3638</a>
Remove deprecation note of enum mapping via <a
href="https://github.com/Mapping"><code>@​Mapping</code></a></li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/0f24633d04c0a568ab879e629a4720f37a51616b"><code>0f24633</code></a>
Fix update website script to be able to run Linux</li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/6365a606c1b7f2c8d2dfb1583c74d46fb122eb1d"><code>6365a60</code></a>
Next version 1.6.0-SNAPSHOT</li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/6ef64ea3aa8320c52a924375d3bc6edf60f0c86d"><code>6ef64ea</code></a>
Releasing version 1.6.0.RC1</li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/bbb9bb403c93e1c938907523ce9fcdeb67c2819c"><code>bbb9bb4</code></a>
Fix typo in changelog</li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/5ce9c537e963709c33f0fa830b6c1da8653bc885"><code>5ce9c53</code></a>
Add release notes</li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/e2edb1a0864b1a2b1a39341a7113a63f40650e92"><code>e2edb1a</code></a>
<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3504">#3504</a>
Add example classes for the passing target type documentation</li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/3047760fd0e22eb0ef4baf50d5f39e624161591d"><code>3047760</code></a>
<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3591">#3591</a>
Fix duplicate method generation with recursive auto mapping</li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/df49ce5ff93fce8c062263a8d56594e776dc0a3a"><code>df49ce5</code></a>
<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3609">#3609</a>
Pass bean mapping ignored unmapped source properties to subclass
forged...</li>
<li>Additional commits viewable in <a
href="https://github.com/mapstruct/mapstruct/compare/1.5.5.Final...1.6.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `org.mapstruct:mapstruct-processor` from 1.5.5.Final to 1.6.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/mapstruct/mapstruct/releases">org.mapstruct:mapstruct-processor's
releases</a>.</em></p>
<blockquote>
<h2>1.6.0</h2>
<h3>Previous Release Notes</h3>
<ul>
<li><a
href="https://github.com/mapstruct/mapstruct/releases/tag/1.6.0.RC1">1.6.0.RC1</a></li>
<li><a
href="https://github.com/mapstruct/mapstruct/releases/tag/1.6.0.Beta2">1.6.0.Beta2</a></li>
<li><a
href="https://github.com/mapstruct/mapstruct/releases/tag/1.6.0.Beta1">1.6.0.Beta1</a></li>
</ul>
<h2>1.6.0.RC1</h2>
<h3>Enhancements</h3>
<ul>
<li>Breaking change: (<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3574">#3574</a>)
-
This reverts <a
href="https://redirect.github.com/mapstruct/mapstruct/issues/2560">#2560</a>,
because we've decided that <code>@BeanMapping(ignoreByDefault =
true)</code> should only be applied to target properties and not to
source properties.
Source properties are ignored anyway, the
<code>BeanMapping#unmappedSourcePolicy</code> should be used to control
what should happen with unmapped source policy</li>
</ul>
<h3>Bugs</h3>
<ul>
<li>Breaking change: Presence check method used only once when multiple
source parameters are provided (<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3601">#3601</a>)</li>
<li>Fix <code>@SubclassMapping</code> not working with
<code>@BeanMapping#ignoreUnmappedSourceProperties</code> (<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3609">#3609</a>)</li>
<li>Fix duplicate method generation with recursive auto mapping (<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3591">#3591</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>Fix documentation of <code>unmappedSourcePolicy</code> default value
(<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3635">#3635</a>)</li>
<li>Fix documentation link of before and after mapping when using
builders (<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3639">#3639</a>)</li>
<li>Fix typo in experimental note (<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3634">#3634</a>)</li>
<li>Add example classes for the passing target type documentation (<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3504">#3504</a>)</li>
</ul>
<h3>Build</h3>
<ul>
<li>Enforce whitespaces around the for colon with CheckStyle (<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3642">#3642</a>)</li>
</ul>
<h2>Breaking changes</h2>
<h3>Presence checks for source parameters</h3>
<p>In 1.6, support for presence checks on source parameters has been
added.
This means that even if you want to map a source parameter directly to
some target property the new <code>@SourceParameterCondition</code> or
<code>@condition(appliesTo = ConditionStrategy.SOURCE_PARAMETERS)</code>
should be used.</p>
<p>e.g.</p>
<p>If we had the following in 1.5:</p>
<pre lang="java"><code>@Mapper
public interface OrderMapper {
<pre><code>@mapping(source = &amp;quot;dto&amp;quot;, target =
&amp;quot;customer&amp;quot;, conditionQualifiedByName =
&amp;quot;mapCustomerFromOrder&amp;quot;)
Order map(OrderDTO dto);

@condition
@nAmed(&amp;quot;mapCustomerFromOrder&amp;quot;)
</code></pre>
<p>&lt;/tr&gt;&lt;/table&gt;<br />
</code></pre></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/38ec5c53350905fb8902935306b42fd1845c40c0"><code>38ec5c5</code></a>
Releasing version 1.6.0</li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/81ca739040022ab06991cf3d1d4d12fb8fa68e5b"><code>81ca739</code></a>
<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3638">#3638</a>
Remove deprecation note of enum mapping via <a
href="https://github.com/Mapping"><code>@​Mapping</code></a></li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/0f24633d04c0a568ab879e629a4720f37a51616b"><code>0f24633</code></a>
Fix update website script to be able to run Linux</li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/6365a606c1b7f2c8d2dfb1583c74d46fb122eb1d"><code>6365a60</code></a>
Next version 1.6.0-SNAPSHOT</li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/6ef64ea3aa8320c52a924375d3bc6edf60f0c86d"><code>6ef64ea</code></a>
Releasing version 1.6.0.RC1</li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/bbb9bb403c93e1c938907523ce9fcdeb67c2819c"><code>bbb9bb4</code></a>
Fix typo in changelog</li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/5ce9c537e963709c33f0fa830b6c1da8653bc885"><code>5ce9c53</code></a>
Add release notes</li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/e2edb1a0864b1a2b1a39341a7113a63f40650e92"><code>e2edb1a</code></a>
<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3504">#3504</a>
Add example classes for the passing target type documentation</li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/3047760fd0e22eb0ef4baf50d5f39e624161591d"><code>3047760</code></a>
<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3591">#3591</a>
Fix duplicate method generation with recursive auto mapping</li>
<li><a
href="https://github.com/mapstruct/mapstruct/commit/df49ce5ff93fce8c062263a8d56594e776dc0a3a"><code>df49ce5</code></a>
<a
href="https://redirect.github.com/mapstruct/mapstruct/issues/3609">#3609</a>
Pass bean mapping ignored unmapped source properties to subclass
forged...</li>
<li>Additional commits viewable in <a
href="https://github.com/mapstruct/mapstruct/compare/1.5.5.Final...1.6.0">compare
view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Aug 21, 2024
1 parent 7e27090 commit c8bbae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<spring.cloud.version>2022.0.4</spring.cloud.version>
<lombok.version>1.18.34</lombok.version>
<lombok.mapstruct.binding.version>0.2.0</lombok.mapstruct.binding.version>
<org.mapstruct.version>1.5.5.Final</org.mapstruct.version>
<org.mapstruct.version>1.6.0</org.mapstruct.version>
<camunda7.version>7.20.0</camunda7.version>
<camunda8.version>8.4.0</camunda8.version>
<springdoc-openapi.version>2.6.0</springdoc-openapi.version>
Expand Down

0 comments on commit c8bbae6

Please sign in to comment.