Changelog for hasql-2.0.0.0

v2.0.0.0-rc

New era: the transport layer is now pluggable via pqi, and an alpha pure-Haskell backend, pqi-native, is available for early adopters. Goal: a reliable, performant, no-C-dependency replacement for libpq.

Breaking

1.10

Major revision happened.

New Features

Breaking changes

1.9

Why the changes?

To introduce the new global prepared statements setting and to make the settings API ready for extension without backward compatibility breakage.

Instructions on upgrading the 1.8 code

When explicit connection string is used

Replace

Hasql.Connection.acquire connectionString

with

Hasql.Connection.acquire 
  [ Hasql.Connection.Setting.connection (Hasql.Connection.Setting.Connection.string connectionString)
  ]

When parameteric connection string is used

Replace

Hasql.Connection.acquire (Hasql.Connection.settings host port user password dbname)

with

Hasql.Connection.acquire
  [ Hasql.Connection.Setting.connection
    ( Hasql.Connection.Setting.Connection.params
      [ Hasql.Connection.Setting.Connection.Param.host host,
        Hasql.Connection.Setting.Connection.Param.port port,
        Hasql.Connection.Setting.Connection.Param.user user,
        Hasql.Connection.Setting.Connection.Param.password password,
        Hasql.Connection.Setting.Connection.Param.dbname dbname
      ]
    )
  ]

1.8.1

1.8

1.7

1.6.3.1

1.6.3

1.6.2

1.6.1

1.6

1.5