v15.0.0
Full Changelog: v14.0.0...v15.0.0
- Added support for .NET Standard 2.0
- Requiring license key
- Moving from MIT license to dual commercial/OSS license
To set your license key:
services.AddAutoMapper(cfg => {
cfg.LicenseKey = "<License key here>";
});
This also introduced a breaking change with MapperConfiguration
requiring an ILoggerFactory
for logging purposes:
public MapperConfiguration(MapperConfigurationExpression configurationExpression, ILoggerFactory loggerFactory)
Registering AutoMapper with services.AddAutoMapper
will automatically supply this parameter. Otherwise you'll need to supply the logger factory.
You can obtain your license key at AutoMapper.io