encode json body in binary, using modified hasql dep

- switch from "unknown" parameter in text format to a "json" parameter in
  binary format (no dependency update required)
- use a lazy bytestring "json" encoder (via updated hasql)
This commit is contained in:
Robert Vollmert
2022-09-19 20:49:11 +02:00
committed by Robert
parent efd65ff1f4
commit 38ecaa44db
6 changed files with 106 additions and 34 deletions
+3
View File
@@ -14,6 +14,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- #1385, Deprecate bulk-calls when including the `Prefer: params=multiple-objects` in the request. A function with a JSON array or object parameter should be used instead for a better performance.
### Changed
- #2261, #2349, #2467, Reduce allocations communication with PostgreSQL, particularly for request bodies. - @robx
## [10.0.0] - 2022-08-18
### Added