Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: brianc/node-postgres
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.7.1
Choose a base ref
...
head repository: brianc/node-postgres
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.8.0
Choose a head ref
  • 6 commits
  • 5 files changed
  • 4 contributors

Commits on Jan 8, 2019

  1. Issue #1769 - Inability to restrict communication protocols to set in…

    … ssl configuration (#1804)
    
    - Propagate client's ssl.secureOptions config to TLS.
    glepsky authored and brianc committed Jan 8, 2019
    Copy the full SHA
    ccbccc9 View commit details

Commits on Jan 11, 2019

  1. deps: update pg-types to 2 (#1806)

    drops node < 4 support but pg previously did so (not major)
    bendrucker authored and brianc committed Jan 11, 2019
    Copy the full SHA
    0e11b5c View commit details
  2. Update license date (#1800)

    From 2018 to 2019
    benhc123 authored and brianc committed Jan 11, 2019
    Copy the full SHA
    c8f2f23 View commit details
  3. Update SPONSORS.md

    brianc committed Jan 11, 2019
    Copy the full SHA
    896faa5 View commit details
  4. Update changelog

    brianc committed Jan 11, 2019
    Copy the full SHA
    0012386 View commit details
  5. Bump version

    brianc committed Jan 11, 2019
    Copy the full SHA
    fcd0f02 View commit details
Showing with 11 additions and 3 deletions.
  1. +5 −0 CHANGELOG.md
  2. +1 −1 LICENSE
  3. +2 −0 SPONSORS.md
  4. +1 −0 lib/connection.js
  5. +2 −2 package.json
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -4,6 +4,11 @@ For richer information consult the commit log on github with referenced pull req

We do not include break-fix version release in this file.

### 7.8.0

- Add support for passing [secureOptions](https://github.com/brianc/node-postgres/pull/1804) SSL config.
- Upgrade [pg-types](https://github.com/brianc/node-postgres/pull/1806) to 2.0.

### 7.7.0

- Add support for configurable [query timeout](https://github.com/brianc/node-postgres/pull/1760) on a client level.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2010 - 2018 Brian Carlson
Copyright (c) 2010 - 2019 Brian Carlson

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
2 changes: 2 additions & 0 deletions SPONSORS.md
Original file line number Diff line number Diff line change
@@ -17,3 +17,5 @@ node-postgres is made possible by the helpful contributors from the community we
- Benjie Gillam
- David Hanson
- Franklin Davenport
- [Eventbot](https://geteventbot.com/)
- Chuck T
1 change: 1 addition & 0 deletions lib/connection.js
Original file line number Diff line number Diff line change
@@ -101,6 +101,7 @@ Connection.prototype.connect = function (port, host) {
key: self.ssl.key,
passphrase: self.ssl.passphrase,
cert: self.ssl.cert,
secureOptions: self.ssl.secureOptions,
NPNProtocols: self.ssl.NPNProtocols
})
self.attachListeners(self.stream)
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pg",
"version": "7.7.1",
"version": "7.8.0",
"description": "PostgreSQL client - pure javascript & libpq with the same API",
"keywords": [
"database",
@@ -23,7 +23,7 @@
"packet-reader": "0.3.1",
"pg-connection-string": "0.1.3",
"pg-pool": "^2.0.4",
"pg-types": "~1.12.1",
"pg-types": "~2.0.0",
"pgpass": "1.x",
"semver": "4.3.2"
},