Changelog History
Page 1
-
v4.0.0 Changes
November 13, 2020๐ฅ Breaking Changes
โก๏ธ Update compile target to node 12.19.0 (#115)
โก๏ธ Updated
@databases/sql
to3.0.0
(#114)This means:
- queries no longer have
.compile()
or.compileMySQL()
methods - queries no longer have
.text
or.values
properties SQLQuery
is only a type, not a class.
If you were previously using
instanceof SQLQuery
to check if a value is anSQLQuery
, you can swap to usingisSqlQuery
.If you were relying on the properties or methods to get the actual query text, please open an issue.
- queries no longer have
-
v3.1.1 Changes
November 20, 2020๐ Bug Fixes
๐ Handle empty arrays passed to
.query
(#123)If you call
db.query([])
it is a no-op and just immediately returns. If you call it on a ConnectionPool, it won't even allocate a connection. -
v3.1.0 Changes
November 13, 2020๐จ Refactorings
- โ Remove unused
postgresFormatter
code (#121)
- โ Remove unused
-
v3.0.1 Changes
April 25, 20202020-04-25
-
v3.0.0 Changes
November 13, 2020๐ฅ Breaking Changes
โก๏ธ Update compile target to node 12.19.0 (#115)
โก๏ธ Updated
@databases/sql
to3.0.0
(#114)This means:
- queries no longer have
.compile()
or.compileMySQL()
methods - queries no longer have
.text
or.values
properties SQLQuery
is only a type, not a class.
If you were previously using
instanceof SQLQuery
to check if a value is anSQLQuery
, you can swap to usingisSqlQuery
.If you were relying on the properties or methods to get the actual query text, please open an issue.
- queries no longer have
-
v2.3.0 Changes
October 29, 2020๐จ Refactorings
โก๏ธ Update
@databases/pg-data-type-id
to remove "composite" built in types (#112)These actually represent tables within the
pg_catalog
schema, and their IDs tend not to be stable across multiple Postgres versions. -
v2.2.0 Changes
October 19, 2020๐ New Features
- ๐ Improve error message for non-alphanumeric identifiers (#110)
-
v2.1.2 Changes
May 16, 2020๐ Bug Fixes
๐ Handle digital ocean connection strings correctly (#83)
- Digital Ocean postgres connection strings use
postgresql:
as the schema instead ofpostgres:
- Digital Ocean postgres connection strings specify
?sslmode=require
and the connections fail unless the ssl mode is enabled.
- Digital Ocean postgres connection strings use
-
v2.1.1
April 25, 2020 -
v2.1.0
April 25, 2020