ObjectiveRocks 0.7.0
Released on 2017.02.19
- RocksDB Version:
4.6.1
: facebook/rocksdb@8d7926a
Added
- Missing nullability annotations and light-weight generics throughout code base
- New playground content
Updated
- Project for Xcode 8
- Swift tests for Swift 3
- Playground contents and syntax for Swift 3
- Travis config for iOS 10.2, macOS 10.12
- Deployment targets to macOS 10.10, iOS 9.0
Removed
- Removed the deprecated
timeoutHint
option - Removed the deprecated
maxMemCompactionLevel
option
Breaking Changes
The built-in encoding/decoding of keys and values via the encoding options is completelty removed from this release. The API is completely NSData
-based now.
- Removed built-it Key/Value
Encoders
andDecoders
- The conversions of custom types to/from
NSData
is the responsibility of the caller
- The conversions of custom types to/from
- Removed
EncodingOptions
- Removed all methods depending on
EncodingOptions
and the built-in key/valueencoding
and all of the their variants:setObject:forKey:
deleteObjectForKey:
objectForKey:
mergeObject:forKey:
mergeOperation:forKey:
- Refactored all
Iterator
,Key Comparator
andMerge Operator
methods accordingly - Removed
NSNumber
Key-Comparators - Rename method for setting up default read & write options from
setDefaultReadOptions:andWriteOptions:
tosetDefaultReadOptions:writeOptions:
- The custom Swift equivalent is
setDefault(readOptions:writeOptions:)
- The custom Swift equivalent is