All Versions
267
Latest Version
Avg Release Cycle
15 days
Latest Release
-

Changelog History
Page 14

  • v0.99.1 Changes

    ๐Ÿš€ Released December 21, 2016

    ๐Ÿ›  Fixed

  • v0.99.0 Changes

    ๐Ÿš€ Released December 20, 2016

    ๐Ÿ›  Fixed

    ๐Ÿ†• New

    • FetchedRecordsController no longer crashes whenever an error prevents it from looking for changes after a transaction has potentially modified the tracked request. Instead, it notifies its optional error handler:

      controller.trackErrors { (controller, error) in
          print("Missed a transaction because \(error)")
      }
      
  • v0.98.0 Changes

    ๐Ÿš€ Released December 16, 2016

    ๐Ÿ†• New

    • ๐Ÿ“š StatementArguments can be concatenated with the append(contentsOf:) method and the +, &+, += operators (documentation)

    • Rows expressed as dictionary literals now preserve column ordering, and allow duplicated column names:

      let row: Row = ["foo": 1, "foo": Date(), "baz": nil]
      print(row)
      // Prints <Row foo:1 foo:"2016-12-16 13:19:49.230" baz:NULL>
      
  • v0.97.0 Changes

    ๐Ÿš€ Released December 15, 2016

    ๐Ÿ›  Fixed

    • DatabasePool read and readFromCurrentState methods now properly throw errors whenever they can't acquire an isolated access to the database.

    ๐Ÿ†• New

    • Raw transaction and savepoint SQL statements are properly reflected in transaction observers, Database.isInsideTransaction, etc.
  • v0.96.0 Changes

    ๐Ÿš€ Released December 11, 2016

    ๐Ÿ†• New

    • Request.adapted modifies a request with a row adapter.

      // Person has `email` column, but User expects `identifier` column:
      Person.all()
          .adapted { _ in ColumnMapping(["identifier": "email"]) }
          .bound(to: User.self)
      

    ๐Ÿ’ฅ Breaking Changes

    • ๐Ÿ”จ RowAdapter protocol has been refactored. This only affects your code if you implement your own row adapter.
  • v0.95.0 Changes

    ๐Ÿš€ Released December 9, 2016

    ๐Ÿ†• New

    • ๐Ÿ— SQLRequest, AnyRequest, TypedRequest and AnyTypedRequest are new protocols and concrete types that let you build custom fetch requests.
    • RangeRowAdapter is a new kind of row adapter which exposes a range of columns.

    ๐Ÿ’ฅ Breaking Changes

    • FetchRequest protocol has been renamed Request.
  • v0.94.0 Changes

    ๐Ÿš€ Released December 7, 2016

    ๐Ÿ†• New

    • ๐Ÿ— Database.columnCount(in:) returns the number of columns in a database table. This helps building row adapters for joined requests.
  • v0.93.1 Changes

    ๐Ÿš€ Released December 7, 2016

    ๐Ÿ›  Fixed

    • โœ‚ Removed Record.hasPersistentChangedValues dependency on awakeFromFetch(). This makes it easier to wrap records in other RowConvertible types, since awakeFromFetch() can be overlooked without bad consequences on changes tracking.
  • v0.93.0 Changes

    ๐Ÿš€ Released December 4, 2016

    ๐Ÿ†• New

  • v0.92.1 Changes

    ๐Ÿš€ Released December 2, 2016

    ๐Ÿ›  Fixed

    • Database.execute(_:) now iterates all rows of statements (and executes any side effect performed by the evaluation of each row).