Skip to content

Releases: psqlpy-python/psqlpy

v0.10.0

05 May 19:53

Choose a tag to compare

What's Changed

  • Fixed problem when the external connection pool is used in Transaction mode. Now PgBouncer, Supavisor, etc can be used.
    Read more in the docs on how to use PSQLPy in External connection pools.
  • External types for primitive data types are not necessary now.

Deprecated external types:

  • BigInt -> int
  • Integer -> int
  • SmallInt -> int
  • Float32 -> float
  • Float64 -> float
  • VarChar -> str
  • Text -> str
  • JSON -> dict/list
  • JSONB -> dict/list
  • All array types are deprecated, too.

0.9.3

22 Feb 17:43
66450d5

Choose a tag to compare

What's Changed

Named parameters

Now it's possible to use mapping (anything that supports Mapping protocol) for parameters.

async def main():
    ...

    await connection.execute(
        querystring="SELECT * FROM users WHERE id = $(user_id)p",
        parameters=dict(user_id=101),
    )

Full Changelog: 0.9.2...0.9.3

v0.9.2

10 Feb 14:48
75e78c1

Choose a tag to compare

Github workflow fix

PSQLPy for different Python is downloadable.

Full Changelog: 0.9.1...0.9.2

v0.9.1

09 Feb 13:57
2bcfc0c

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.9.0...0.9.1

v0.9.0

25 Jan 18:54
0262663

Choose a tag to compare

What's Changed

  • Added Listener class with PostgreSQL LISTEN functionality by @chandr-andr in #121

Full Changelog: 0.8.7...0.9.0

v0.8.7

27 Dec 18:32
12f3c63

Choose a tag to compare

Breaking changes with naming

We've changed naming for some external types, there are all changes, please follow them in your code:

  • PyVarChar -> VarChar
  • PyText -> Text
  • PyJSON -> JSON
  • PyJSONB -> JSONB
  • PyMacAddr6 -> MacAddr6
  • PyMacAddr8 -> MacAddr8
  • PyPoint -> Point
  • PyBox -> Box
  • PyPath -> Path
  • PyLine -> Line
  • PyLineSegment -> LineSegment
  • PyCircle -> Circle

What's Changed

New Contributors

Full Changelog: 0.8.6...0.8.7

v0.8.6

10 Dec 18:19
760606a

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.8.5...0.8.6

v0.8.5

19 Nov 19:04
a7734cd

Choose a tag to compare

What's Changed

Full Changelog: 0.8.4...0.8.5

v0.8.4

18 Oct 10:31
335e591

Choose a tag to compare

Full Changelog: 0.8.3...0.8.4

0.8.3

17 Oct 21:53
4ff39a7

Choose a tag to compare

Return actual bytes instead of list of ints for BYTEA type

Signed-off-by: chandr-andr (Kiselev Aleksandr) <chandr@chandr.net>