chore: prepare v2.0.0

This commit is contained in:
orion 2024-06-25 13:54:21 -05:00
parent 11c1645173
commit 02c1857737
Signed by: orion
GPG Key ID: 6D4165AE4C928719
3 changed files with 47 additions and 47 deletions

View File

@ -259,59 +259,59 @@ the api of [`node-postgres`]:
- release clients with [`Pool.release`] or [`Pool.destroy`] - release clients with [`Pool.release`] or [`Pool.destroy`]
- release with [`Pool.end`] - release with [`Pool.end`]
[`Pool`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Pool#t:Pool [`Pool`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Pool#t:Pool
[`Config`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Pool#t:Config [`Config`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Pool#t:Config
[`Pool.make`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Pool#v:make [`Pool.make`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Pool#v:make
[`Pool.end`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Pool#v:end [`Pool.end`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Pool#v:end
[`Pool.connect`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Pool#v:connect [`Pool.connect`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Pool#v:connect
[`Pool.destroy`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Pool#v:destroy [`Pool.destroy`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Pool#v:destroy
[`Pool.release`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Pool#v:release [`Pool.release`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Pool#v:release
[`Client`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Client#t:Client [`Client`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Client#t:Client
[`Client.end`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Client#v:end [`Client.end`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Client#v:end
[`Client.make`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Client#v:make [`Client.make`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Client#v:make
[`Client.connected`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Client#v:connected [`Client.connected`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Client#v:connected
[`Client.query`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Client#v:query [`Client.query`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Client#v:query
[`Client.queryRaw`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Client#v:queryRaw [`Client.queryRaw`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Client#v:queryRaw
[`Client.exec`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Effect.Aff.Postgres.Client#v:exec [`Client.exec`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Effect.Aff.Postgres.Client#v:exec
[`Range`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Range#t:Range [`Range`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Range#t:Range
[`Range.gt`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Range#v:gt [`Range.gt`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Range#v:gt
[`Range.gte`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Range#v:gte [`Range.gte`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Range#v:gte
[`Range.lt`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Range#v:lt [`Range.lt`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Range#v:lt
[`Range.lte`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Range#v:lte [`Range.lte`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Range#v:lte
[`Raw`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Raw#t:Raw [`Raw`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Raw#t:Raw
[`Null`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Raw#t:Null [`Null`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Raw#t:Null
[`Serialize`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres#t:Serialize [`Serialize`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres#t:Serialize
[`Deserialize`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres#t:Deserialize [`Deserialize`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres#t:Deserialize
[`Rep`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres#t:Rep [`Rep`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres#t:Rep
[`modifyPgTypes`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres#v:modifyPgTypes [`modifyPgTypes`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres#v:modifyPgTypes
[`Result`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Result#t:Result [`Result`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Result#t:Result
[`FromRow`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Result#t:FromRow [`FromRow`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Result#t:FromRow
[`FromRows`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Result#t:FromRows [`FromRows`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Result#t:FromRows
[`Query`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Query#t:Query [`Query`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Query#t:Query
[`AsQuery`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Query#t:AsQuery [`AsQuery`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Query#t:AsQuery
[`Query.Builder`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Query.Builder#t:Builder [`Query.Builder`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Query.Builder#t:Builder
[`Query.Builder.param`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Query.Builder#v:param [`Query.Builder.param`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Query.Builder#v:param
[`Query.Builder.build`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Data.Postgres.Query.Builder#v:build [`Query.Builder.build`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Data.Postgres.Query.Builder#v:build
[`MonadCursor`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#t:MonadCursor [`MonadCursor`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#t:MonadCursor
[`MonadSession`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#t:MonadSession [`MonadSession`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#t:MonadSession
[`CursorT`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#t:CursorT [`CursorT`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#t:CursorT
[`SessionT`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#t:SessionT [`SessionT`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#t:SessionT
[`PostgresT`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#t:PostgresT [`PostgresT`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#t:PostgresT
[`cursor`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#v:cursor [`cursor`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#v:cursor
[`session`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#v:session [`session`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#v:session
[`transaction`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#v:transaction [`transaction`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#v:transaction
[`runPostgres`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#v:runPostgres [`runPostgres`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#v:runPostgres
[`query`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#v:query [`query`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#v:query
[`exec`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#v:exec [`exec`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#v:exec
[`exec_`]: https://pursuit.purescript.org//////////////////////////////////////////packages/purescript-postgresql/1.7.2/Control.Monad.Postgres#v:exec_ [`exec_`]: https://pursuit.purescript.org///////////////////////////////////////////packages/purescript-postgresql/2.0.0/Control.Monad.Postgres#v:exec_
[`node-postgres`]: https://node-postgres.com/ [`node-postgres`]: https://node-postgres.com/
[`pg-types`]: https://github.com/brianc/node-pg-types/ [`pg-types`]: https://github.com/brianc/node-pg-types/

View File

@ -1,7 +1,7 @@
package: package:
name: postgresql name: postgresql
publish: publish:
version: '1.7.2' version: '2.0.0'
license: 'GPL-3.0-or-later' license: 'GPL-3.0-or-later'
location: location:
githubOwner: 'cakekindel' githubOwner: 'cakekindel'

View File

@ -6,7 +6,7 @@ import Control.Monad.Cont (lift)
import Data.Maybe (Maybe(..)) import Data.Maybe (Maybe(..))
import Data.Newtype (class Newtype) import Data.Newtype (class Newtype)
import Data.Nullable (Nullable, toNullable) import Data.Nullable (Nullable, toNullable)
import Data.Postgres (class Rep, RepT, serialize, smash) import Data.Postgres (class Rep, RepT, serialize)
import Data.Postgres.Raw (Raw) import Data.Postgres.Raw (Raw)
import Data.Tuple.Nested (type (/\), (/\)) import Data.Tuple.Nested (type (/\), (/\))
import Effect (Effect) import Effect (Effect)