kysely-postgrejs 1.0.0 โ†’ 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
1
  ## Changelog
2
2
 
3
- ### 1.0.0
3
+ ### [v1.0.1](https://github.com/panates/postgrejs-kysely/compare/v1.0.0...v1.0.1) -
4
+
5
+ #### ๐Ÿ“– Documentation Changes
6
+
7
+ - docs: the suite passes outright, and the peer floor follows PostgreJS @Eray HanoฤŸlu
8
+
9
+ ### v1.0.0
4
10
 
5
11
  #### ๐Ÿš€ New Features
6
12
 
package/README.md CHANGED
@@ -12,7 +12,7 @@ and query compiler are Kysely's own `Postgres*` implementations.
12
12
  npm install kysely-postgrejs kysely postgrejs
13
13
  ```
14
14
 
15
- `kysely` (>=0.29 <0.31) and `postgrejs` (>=3.6) are peer dependencies.
15
+ `kysely` (>=0.29 <0.31) and `postgrejs` (>=3.7) are peer dependencies.
16
16
 
17
17
  ## Usage
18
18
 
@@ -158,19 +158,11 @@ one, and runs all of it:
158
158
  scripts/run-kysely-suite.sh
159
159
  ```
160
160
 
161
- Against Kysely v0.29.6: **683 passing, 1 failing**. Against v0.30.0-beta.2, the other end of the
162
- peer range: **727 passing, the same 1 failing**. For comparison, the same checkout against Kysely's
163
- own `pg` dialect passes 684 - the same tests, none of them skipped.
161
+ Against Kysely v0.29.6: **684 passing, nothing failing** - the same number Kysely's own `pg` dialect
162
+ scores on that checkout, with no test skipped. Against v0.30.0-beta.2, the other end of the peer
163
+ range: **728 passing, nothing failing**.
164
164
 
165
- The one failure asserts that the pool's last error reads "Connection terminated unexpectedly", which
166
- is `pg`'s wording after a killed session. PostgreJS 3.6 emits nothing at all there: it destroys the
167
- connection and opens another. The kill itself works - the test's own check that the query is gone
168
- passes first. PostgreJS has since grown a `ConnectionLostError` (SQLSTATE `08006`, carrying the
169
- backend's `processID`) that its pool reports on `'error'` and `'destroy'`, and with that build the
170
- suite passes all 684 - the same number as Kysely's own `pg` dialect. These numbers move to
171
- **684 / 0** and **728 / 0** when that release lands and the peer floor moves with it.
172
-
173
- Two other tests name the `pg` driver rather than describe behaviour: one asserts the error is an
165
+ Two of those tests name the `pg` driver rather than describe behaviour: one asserts the error is an
174
166
  instance of `pg`'s `DatabaseError`, and one stubs `PostgresDriver.prototype` and expects the stub to
175
167
  be called. The patch points both at this dialect's equivalents, which is what makes them test
176
168
  anything at all here - left alone they would pass over the behaviour without exercising it.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "kysely-postgrejs",
3
3
  "description": "Kysely dialect for PostgreJS - run a Kysely query builder on PostgreJS's wire-protocol client",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "author": "Panates",
6
6
  "license": "BSD-3-Clause",
7
7
  "peerDependencies": {
8
8
  "kysely": ">=0.29.0 <0.31.0",
9
- "postgrejs": ">=3.6.1 <4"
9
+ "postgrejs": ">=3.7.0 <4"
10
10
  },
11
11
  "type": "module",
12
12
  "module": "./index.js",