2.0.5 (2019-07-29)
2.0.4 (2019-07-24)
- do not JSON.parse values already parsed by the postgres driver (55eaf6b)
2.0.3 (2019-07-24)
- use bind parameter for json patches (fd6b5fa)
2.0.2 (2019-03-13)
- pass query errors to client.release (035c5b5)
2.0.1 (2019-02-19)
- enable updating
uuid
anduuid4
type fields (5bb9b98)
2.0.0 (2019-02-03)
- update multi-update code to handle table aliasing (bcbe4d0)
- move connection handling into @knorm/knorm (db2e46e)
- remove
initClient
andrestoreClient
options (4595588)
- This plugin now peer-depends on @knorm/knorm v2
- Removed
initClient
andrestoreClient
options. Instead, use Connection.prototype.create and Connection.prototype.close for any logic to be run before creating and closing database connections. - These changes depend on v2 of @knorm/knorm
1.3.4 (2018-10-18)
- json-patching: ignore
undefined
paths (789a98c)
1.3.3 (2018-10-15)
- deps: update dependency pg to v7.5.0 (2219a72)
1.3.2 (2018-10-09)
- pin pg to 7.4.3 (97bfb19)
1.3.1 (2018-10-03)
- release the client if a one-off query fails (63cea63)
1.3.0 (2018-09-28)
1.2.2 (2018-09-25)
- ignore
limit
andoffset
when unneeded (59f830f)
1.2.1 (2018-09-24)
- handle
first
in Query.prototype.save (3fdd008)
1.2.0 (2018-09-23)
- handle raw sql in JSON auto-casting (c86f402)
- support json-patching for updates (0d49635)
1.1.2 (2018-08-19)
- support
offset: 0
andlimit: 0
(b370a4f)
1.1.1 (2018-08-13)
- format primary fields to columns in update query (e1d2e1f)
1.1.0 (2018-07-19)
- allow parsing options in a connection string (ea1e625)
1.0.1 (2018-07-06)
- ignore
limit
andoffset
on joined queries (87d9050)
1.0.0 (2018-06-27)
- cast date and dateTime fields for update (bdf0bbd)
- Field: use user-configured cast function if set (8ed93f8)
- allow updating all rows or with a where clause (dc3a58f)
- configure placeholder (25223dc)
- do not directly manipulate knorm query props (982a412)
- do not throw for already parsed JSON (f679604)
- enable multi-updating for all current Knorm field types (ae003c6)
- end transaction even if
restoreClient
fails (551bfd2) - explicitly handle @knorm/postgres options (5e3fc1f)
- export the KnormPostgres constructor (c17e73c)
- fix inadvertent sharing of clients (4b19ecf)
- fix scoped transaction model names (3489b2f)
- knorm => @knorm/knorm (31a0329)
- move postgres-specific options from knorm (8bdcb8c)
- no need to update placeholder (c8b860d)
- parse json and jsonb fields after fetch (0ace985)
- pass transaction to callback as parameter (f8d5314)
- setBuilderOption => setOption (aaaeef9)