All notable changes to this project will be documented in this file.
ObjectMapperAdditions adheres to Semantic Versioning.
Released on 2025-08-13
- [SPM] Use default
typeinstead of.dynamicfor libraries
Released on 2025-08-12
- [MongoDateTransform] Better transform logic and tests
- [RealmSwift] No strict limitation on dependency version
- [SPM] Build and warning fixes [With @AndreyzZz]
Released on 2025-04-03
jsonDescriptionforBaseMappableand[BaseMappable]- New transform:
ObjectIdTransform - New transform:
MongoDateTransform
- Realm podspec limitation
< 20.0
Released on 2024-04-09
RealmSwift.Mapmapping support
Released on 2024-03-27
performMappingsafety for frozen and invalidated objects- Carriage return support as a whitespace character
- [EnumTypeCastTransform] Report unknown cases
- [Map] additions
<-operator forListandRealmPropertynow does nothing on key absense to mimic the same behavior ofObjectMapper<-operator forListnow replace existing entries on subsequent mapping
Released on 2023-04-25
<-operator forListandRealmPropertywith custom transform
<-operator forListandRealmPropertynow does nothing on key absense to mimic the same behavior ofObjectMapper<-operator forListnow replace existing entries on subsequent mapping
Released on 2023-04-25
- [EmbeddedObject]
performMapping(_:)
Released on 2023-04-25
- Examples
- Reverted
12.0.0version deprecations ObjectMapperAdditionsandObjectMapperAdditionsCoreSPM frameworks separation
- Carthage
- SPM and Carthage builds
Released on 2023-02-23
<-operator to map and typecastListandRealmProperty- [Object]
performMapping(_:)method to simplify safe mappings
- Using
cancelWriteinstead ofcommitWritefor Realm models mapping
RealmListTransformin favor of<-operatorRealmPropertyTransformRealmPropertyTypeCastTransformin favor of<-operatorRealmTransformRealmTypeCastTransformin favor of<-operator
- Deprecated
RealmOptionalTransform - Deprecated
RealmOptionalTypeCastTransform
Released on 2023-01-29
- Access modifier examples update
- Better code reuse
- Better log messages
- Consider empty string as
nilfor casting - Considering
-string asnil - Min supported OS versions rised
- Error message and param name in data error log
Released on 2022-07-28
- Int to Double rounding warning
Released on 2022-07-28
- More error reports on failure casts
Released on 2022-07-07
- Some transformers are now singletons
Released on 2022-07-07
- Array toJSONData()
- BaseMappable toJSONString(options:)
- Set toJSONData()
- [BaseMappable] toJSONString(options:)
- Check for closing brackets before creation
- Do not fail on whitespaces
- Search for non-whitespace characters instead of warning
RoutableLogger.logErrorinstead ofprintfor type cast errors
- Better error report
- Better invalid JSON messages
- Create specs
Released on 11/17/2021.
- [BaseMappable?].create(jsonData:)
- [BaseMappable?].safeCreate(jsonData:)
- [BaseMappable].create(jsonData:)
- [BaseMappable].create(jsonString:)
- [BaseMappable].safeCreate(jsonData:)
- [BaseMappable].safeCreate(jsonString:)
- [BaseMappable].toJSONData()
- [ImmutableMappable].create(jsonData:)
- [ImmutableMappable].create(jsonString:)
- [ImmutableMappable].safeCreate(jsonData:)
- [ImmutableMappable].safeCreate(jsonString:)
- [Mappable].create(jsonData:)
- [Mappable].create(jsonString:)
- [Mappable].safeCreate(jsonData:)
- [Mappable].safeCreate(jsonString:)
- [[BaseMappable]].create(jsonData:)
- [[BaseMappable]].create(jsonString:)
- [[BaseMappable]].safeCreate(jsonData:)
- [[BaseMappable]].safeCreate(jsonString:)
Released on 11/07/2021.
- Deprecated RealmOptionalTransform
- Deprecated RealmOptionalTypeCastTransform
Released on 04/15/2021.
- SPM support for the latest Realm and ObjectMapper versions [@dams229]
- iOS 11.0 min
- OSx 10.10 min
- Carthage project
Released on 05/20/2020.
- Set minimum iOS deployment target to 10.0 to match ObjectMapper requirements.
Released on 07/25/2019.
- MacOS support for Cocoapods and Carthage
Released on 05/23/2019.
- Swift 5.0 support fix.
- Removed dependency on
ObjectMapper+Realmframework.
Released on 04/04/2019.
- Swift 5.0 support
- EnumTypeCastTransform
Released on 12/30/2018.
- Swift 4.2
Released on 10/13/2018.
- Cocoapods support for tvOS 9.0
Released on 10/13/2018.
- Cocoapods support for tvOS
- Warnings
Released on 03/27/2018.
- RealmOptionalTransform and RealmOptionalTypeCastTransform to trannsform to RealmOptional type
Released on 02/09/2018.
- Realm 3 support for basic types.
- RealmAdditions dependency is not required anymore.
Released on 09/26/2017.
- ISO8601JustDateTransform. Transforms ISO8601 date string to/from Date.
Released on 09/26/2017.
- TimestampTransform. Transforms UNIX timestamp (aka POSIX timestamp or epoch) to/from Date.
Released on 09/21/2017.
- Carthage support
Released on 09/21/2017.
Swift 4 migration
Released on 08/08/2017.
- Carthage support
Released on 07/28/2017.
- Moved core functionality to Core subspec.
- Realm subspec to convert simple type arrays to realm objects.
Released on 07/18/2017.
- Added public inits.
Released on 07/18/2017.
- ObjectMapper+Additions.
- Public extensions fix.
- Cases reordered.
Released on 07/17/2017.
- Initial release of ObjectMapperAdditions.
- Added by Anton Plebanovich.