GRDB.swift v0.65.0 Release Notes

  • ๐Ÿš€ Released May 19, 2016

    ๐Ÿ›  Fixed

    • ๐Ÿ›  GRDB throws an early error when a connection to a file can not be established because it has the wrong format, or is encrypted. Fixes #54.

    ๐Ÿ’ฅ Breaking Change

    • The FetchRequest struct has been renamed QueryInterfaceRequest. A new FetchRequest protocol has been introduced. All APIs that used to consume the FetchRequest struct now consume the FetchRequest protocol.

      This change should not have any consequence on your source code, and paves the way for easier configuration of any piece of "code that fetches".

      -struct FetchRequest<T> {
      -}
      +protocol FetchRequest {
      +    func selectStatement(db: Database) throws -> SelectStatement
      +}
      +struct QueryInterfaceRequest<T> : FetchRequest {
      +    init(tableName: String)
      +}