⚡️ Updated for Swift 2.3 - sorry it's taken so long!
📚 1. [YDB-73, YDB-77]: Improvements to README and documentation. Thanks @cdzombak! 👀 2. [YDB-74]: Improvements to CI & automation. 👀 3. [YDB-78]: Annotations the code base with
MARK: -. Thanks again @cdzombak. 👀 4. [YDB-81]: Corrects the spelling of CocoaPods - thanks @ReadmeCritic! ⚡️ 5. [YDB-83]: Switches CI scripts to use
scanand update the Cartfile to point directly at YapDatabase. ⚡️ 6. [YDB-82]: Updates CI pipeline to support Swift 2.1 & Swift 2.2 based branches.
🚀 Sorry this all took so long to get released - kinda dropped off my radar. Thanks to @cdzombak for improving the overall readability of the codebase!
👀 1. [YDB-55]: Removes some leftover references to Saveable. 📇 2. [YDB-58]: Fixes support for Metadata, removes
MetadataPersistableentirely. 📇 3. [YDB-56]: Adds readMetadataAtIndex functional API. 👀 4. [YDB-57]: Adds readAll functional API ⚡️ 5. [YDB-59]: Updates APIs to use SequenceType instead of Array. 📚 6. [YDB-60]: Fixes documentation issues. 👀 7. [YDB-61]: Makes async completion block arguments optional, default to .None. 👀 8. [YDB-62]: Restores the return value behavior of the write functional API. 📇 9. [YDB-64]: Adds missing sequence type for value with value metadata pattern. Somehow missed this earlier. 👀 10. [YDB-65]: Adds a small Curried API, which returns closures accepting transactions. ⚡️ 11. [YDB-66]: Updates the Persistable write API - no longer needs an intermediary generic type. Has correct return values.
Thanks a lot to Ryan (@aranasaurus) for helping me with all these changes - effectively a rewrite of the whole framework.
🚀 This is a a pretty big release, with some breaking changes to be aware of. The significant changes are:
🆕 New API
📇 There is now a new read/write/remove "property" API available to types which implement
Persistable. In addition, now metadata is correctly supported in YapDatabase. The single
MetadataPersistableprotocol allows for optional metadata which does not need to be encoded into the primary object. See #42
🏗 Hello Mac OS X developers! The project and podspec now correctly builds OS X frameworks. See #43.
📚 I've been working really hard to make sure that the code is well tested, feel free to browse the tests. But, I've also got code coverage reports working with new Xcode 7 coverage data, on CodeCov. Currently coverage is 80%, but all APIs are tested. The
YapDBnested types for views, queries, filters etc are poorly tested at the moment (~ 25%). Also, documentation needs a bit a bit more work, but it's steadily improving. See #44, #47.
🌲 Full change log:
📇 1. [YDB-42]: Refactors read & write API, correctly supporting metadata. 👀 2. [YDB-43]: Makes project cross-platform (iOS & Mac OS) 👀 3. [YDB-44]: Enables code coverage reporting with CodeCov.io, see reports here. 👀 4. [YDB-45]: Adds back functional API. ⚡️ 5. [YDB-47]: Updates README. 👀 6. [YDB-48]: Removes
Saveable, created ValueCoding as a standalone project and new dependency.