npgsqlrest 2.3.0 → 2.4.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 +71 -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.13.
|
|
9
|
+
const downloadFrom = "https://github.com/vb-consulting/NpgsqlRest/releases/download/v2.13.1-client-v2.4.0/";
|
|
10
10
|
|
|
11
11
|
function download(url, to, done) {
|
|
12
12
|
https.get(url, (response) => {
|
package/readme.md
CHANGED
|
@@ -115,6 +115,77 @@ See the detailed change log:
|
|
|
115
115
|
- [NpgsqlRest Changelog](https://vb-consulting.github.io/npgsqlrest/changelog/)
|
|
116
116
|
- [NpgsqlRest Client Changelog](https://vb-consulting.github.io/npgsqlrest/client/#changelog)
|
|
117
117
|
|
|
118
|
+
## 2.4.0
|
|
119
|
+
|
|
120
|
+
```console
|
|
121
|
+
Versions:
|
|
122
|
+
.NET 9.0.0
|
|
123
|
+
Client Build 2.4.0.0
|
|
124
|
+
Serilog.AspNetCore 8.0.3.0
|
|
125
|
+
Npgsql 9.0.1.0
|
|
126
|
+
NpgsqlRest 2.13.1.0
|
|
127
|
+
NpgsqlRest.HttpFiles 1.1.0.0
|
|
128
|
+
NpgsqlRest.TsClient 1.15.0.0
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
- New version Npgsql 9.0.1
|
|
132
|
+
- New "ClientCodeGen" "UniqueModels" option:
|
|
133
|
+
|
|
134
|
+
```jsonc
|
|
135
|
+
{
|
|
136
|
+
//...
|
|
137
|
+
|
|
138
|
+
"NpgsqlRest": {
|
|
139
|
+
//
|
|
140
|
+
// Enable or disable the generation of TypeScript/Javascript client source code files for NpgsqlRest endpoints.
|
|
141
|
+
//
|
|
142
|
+
"ClientCodeGen": {
|
|
143
|
+
//...
|
|
144
|
+
|
|
145
|
+
//
|
|
146
|
+
// Keep TypeScript models unique, meaning, models will same fields and types will be merged into one model with name of the last model. Significantly reduces number of generated models.
|
|
147
|
+
//
|
|
148
|
+
"UniqueModels": false
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
- New ResponseCompression options:
|
|
154
|
+
|
|
155
|
+
```jsonc
|
|
156
|
+
{
|
|
157
|
+
//...
|
|
158
|
+
|
|
159
|
+
//
|
|
160
|
+
// Response compression settings
|
|
161
|
+
//
|
|
162
|
+
"ResponseCompression": {
|
|
163
|
+
"Enabled": false,
|
|
164
|
+
"EnableForHttps": false,
|
|
165
|
+
"UseBrotli": true,
|
|
166
|
+
"UseGzipFallback": true,
|
|
167
|
+
"CompressionLevel": "Optimal", // Optimal, Fastest, NoCompression, SmallestSize
|
|
168
|
+
"IncludeMimeTypes": [
|
|
169
|
+
"text/plain",
|
|
170
|
+
"text/css",
|
|
171
|
+
"application/javascript",
|
|
172
|
+
"text/html",
|
|
173
|
+
"application/xml",
|
|
174
|
+
"text/xml",
|
|
175
|
+
"application/json",
|
|
176
|
+
"text/json",
|
|
177
|
+
"image/svg+xml",
|
|
178
|
+
"font/woff",
|
|
179
|
+
"font/woff2",
|
|
180
|
+
"application/font-woff",
|
|
181
|
+
"application/font-woff2"
|
|
182
|
+
],
|
|
183
|
+
"ExcludeMimeTypes": []
|
|
184
|
+
},
|
|
185
|
+
|
|
186
|
+
//...
|
|
187
|
+
```
|
|
188
|
+
|
|
118
189
|
## 2.3.0
|
|
119
190
|
|
|
120
191
|
```console
|