Changelog History
Page 2
-
v2.0.1 Changes
π 1. [YDB-41]: Removes FRP extensions which donβt support Swift 2.0 yet.
-
v2.0.0 Changes
π 1. [YDB-38]: Preparations for Swift 2.0.
-
v1.8.0 Changes
π 1. [YDB-36]: Sets the required version of BrightFutures to the latest for Swift 1.2, which is 2.0.1. π 2. [YDB-37]: Sets the required version of PromiseKit to the latest for Swift 1.2, which is 2.2.1 (as submitted to CocoaPods).
-
v1.7.0 Changes
π 1. [YDB-25]: Adds
YapDB.Search
to aid with running FTS queries. An example of using with will be forthcoming (probably after Swift 2.0 has settled). But essentially, you can initialize it with your db, an array ofYapDB.Fetch
values (which should be views) and a string mapper. Then executeusingTerm(term: String)
with the search term supplied by the user to run the search. π 2. [YDB-26]: Adds some missing default parameters for theYapDB.SecondaryIndex
wrapper. π 3. [YDB-27]: Removes an explicit unwrap which could cause a crash if pattern matching against value types. π 4. [YDB-29]: Adds support toYapDatabaseConnection
for writeBlockOperation (NSBlockOperation
), write and remove APIs. This is great if you want to perform a number of writes of different types in the same transaction inside of anNSOperation
based architecture, as you can do:queue.addOperation(connection.writeBlockOperation { transaction in transaction.write(foo) transaction.write(bar) transaction.remove(bat) })
If you're using my
Operations
framework, as these operations areNSBlockOperation
s, useComposedOperation
to attach conditions or observers. E.g.let write = ComposedOperation(connection.writeBlockOperation { transaction in transaction.write(foo) transaction.write(bar) transaction.remove(bat) }) write.addCondition(UserConfirmationCondition()) // etc etc queue.addOperation(write)
π 5. [YDB-30]: Expands the
YapDB.Mappings
type to support the fullYapDatabaseViewMappings
gamut. π 6. [YDB-31]: Silences a warning in theremoveAtIndexes
API. -
v1.6.0 Changes
π 1. [YDB-22]: Adds
YapDB.Fetch.Index
which wrapsYapDatabaseSecondaryIndex
extension. π 2. [YDB-23]: Fixes a crash which has been observed in some cases in a Release configuration where writing a value type can fail to get the typeβs Archiver. π 3. [YDB-24]: Just cleans up some of the code. -
v1.5.0 Changes
π 1. [YDB-19]: Implements Saveable on YapDB.Index. This makes it easier to store references between YapDatabase objects. In general this is preferable to storing references as
let fooId: Foo.IdentifierType
. π 2. [YDB-21]: Restructures the project. The framework is now in an Xcode project inframework
, with its associated unit tests in place. This is in preparation for Xcode 7, to get code coverage of the framework. The Example has been moved toexamples/iOS
, although it doesnβt really do much, except provide some models. -
v1.4.0 Changes
π 1. [YDB-16]: Adds helper APIs for creating a YapDatabase. Includes a function for creating temporary database for use inside unit tests.
-
v1.1.1 Changes
π 1. [YDB-11]: Renames
YapDatabase.Index
toYapDB.Index
.