Commit Graph

1731 Commits

Author SHA1 Message Date
Raul Marin
c1db461995 Use bionic for PG12 2019-12-26 16:08:47 +01:00
Raul Marin
0bc7d793f8 Test PG 12 and node 12 2019-12-26 15:50:47 +01:00
Daniel García Aubert
5de63babd1 Stubs next version 2018-11-20 18:27:38 +01:00
Daniel García Aubert
5417d7b29b Release 6.4.2-cdb2 2018-11-20 18:25:10 +01:00
Daniel G. Aubert
a4064c0add
Merge pull request #6 from CartoDB/nodejs-10
Support Node.js 10 LTS
2018-11-20 18:24:04 +01:00
Daniel García Aubert
7dd2bbcea9 Prepare next release version 2018-11-20 18:09:44 +01:00
Daniel García Aubert
14b28494b7 Add CHANGELOG.carto.md 2018-11-20 18:09:06 +01:00
Daniel García Aubert
37e731940b Support Node.js 10 2018-11-02 18:45:48 +01:00
Daniel García Aubert
4e1b5487dc Add package-lock.json 2018-11-02 17:17:52 +01:00
Daniel García Aubert
484567d0bf Support Node.js 10 in CI 2018-11-02 17:17:34 +01:00
Raúl Marín
449fac1d6d
Merge pull request #5 from Algunenano/cdb-6.1_update
Update v6 release
2018-05-25 11:04:02 +02:00
Raul Marin
5e7005107d Do no test native module 2018-05-23 19:34:18 +02:00
Raul Marin
bc0fe87942 Adapt travis matrix 2018-05-23 19:34:18 +02:00
Raul Marin
b5be2ee38c Remove deprecation warnings 2018-05-23 18:04:20 +02:00
Charmander
8ce7e13b93 Make tests compatible with PostgreSQL 10
PostgreSQL 10 reports its version as only `major.minor`, so it can’t be parsed with semver. The `server_version_num` setting is a major version followed by a four-digit minor version since version 10, and was a three-digit major version followed by a two-digit minor version before that.
2018-05-23 17:54:51 +02:00
Raul Marin
389c25f44d Merge tag 'v6.4.2' into cdb-6.1
Bump version
2018-05-23 17:54:17 +02:00
Raul Ochoa
3eef52dd1e Merge tag 'v6.1.6' into cdb-6.1
Bump version
2017-08-13 12:01:19 +02:00
Brian M. Carlson
d4aa616b21 Bump version 2017-08-12 16:32:30 -05:00
Brian M. Carlson
9bcf55dda9 Fix vulnerability 2017-08-12 16:31:32 -05:00
Brian M. Carlson
b0a2fe4505 Bump version 2017-08-12 16:26:37 -05:00
Brian M. Carlson
c0a381eab2 Fix vulnerability 2017-08-12 16:25:09 -05:00
Brian Carlson
bc0b03e0b0 Bump version 2017-07-13 22:29:42 -05:00
2Pacalypse-
e52512cedb Adjust the test for arrays of buffers to work across all node versions. 2017-07-13 22:24:52 -05:00
2Pacalypse-
e44d83f02f Add the test for arrays of buffers. 2017-07-13 22:24:52 -05:00
2Pacalypse-
c2af53a24e Properly insert buffers in arrays.
Before this commit, when someone tried to insert a Buffer into an array,
the library would try to escape it (by calling the `escapeElement` on
it), which would fail because buffers don't have a `replace` method.
2017-07-13 22:24:52 -05:00
Karl Böhlmark
dbf3bd3304 use consistent syntax for semver ranges 2017-06-26 15:11:53 -04:00
Brian M. Carlson
a0a050702e Bump version 2017-06-21 12:33:43 -05:00
Brian M. Carlson
7636f3630b Update changelog 2017-06-21 12:33:33 -05:00
Brian M. Carlson
055e708dc6 Bump version 2017-06-21 12:29:57 -05:00
Eder Ávila Prado
860cccd531 fix for server enconding when using SQL_ASCII and latin1 enconding 2017-06-21 12:23:06 -05:00
Brian Carlson
afe249896f Bump version 2017-06-20 09:30:59 -05:00
Brian Carlson
e4469340ae Fix deprecation warnings in native driver 2017-06-20 09:28:44 -05:00
Brian C
842803c7ef Fix over-eager deprecation warnings (#1333)
* WIP

* Remove console.log messages
2017-06-20 08:59:07 -05:00
Brian M. Carlson
f7a946155f Bump version 2017-06-19 16:08:23 -05:00
Brian M. Carlson
1e04fdb7e0 Add changes for v6.3.0 2017-06-19 16:07:12 -05:00
Brian M. Carlson
b5b49eb895 Add deprecations
This adds deprecations in preparation for `pg@7.0`

- deprecate using event emitters on automatically created results from client.query.
- deprecate query.promise() - it should never have been a public method and it's not documented. I need to do better about using _ prefix on private methods in the future.
- deprecate singleton pool on the `pg` object. `pg.connect`, `pg.end`, and `pg.cancel`.
2017-06-19 16:00:37 -05:00
Brian C
bbb759fba4 Create LICENSE 2017-06-12 10:14:31 -05:00
Amila Welihinda
5421e9dc0f Added MIT License 2017-06-12 10:14:31 -05:00
Brian M. Carlson
58691218af Bump version 2017-06-09 12:33:55 -05:00
Brian Carlson
76c59a01f2 Emit error when backend unexpectedly disconnects 2017-06-09 12:27:47 -05:00
Brian C
f2b87e02f1 Add client connectionString tests (#1310)
* Remove redundant tests

* Add client connectionString test

Add test to ensure { connectionString } is respected as an argument to the client constructor

* Add test for connection string property

Also fixed some legacy require statements.
2017-06-07 22:58:03 -05:00
Brian M. Carlson
3757ff7300 Bump version 2017-05-24 09:05:31 -05:00
Raul Ochoa
4cd56cc4f8 Make pool name consistent on missing config params (#1279)
* Going red: using a config object creates two pools when missing some params

It should only create a pool in a consistent way, even if some params
are not provided in the first place.

* Delay the pool name generation to make it consistent between calls

* Don't fallback to empty object as config is already defined
2017-05-24 09:04:50 -05:00
T.J. Schuck
e5f0e5d36a s/2016/2017/ (#1291) 2017-05-17 16:47:07 -05:00
Brian M. Carlson
c32316df77 Bump version 2017-05-15 12:21:32 -05:00
Sehrope Sarkuni
ee8193673c Libpq connection string escaping (#1285)
* Fix escaping of libpq connection string properties

Fix handlings of libpq connection properties to properly escape single
quotes and backslashes. Previously the values were surrounded in single
quotes which handled whitespace within the property value, but internal
single quotes and backslashes would cause invalid connection strings to
be generated.

* Update expected output in test to be quoted

Update the expect host output in the connection parameter test
to expect it to be surrounded by single quotes.

* Add test for configs with quotes and backslashes
2017-05-15 12:19:13 -05:00
Brian M. Carlson
4659d5d75f Bump version 2017-05-15 09:54:09 -05:00
Brian C
db5f4ae1ab Upgrade packet reader (#1287) 2017-05-15 09:36:18 -05:00
Brian Carlson
f42924bf05 Bump version 2017-04-24 13:34:03 -05:00
Brian Carlson
80d136a531 Add test & documentation for replicationStart message 2017-04-24 13:33:38 -05:00