npgsqlrest 1.5.0 → 2.1.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 +50 -11
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.
|
|
9
|
+
const downloadFrom = "https://github.com/vb-consulting/NpgsqlRest/releases/download/v2.11.0-client-v2.1.0/";
|
|
10
10
|
|
|
11
11
|
function download(url, to, done) {
|
|
12
12
|
https.get(url, (response) => {
|
package/readme.md
CHANGED
|
@@ -60,18 +60,31 @@ npm install npgsqlrest --save-dev
|
|
|
60
60
|
```console
|
|
61
61
|
$ npx npgsqlrest --help
|
|
62
62
|
Usage:
|
|
63
|
-
npgsqlrest
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
npgsqlrest
|
|
63
|
+
npgsqlrest Run with the optional default configuration files: appsettings.json and
|
|
64
|
+
appsettings.Development.json. If these file are not found, default
|
|
65
|
+
configuration setting is used (see
|
|
66
|
+
https://vb-consulting.github.io/npgsqlrest/config/).
|
|
67
|
+
npgsqlrest [files...] Run with the custom configuration files. All configuration files are required.
|
|
68
|
+
Any configuration values will override default values in order of appearance.
|
|
69
|
+
npgsqlrest [file1 -o file2...] Use the -o switch to mark the next configuration file as optional. The first
|
|
70
|
+
file after the -o switch is optional.
|
|
71
|
+
npgsqlrest [file1 --optional file2...] Use --optional switch to mark the next configuration file as optional. The
|
|
72
|
+
first file after the --optional switch is optional.
|
|
73
|
+
Note: Values in the later file will override the values in the previous one.
|
|
74
|
+
|
|
75
|
+
npgsqlrest [--key=value] Override the configuration with this key with a new value (case insensitive,
|
|
76
|
+
use : to separate sections).
|
|
77
|
+
|
|
78
|
+
npgsqlrest -v, --version Show version information.
|
|
79
|
+
npgsqlrest -h, --help Show command line help.
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
Examples:
|
|
83
|
+
Example: use two config files npgsqlrest appsettings.json appsettings.Development.json
|
|
84
|
+
Example: second config file optional npgsqlrest appsettings.json -o appsettings.Development.json
|
|
85
|
+
Example: override ApplicationName config npgsqlrest --applicationname=Test
|
|
86
|
+
Example: override Auth:CookieName config npgsqlrest --auth:cookiename=Test
|
|
67
87
|
|
|
68
|
-
npgsqlrest -v, --version Show version information.
|
|
69
|
-
npgsqlrest -h, --help Show command line help.
|
|
70
|
-
|
|
71
|
-
Note: Values in the later file will override the values in the previous one.
|
|
72
|
-
|
|
73
|
-
Example: npgsqlrest appsettings.json appsettings.Development.json
|
|
74
|
-
Example: npgsqlrest appsettings.json -o appsettings.Development.json
|
|
75
88
|
```
|
|
76
89
|
|
|
77
90
|
- Use the `npgsqlrest-config-copy` command to copy the default config to the current directory (or, optionally, directory from the first argument).
|
|
@@ -102,6 +115,32 @@ See the detailed change log:
|
|
|
102
115
|
- [NpgsqlRest Changelog](https://vb-consulting.github.io/npgsqlrest/changelog/)
|
|
103
116
|
- [NpgsqlRest Client Changelog](https://vb-consulting.github.io/npgsqlrest/client/#changelog)
|
|
104
117
|
|
|
118
|
+
## 2.1.0
|
|
119
|
+
|
|
120
|
+
```console
|
|
121
|
+
Versions:
|
|
122
|
+
.NET 8.0.8
|
|
123
|
+
Client Build 2.1.0.0
|
|
124
|
+
Serilog.AspNetCore 8.0.2.0
|
|
125
|
+
Npgsql 8.0.3.0
|
|
126
|
+
NpgsqlRest 2.11.0.0
|
|
127
|
+
NpgsqlRest.HttpFiles 1.0.2.0
|
|
128
|
+
NpgsqlRest.TsClient 1.10.0.0
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
## 2.0.0
|
|
132
|
+
|
|
133
|
+
```console
|
|
134
|
+
Versions:
|
|
135
|
+
.NET 8.0.7
|
|
136
|
+
Client Build 2.0.0.0
|
|
137
|
+
Serilog.AspNetCore 8.0.2.0
|
|
138
|
+
Npgsql 8.0.3.0
|
|
139
|
+
NpgsqlRest 2.10.0.0
|
|
140
|
+
NpgsqlRest.HttpFiles 1.0.2.0
|
|
141
|
+
NpgsqlRest.TsClient 1.9.1.0
|
|
142
|
+
```
|
|
143
|
+
|
|
105
144
|
## 1.5.0
|
|
106
145
|
|
|
107
146
|
```console
|