npgsqlrest 1.2.7 → 1.3.0
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/package.json +1 -1
- package/postinstall.js +1 -1
- package/readme.md +45 -0
package/package.json
CHANGED
package/postinstall.js
CHANGED
|
@@ -6,7 +6,7 @@ const os = require("os");
|
|
|
6
6
|
const https = require("https");
|
|
7
7
|
|
|
8
8
|
const downloadDir = "../.bin/";
|
|
9
|
-
const downloadFrom = "https://github.com/vb-consulting/NpgsqlRest/releases/download/v2.8.
|
|
9
|
+
const downloadFrom = "https://github.com/vb-consulting/NpgsqlRest/releases/download/v2.8.5-client-v1.3.0/";
|
|
10
10
|
|
|
11
11
|
function download(url, to, done) {
|
|
12
12
|
https.get(url, (response) => {
|
package/readme.md
CHANGED
|
@@ -102,6 +102,51 @@ See the detailed change log:
|
|
|
102
102
|
- [NpgsqlRest Changelog](https://vb-consulting.github.io/npgsqlrest/changelog/)
|
|
103
103
|
- [NpgsqlRest Client Changelog](https://vb-consulting.github.io/npgsqlrest/client/#changelog)
|
|
104
104
|
|
|
105
|
+
## 1.3.0
|
|
106
|
+
|
|
107
|
+
```console
|
|
108
|
+
Versions:
|
|
109
|
+
Client Build 1.3.0.0
|
|
110
|
+
Npgsql 8.0.3.0
|
|
111
|
+
NpgsqlRest 2.8.5.0
|
|
112
|
+
NpgsqlRest.HttpFiles 1.0.2.0
|
|
113
|
+
NpgsqlRest.TsClient 1.9.0.0
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Upgrade System.Text.Json to 8.0.4
|
|
117
|
+
|
|
118
|
+
### New option: NpgsqlRest.UseEnvironmentConnection
|
|
119
|
+
|
|
120
|
+
`NpgsqlRest.UseEnvironmentConnection`:
|
|
121
|
+
|
|
122
|
+
If the connection string is not found, empty, or missing host, port or database, the connection string is created from the environment variables.
|
|
123
|
+
|
|
124
|
+
See https://www.postgresql.org/docs/current/libpq-envars.html for the list of the environment variables.
|
|
125
|
+
|
|
126
|
+
Note: Npgsql will use the environment variables by default but only for the small set of the connection string parameters like username and password (see https://www.npgsql.org/doc/connection-string-parameters.html#environment-variables).
|
|
127
|
+
|
|
128
|
+
Set this option to true to use environment variables for host, port and database as well.
|
|
129
|
+
|
|
130
|
+
When this option is enabled and these environment variables are set, connection string doesn't have to be defined at all and it will be created from the environment variables.
|
|
131
|
+
|
|
132
|
+
### New option: NpgsqlRest.TsClient.DefaultJsonType
|
|
133
|
+
|
|
134
|
+
`NpgsqlRest.TsClient.DefaultJsonType`:
|
|
135
|
+
|
|
136
|
+
Sets the default TypeScript type for JSON types when generating the TypeScript client.
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
### 1.2.8
|
|
140
|
+
|
|
141
|
+
```console
|
|
142
|
+
Versions:
|
|
143
|
+
Client Build 1.2.8.0
|
|
144
|
+
Npgsql 8.0.3.0
|
|
145
|
+
NpgsqlRest 2.8.5.0
|
|
146
|
+
NpgsqlRest.HttpFiles 1.0.2.0
|
|
147
|
+
NpgsqlRest.TsClient 1.8.1.0
|
|
148
|
+
```
|
|
149
|
+
|
|
105
150
|
### 1.2.7
|
|
106
151
|
|
|
107
152
|
```console
|