Orange Add
473d581528
#2825 Fix SubclassMapping stackoverflow exception
2022-09-26 18:52:08 +02:00
Filip Hrisafov
290189652c
#2990 Stabilise top level imports
2022-09-26 18:51:20 +02:00
Filip Hrisafov
51e67ebca4
#2925 Fix IllegalArgumentException when resolving generic parameters
...
When resolving the parameter for a method like:
```
<T> Optional<T> from(T value)
```
There was an exception in javac because getting a DeclaredType from an Optional
with a primitive type argument throws an exception.
Therefore, when assigning the type arguments we get the boxed equivalent.
This problem does not happen in the Eclipse compiler
2022-09-26 18:50:39 +02:00
Filip Hrisafov
1c3c46f1ef
#2907 Add test case for nested import of array
2022-09-26 18:50:07 +02:00
Filip Hrisafov
383ed23ed2
#2945 Stabilise top level imports
...
Make sure that GeneratedType always gets the imported types
from a Type before adding them
2022-09-26 18:49:43 +02:00
Filip Hrisafov
d0e9d69be1
#2937 Fix conditional check for collections with adders
2022-09-26 18:48:54 +02:00
Filip Hrisafov
082b36a50a
#2897 Always import types defined in Mapper#imports
2022-09-26 18:46:46 +02:00
Filip Hrisafov
febed7ea1c
#2928 Add IntelliJ and Eclipse plugin information
2022-09-26 18:46:24 +02:00
Filip Hrisafov
3a94eb80b0
#2949 Do not inverse inherit BeanMapping#ignoreUnmappedSourceProperties
2022-09-26 18:45:54 +02:00
Filip Hrisafov
d9ad48154a
#2974 Fix typos in documentation
...
Closes #2974
2022-09-26 18:45:29 +02:00
Hakan
e5c7fdb2f6
#2839 Keep thrown types when creating a new ForgedMethod with the same arguments
...
This fixes a compilation error when mapping fields with the same type due to not wrapping in a `try-catch` block
2022-09-26 18:45:03 +02:00
Prasanth Omanakuttan
e3f9a1ccd5
Update Typos in javadoc ( #2958 )
2022-09-26 18:43:53 +02:00
dependabot[bot]
62e73464b2
Bump kotlin-stdlib in /integrationtest/src/test/resources/kotlinDataTest
...
Bumps [kotlin-stdlib](https://github.com/JetBrains/kotlin ) from 1.3.70 to 1.6.0.
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.0/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.3.70...v1.6.0 )
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-24 17:55:38 +02:00
Cassius Vinicius de Magalhães
6914889510
Update Chapter 11.2 - Inverse Mappings
...
Clarification of the inverse mapping usage.
2022-07-14 21:30:16 +02:00
Filip Hrisafov
dd5ac3b637
#2929 Improve documentation for BeanMapping#ignoreByDefault
2022-07-09 21:35:36 +02:00
Iaroslav Bogdanchikov
4b43f9079d
#2922 Fix protobuf tests for M1 Macs
2022-07-08 20:35:26 +02:00
fml2
a2b4454a66
fix(docs): No Lombok classes in the runtime
2022-07-01 17:47:55 +02:00
Filip Hrisafov
de8c0c7070
Use UTF-8 when compiling the tests
...
The test infrastructure that we are using should use UTF-8 for generating the StandardJavaFileManager
2022-06-29 08:37:50 +02:00
Ben Zegveld
88745d151e
#2882 : target type is now correctly passed on through the MethodReferencePresenceCheck to the MethodReference.
2022-06-18 23:32:26 +02:00
Filip Hrisafov
07d144ebd1
Update readme with latest released 1.5.2.Final release
2022-06-18 19:11:39 +02:00
Filip Hrisafov
1459aabfc3
[maven-release-plugin] prepare for next development iteration
2022-06-18 19:01:18 +02:00
Filip Hrisafov
19973ff818
[maven-release-plugin] prepare release 1.5.2.Final
1.5.2.Final
2022-06-18 19:01:16 +02:00
Sergei Portnov
406ae3fc13
#2891 Fix subclass mapping while superclass has non-empty constructor
...
Co-authored-by: Filip Hrisafov <filip.hrisafov@gmail.com>
2022-06-18 18:47:07 +02:00
Filip Hrisafov
98eb46aee9
#2880 Fix missing import for array mapping methods
...
Co-authored-by: Martin Kamp Jensen <martin.kamp.jensen@se.com>
2022-06-18 13:59:03 +02:00
Filip Hrisafov
fa800926e7
#2837 Add support for text blocks in expressions
2022-06-18 12:32:05 +02:00
Filip Hrisafov
22ad9f636d
#2806 Try to stabilise some date conversion tests by locking them on reading the default timezone
2022-06-14 22:03:32 +02:00
Filip Hrisafov
05ae9922ea
Update GitHub actions
...
Run tests with Java 18
Change actions/checkout to v3
Change actions/setup-java to v3
2022-06-14 22:01:43 +02:00
Filip Hrisafov
d7c0d15fe1
Change required Java version for running MapStruct in the readme
2022-06-05 15:58:37 +02:00
Filip Hrisafov
9247c5d7fb
#2870 Use codecov action v2
2022-06-05 13:22:37 +02:00
Filip Hrisafov
4c9aa00369
Update readme with latest released 1.5.1.Final release
2022-06-05 08:53:10 +02:00
Filip Hrisafov
20e97714d4
[maven-release-plugin] prepare for next development iteration
2022-06-05 08:42:56 +02:00
Filip Hrisafov
ec9288ce66
[maven-release-plugin] prepare release 1.5.1.Final
1.5.1.Final
2022-06-05 08:42:55 +02:00
Filip Hrisafov
46b78bfe59
#2867 Fix NPE when reporting message on parent mappers
2022-06-05 08:35:31 +02:00
Filip Hrisafov
0726563024
Update readme with latest released 1.5.0.Final release
2022-06-02 23:30:17 +02:00
Filip Hrisafov
5efe5e291c
[maven-release-plugin] prepare for next development iteration
2022-06-02 23:11:41 +02:00
Filip Hrisafov
efa11ba312
[maven-release-plugin] prepare release 1.5.0.Final
1.5.0.Final
2022-06-02 23:11:41 +02:00
Filip Hrisafov
a1a0786cf2
#2846 Add test case showing that everything works as expected
2022-06-02 22:14:42 +02:00
Zegveld
0559c47c21
#2739 Enhance documentation around SPI usage
2022-05-30 21:51:57 +02:00
Filip Hrisafov
c945ccd628
#2835 Upgrade jacoco-maven-plugin to latest 0.8.8 to support Java 17
2022-05-30 21:50:13 +02:00
Filip Hrisafov
9769f51756
#2851 Fix typo in readme
2022-05-30 21:49:57 +02:00
Hao Zhang
a4162809a4
Doc: correct the annotation processor version ( #2859 )
...
The lombok-mapstruct-binding anotation procossor version given by document will result a compile problem, correct it by the example repository so that work fine
2022-05-28 11:37:21 +02:00
Zegveld
437a70d6df
#2807 : Include LifeCycleMethod importTypes in the list of importTypes. ( #2808 )
...
Co-authored-by: Ben Zegveld <Ben.Zegveld@gmail.com>
2022-04-08 20:57:40 +02:00
Filip Hrisafov
6604617730
#2794 Compile error when condition expression used with constant or expression
2022-04-03 15:20:00 +02:00
Zegveld
03d44b5a87
#2795 : use 'includeModel' for the 'sourcePresenceCheckerReference' in the 'UpdateWrapper'. ( #2796 )
...
* #2795 : use 'includeModel' for the 'sourcePresenceCheckerReference' in the 'UpdateWrapper'.
* Simplify the tests
Co-authored-by: Ben Zegveld <Ben.Zegveld@gmail.com>
Co-authored-by: Filip Hrisafov <filip.hrisafov@gmail.com>
2022-04-02 18:55:06 +02:00
Zegveld
2473c3eaaa
#2797 : Add the nested type import types in the NestedPropertyMappingMethod
...
* #2797 : Reproduction scenario
* Add the nested type import types in the NestedPropertyMappingMethod
Co-authored-by: Ben Zegveld <Ben.Zegveld@gmail.com>
Co-authored-by: Filip Hrisafov <filip.hrisafov@gmail.com>
2022-04-02 11:59:25 +02:00
dependabot[bot]
07eeea6bc9
Bump spring-beans from 5.3.15 to 5.3.18 in /parent
...
Bumps [spring-beans](https://github.com/spring-projects/spring-framework ) from 5.3.15 to 5.3.18.
- [Release notes](https://github.com/spring-projects/spring-framework/releases )
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.3.15...v5.3.18 )
---
updated-dependencies:
- dependency-name: org.springframework:spring-beans
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-02 11:25:14 +02:00
Filip Hrisafov
08a0313840
[maven-release-plugin] prepare for next development iteration
2022-03-21 08:14:09 +01:00
Filip Hrisafov
7e00af6ff4
[maven-release-plugin] prepare release 1.5.0.RC1
1.5.0.RC1
2022-03-21 08:14:08 +01:00
Filip Hrisafov
190b486b79
Add users that have contributed post 1.5.0.Beta2 to copyright.txt
2022-03-19 12:09:30 +01:00
Chris DeLashmutt
ab52867831
#2748 Support mapping map keys with invalid chars for methods
2022-03-19 11:51:19 +01:00