All notable changes to this project will be documented in this file.
ObjectMapperAdditions
adheres to Semantic Versioning.
Released on 2024-04-09
RealmSwift.Map
mapping support
Released on 2024-03-27
performMapping
safety for frozen and invalidated objects- Carriage return support as a whitespace character
- [EnumTypeCastTransform] Report unknown cases
- [Map] additions
<-
operator forList
andRealmProperty
now does nothing on key absense to mimic the same behavior ofObjectMapper
<-
operator forList
now replace existing entries on subsequent mapping
Released on 2023-04-25
<-
operator forList
andRealmProperty
with custom transform
<-
operator forList
andRealmProperty
now does nothing on key absense to mimic the same behavior ofObjectMapper
<-
operator forList
now replace existing entries on subsequent mapping
Released on 2023-04-25
- [EmbeddedObject]
performMapping(_:)
Released on 2023-04-25
- Examples
- Reverted
12.0.0
version deprecations ObjectMapperAdditions
andObjectMapperAdditionsCore
SPM frameworks separation
- Carthage
- SPM and Carthage builds
Released on 2023-02-23
<-
operator to map and typecastList
andRealmProperty
- [Object]
performMapping(_:)
method to simplify safe mappings
- Using
cancelWrite
instead ofcommitWrite
for Realm models mapping
RealmListTransform
in favor of<-
operatorRealmPropertyTransform
RealmPropertyTypeCastTransform
in favor of<-
operatorRealmTransform
RealmTypeCastTransform
in 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
nil
for 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.logError
instead ofprint
for 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+Realm
framework.
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.