mirror of
https://gitee.com/easii/mapstruct-plus.git
synced 2025-12-06 17:18:43 +08:00
home, modules, bannerBrand, isShowTitleInHome, actionText, actionLink, features, fotter
| home | modules | bannerBrand | isShowTitleInHome | actionText | actionLink | features | fotter | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| true |
|
|
true | About | /views/other/about |
|
|
Other Open Source Project
Latest Version
- maven
<dependency>
<groupId>io.github.linpeilie</groupId>
<artifactId>mapstruct-plus-spring-boot-starter</artifactId>
<version>1.4.4</version>
</dependency>
- gradle
implementation group: 'io.github.linpeilie', name: 'mapstruct-plus-spring-boot-starter', version: '1.4.4'
Change Log
1.4.4
- fix: fixed a problem with missing classes in some Spring release version.
1.4.3
- feat: Added
spring-lazyoption toComponentModelfor lazy loading Spring Beans, resolving mutual dependency issues, and set this option as the default configuration. - fix: Fixed the issue where the default configuration for
unmappedTargetPolicywas not effective. - enhance: Optimized IDEA local development build efficiency, reducing build time and metaspace usage to some extent.Issue #89
1.4.2
- feat: Added the
mapperNameSuffixattribute to theAutoMapperannotation. This supports adding a suffix to the generated conversion interface name, and the reverse conversion interface will be effective under the default rules. - feat: Adapted the
Mapperannotation to support the following attributes:unmappedSourcePolicy,unmappedTargetPolicy,typeConversionPolicy,collectionMappingStrategy,nullValueMappingStrategy,nullValueIterableMappingStrategy,nullValuePropertyMappingStrategy,nullValueCheckStrategy, andmappingControl. - feat: Adapted the
Mappingannotation to support the following attributes:constant,qualifiedBy,nullValueCheckStrategy,nullValuePropertyMappingStrategy, andmappingControl. - feat: Adapted MapStruct configuration to support the following attributes:
typeConversionPolicy,collectionMappingStrategy,nullValueIterableMappingStrategy,nullValueMapMappingStrategy,nullValueCheckStrategy,mappingControl,unexpectedValueMappingException, andsuppressTimestampInGenerated. - fix: Resolved the issue of class name conflicts generated in different packages within the same module.
- feat: Added the
reverseConvertGenerateattribute to theAutoMappingannotation to control whether to generate reverse conversion logic, adapting to more complex application scenarios. - fix: Fixed the issue of conversion rule conflicts when both parent and child classes are configured in
targetClass. - fix: Resolved class name conflicts of configuration classes and proxy classes in different modules.
- feat: Added the
useEnumsattribute toAutoMapper, supporting manual configuration of required enums for conversion, solving the issue of automatic conversion of enums across modules. - Optimized the logic for generating conversion interfaces.
1.4.0
- Optimize complex object conversion logic, take up less meta-space! and faster!
- Get rid of dependencies such as hutool, which currently only rely on MapStruct in the project.
- The adaptation object loop nesting scenario
- feature#63
AutoMapping、ReverseAutoMappingsupportsqualifiedByName,conditionQualifiedByName,anddependsOnproperties. - issue#I93Z2Z
AutoMappingssupports configuration on methods.
Points to note for upgrading 1.4.0
- 1.4.0 and later versions, complex object comparisons reply on
ConvertMapperAdaptergenerated in the project, which may causeNoSuchMethodErrorexceptions under multiple modules because the Class Loading mechanism will load only one, of course, this problem has been around before, and the odds are probably lower, so be sure to configure theadapterPackageto avoid this problem with multiple modules.- Map to object conversions still rely on class conversions in hutool, and additional
hutool-coredependencies need to be introduced if this functionality is required.
1.3.6
- Compatible with internal class conversion.
- The targetClass in the AutoMapping annotation supports configuring the parent class.
- AutoMapperConfig and AutoMapMapperConfig package and class name generated automatically by the framework support configuration.
- Supports AutoMapping annotations configured in the parent class.
……
Code Warehouse
Participate and contribute
- Contribution Code: You are welcome to submit an issue or pull requests
- Maintain Documents: Docs directory under the project directory, welcome to participate in the translation and revision