About the AutoMapper License Change
Hi all,
I think most of the people already know that AutoMapper is going to a license change. It is becoming a commercial product rather than an open source project.
AutoMapper is the most popular object-to-object mapping library for .NET. ABP has used it since the first version.
Details of AutoMapper's commercialization are not clear yet. We are following the situation.
If it becomes a complete commercial product, we are planning to replace it with an open-source and free project. Alternatives are available. We do that because we want to keep the core ABP Framework as open-source and free as possible and not depend on commercial products as much as possible. We will create another object mapper integration and use it in the modules.
If we will have to change AutoMapper and integrate to another library, application developers will have two options:
- Keep using AutoMapper (probably by buying a license)
- Migrate to the new object mapper integration. In that case, we will try to keep the migration process to a minimum. If you've used the ABP's
IObjectMapperservice, then the changes will be much less. You probably need to remove the ABP's AutoMapper integration package and replace the mapping configuration with the new library.
For your information.
Ever consider a code generator to handle the mapping, such as Mapperly?
Can we consider fork the last version of AutoMapper and mantain it within the ABP Community?
Can we consider fork the last version of AutoMapper and mantain it within the ABP Community?
No :)
The latest news is that AutoMapper has officially become commercial. Has ABP decided which library to use as a replacement yet?
Popular Mapper libraries:
AutoMapper: A convention-based object-object mapper in .NET - docs- Mapperly⭐️: A .NET source generator for generating object mappings. No runtime reflection - docs
- Mapster⭐️: A fast, fun, and stimulating object-to-object Mapper - docs
- EmitMapper: Powerful customisable tool for mapping entities to each other
- TinyMapper: A quick object-object mapper for .NET - docs
- ExpressMapper: .Net open source library - lightweight, lighting fast .Net mapper to map one type of object(s) to another in automated and easy way - docs
- AgileMapper: A zero-configuration, highly-configurable object-object mapper with viewable execution plans - docs
- Manual mapping: Generated by MappingGenerator visual studio extension, an "AutoMapper" like Roslyn based, code fix provider that allows to generate mapping code in design time.
The latest news is that AutoMapper has officially become commercial. Has ABP decided which library to use as a replacement yet?
Not yet, we will be working on it.
I am closing this since we decided what to do about that: https://github.com/abpframework/abp/issues/23243