Skip to content

Commit c7a0385

Browse files
Next version 1.7.0-SNAPSHOT
1 parent 8431811 commit c7a0385

File tree

10 files changed

+10
-79
lines changed

10 files changed

+10
-79
lines changed

NEXT_RELEASE_CHANGELOG.md

Lines changed: 0 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,10 @@
11
### Features
22

3-
* Support for Java 21 Sequenced Collections (#3240)
4-
* Native support for `java.util.Optional` mapping (#674) - MapStruct now fully supports Optional as both source and target types:
5-
- `Optional` to `Optional` - Both source and target wrapped in `Optional`
6-
- `Optional` to Non-`Optional` - Unwrapping `Optional` values
7-
- Non-`Optional` to `Optional` - Wrapping values in `Optional`
8-
- `Optional` properties in beans with automatic presence checks. Note, there is no null check done for `Optional` properties.
9-
* Improved support for Kotlin. Requires use of `org.jetbrains.kotlin:kotlin-metadata-jvm`.
10-
- Data Classes (#2281, #2577, #3031) - MapStruct now properly handles:
11-
- Single field data classes
12-
- Proper primary constructor detection
13-
- Data classes with multiple constructors
14-
- Data classes with all default parameters
15-
- Sealed Classes (#3404) - Subclass exhaustiveness is now checked for Kotlin sealed classes
16-
* Add support for ignoring multiple target properties at once (#3838) - Using new annotation `@Ignored`
17-
183
### Enhancements
194

20-
* Add support for locale parameter for numberFormat and dateFormat (#3628)
21-
* Detect Builder without a factory method (#3729) - With this if there is an inner class that ends with `Builder` and has a constructor with parameters,
22-
it will be treated as a potential builder.
23-
Builders through static methods on the type have a precedence.
24-
* Add support for custom exception for subclass exhaustive strategy for `@SubclassMapping` mapping (#3821) - Available on `@BeanMapping`, `@Mapper` and `@MappingConfig`.
25-
* Add new `NullValuePropertyMappingStrategy#CLEAR` for clearing Collection and Map properties when updating a bean (#1830)
26-
* Use deterministic order for supporting fields and methods (#3940)
27-
* Support `@AnnotatedWith` on decorators (#3659)
28-
* Behaviour change: Add warning/error for redundant `ignoreUnmappedSourceProperties` entries (#3906)
29-
* Behaviour change: Warning when the target has no target properties (#1140)
30-
* Behaviour change: Initialize `Optional` with `Optional.empty` instead of `null` (#3852)
31-
* Behaviour change: Mark `String` to `Number` as lossy conversion (#3848)
32-
335
### Bugs
346

35-
* Improve error message when mapping non-iterable to array (#3786)
36-
* Fix conditional mapping with `@TargetPropertyName` failing for nested update mappings (#3809)
37-
* Resolve duplicate invocation of overloaded lifecycle methods with inheritance (#3849) - It is possible to disable this by using the new compiler option `mapstruct.disableLifecycleOverloadDeduplicateSelector`.
38-
* Support generic `@Context` (#3711)
39-
* Properly apply `NullValuePropertyMappingStrategy.IGNORE` for collections / maps without setters (#3806)
40-
* Properly recognize the type of public generic fields (#3807)
41-
* Fix method in Record is treated as a fluent setter (#3886)
42-
* Ensure `NullValuePropertyMappingStrategy.SET_TO_DEFAULT` initializes empty collection/map when target is null (#3884)
43-
* Fix Compiler error when mapping an object named `Override` (#3905)
44-
457
### Documentation
468

47-
* General Improvements
48-
* Javadoc
49-
* Typos in comments
50-
* Small code refactorings
51-
529
### Build
5310

54-
* Move Windows and MacOS builds outside of the main workflow
55-
* Update release to release using the new Maven Central Portal
56-
* Skip codecov coverage on forks
57-
* Improve testing support for Kotlin
58-
59-
### Behaviour Change
60-
61-
#### Warning when the target has no target properties (#1140)
62-
63-
With this change, if the target bean does not have any target properties, a warning will be shown.
64-
This is like this to avoid potential mistakes by users, where they might think that the target bean has properties, but it does not.
65-
66-
#### Warning for redundant `ignoreUnmappedSourceProperties` entries (#3906)
67-
68-
With this change, if the `ignoreUnmappedSourceProperties` configuration contains properties that are actually mapped, a warning or compiler error will be shown.
69-
The `unmappedSourcePolicy` is used to determine whether a warning, or an error is shown.
70-
71-
#### Initialize `Optional` with `Optional.empty` instead of `null` (#3852)
72-
73-
With this change, if the target `Optional` property is null, it will be initialized with `Optional.empty()` instead of `null`.
74-
75-
#### Mark `String` to `Number` as lossy conversion (#3848)
76-
77-
With this change, if the source `String` property is mapped to a `Number` property, a warning will be shown.
78-
This is similar to what is happening when mapping `long` to `int`, etc.
79-
The `typeConversionPolicy` `ReportingPolicy` is used to determine whether a warning, error or ignore is shown.

build-config/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.mapstruct</groupId>
1414
<artifactId>mapstruct-parent</artifactId>
15-
<version>1.7.0.Beta1</version>
15+
<version>1.7.0-SNAPSHOT</version>
1616
<relativePath>../parent/pom.xml</relativePath>
1717
</parent>
1818

core-jdk8/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.mapstruct</groupId>
1414
<artifactId>mapstruct-parent</artifactId>
15-
<version>1.7.0.Beta1</version>
15+
<version>1.7.0-SNAPSHOT</version>
1616
<relativePath>../parent/pom.xml</relativePath>
1717
</parent>
1818

core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.mapstruct</groupId>
1414
<artifactId>mapstruct-parent</artifactId>
15-
<version>1.7.0.Beta1</version>
15+
<version>1.7.0-SNAPSHOT</version>
1616
<relativePath>../parent/pom.xml</relativePath>
1717
</parent>
1818

distribution/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.mapstruct</groupId>
1414
<artifactId>mapstruct-parent</artifactId>
15-
<version>1.7.0.Beta1</version>
15+
<version>1.7.0-SNAPSHOT</version>
1616
<relativePath>../parent/pom.xml</relativePath>
1717
</parent>
1818

documentation/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.mapstruct</groupId>
1414
<artifactId>mapstruct-parent</artifactId>
15-
<version>1.7.0.Beta1</version>
15+
<version>1.7.0-SNAPSHOT</version>
1616
<relativePath>../parent/pom.xml</relativePath>
1717
</parent>
1818

integrationtest/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.mapstruct</groupId>
1414
<artifactId>mapstruct-parent</artifactId>
15-
<version>1.7.0.Beta1</version>
15+
<version>1.7.0-SNAPSHOT</version>
1616
<relativePath>../parent/pom.xml</relativePath>
1717
</parent>
1818

parent/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<groupId>org.mapstruct</groupId>
1313
<artifactId>mapstruct-parent</artifactId>
14-
<version>1.7.0.Beta1</version>
14+
<version>1.7.0-SNAPSHOT</version>
1515
<packaging>pom</packaging>
1616

1717
<name>MapStruct Parent</name>
@@ -28,7 +28,7 @@
2828
<maven.compiler.source>${java.version}</maven.compiler.source>
2929
<maven.compiler.target>${java.version}</maven.compiler.target>
3030
<!-- value comes from property git.commit.author.time -->
31-
<project.build.outputTimestamp>2026-02-01T21:45:32Z</project.build.outputTimestamp>
31+
<project.build.outputTimestamp>${git.commit.author.time}</project.build.outputTimestamp>
3232

3333
<org.mapstruct.gem.version>1.0.0.Alpha3</org.mapstruct.gem.version>
3434
<org.apache.maven.plugins.enforcer.version>3.6.2</org.apache.maven.plugins.enforcer.version>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<parent>
1414
<groupId>org.mapstruct</groupId>
1515
<artifactId>mapstruct-parent</artifactId>
16-
<version>1.7.0.Beta1</version>
16+
<version>1.7.0-SNAPSHOT</version>
1717
<relativePath>parent/pom.xml</relativePath>
1818
</parent>
1919

processor/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.mapstruct</groupId>
1414
<artifactId>mapstruct-parent</artifactId>
15-
<version>1.7.0.Beta1</version>
15+
<version>1.7.0-SNAPSHOT</version>
1616
<relativePath>../parent/pom.xml</relativePath>
1717
</parent>
1818

0 commit comments

Comments
 (0)