npgsqlrest 1.3.0 → 1.5.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npgsqlrest",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "description": "Automatic REST API for PostgreSQL Databases Client Build",
5
5
  "scripts": {
6
6
  "postinstall": "node postinstall.js",
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.5-client-v1.3.0/";
9
+ const downloadFrom = "https://github.com/vb-consulting/NpgsqlRest/releases/download/v2.9.0-client-v1.5.0/";
10
10
 
11
11
  function download(url, to, done) {
12
12
  https.get(url, (response) => {
package/readme.md CHANGED
@@ -102,6 +102,37 @@ 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.5.0
106
+
107
+ ```console
108
+ Versions:
109
+ Client Build 1.5.0.0
110
+ Npgsql 8.0.3.0
111
+ NpgsqlRest 2.9.0.0
112
+ NpgsqlRest.HttpFiles 1.0.2.0
113
+ NpgsqlRest.TsClient 1.9.1.0
114
+ ```
115
+
116
+ ## 1.4.0
117
+
118
+ See the [full diff here](https://github.com/vb-consulting/NpgsqlRest/compare/client-1.3.0...client-1.4.0)
119
+
120
+ - Added new configuration section: `ConnectionSettings` and moved `UseEnvironmentConnection`, `SetApplicationNameInConnection`, and `UseJsonApplicationName` from `NpgsqlRest` to `ConnectionSettings`.
121
+ - Added connections settings for customize connection parameters environment variable names (`HostEnvVar`, `PortEnvVar`, `DatabaseEnvVar`, `UserEnvVar` and `PasswordEnvVar`). Some Docker environments have different environment variable names.
122
+ - Added connections settings `"UseEnvironmentConnectionWhenMissing": false` to be able to override connection string with environment variable names and vice versa.
123
+ - Added support for overriding configuration settings from the command line. Command line configuration has to have this format: `--key=value`. See updated help for more info.
124
+ - Configuration value `ExposeAsEndpoint` is now set to NULL (disabled) as the default configuration. This may be enabled in the development environment.
125
+ - Fix: Default configuration files `appsettings.json` and optional `appsettings.Development.json` are now loaded from the same directory as all others (current directory as opposed to the exe location dir).
126
+
127
+ ```console
128
+ Versions:
129
+ Client Build 1.4.0.0
130
+ Npgsql 8.0.3.0
131
+ NpgsqlRest 2.8.5.0
132
+ NpgsqlRest.HttpFiles 1.0.2.0
133
+ NpgsqlRest.TsClient 1.9.0.0
134
+ ```
135
+
105
136
  ## 1.3.0
106
137
 
107
138
  ```console