From f7663837574c3037d3452e04b21b6d5152ab66be Mon Sep 17 00:00:00 2001 From: Nick Humrich Date: Tue, 3 Oct 2017 14:46:14 -0600 Subject: [PATCH] Bump version to 0.18.0 BACKWARDS INCOMPATIBLE WARNING --- README.md | 6 ++++++ asyncpgsa/__init__.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b434828..fed4397 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,12 @@ for an example of creating a dialect. Please let me know if the change from psycopg2 to pypostgres broke you. If this happens enough, I might make psycopg2 the default. +2. 0.18.0 Removes the Record Proxy objects that would wrap asyncpg's records. Now +asyncpgsa just returns whatever asyncpg would return. This is a HUGE backwards incompatible change +but most people just used record._data to get the object directly anyways. This means dot notation +for columns is no longer possible and you need to access columns using exact names with dictionary notation. + + ## sqlalchemy ORM Currently this repo does not support SA ORM, only SA Core. diff --git a/asyncpgsa/__init__.py b/asyncpgsa/__init__.py index 8832d16..cc9fd0b 100644 --- a/asyncpgsa/__init__.py +++ b/asyncpgsa/__init__.py @@ -2,6 +2,6 @@ from .pgsingleton import PG from .connection import compile_query -__version__ = '0.17.0' +__version__ = '0.18.0' pg = PG()