@sap/datasphere-cli 2023.24.0 → 2024.2.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -5,6 +5,71 @@ All notable changes to this project SAP Datasphere Command-Line Interface (DS CL
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## 2024.2.0
9
+
10
+ ### Fixed
11
+
12
+ - The `--browser` option introduced with version `2024.1.0` did not apply the default correctly in case the option `--browser` was not explicitly specified.
13
+
14
+ ## 2024.1.0
15
+
16
+ ### Added
17
+
18
+ - A check for the correct node version environment when using the CLI. In case the node version does not satisfy the minimum node version required by the CLI to function correctly, a warning is printed to the console.
19
+
20
+ - When printing the help information for the `login` command, the list of options now includes the login-specific options such as `--authorization-url` and `--token-url`. Previously the help showed the following options:
21
+
22
+ ```bash
23
+ <CLI> login --help
24
+ Usage: <CLI> login [options]
25
+ log in to your account using interactive OAuth authentication
26
+ Options:
27
+ -H, --host <host> specifies the url where the tenant is hosted (optional)
28
+ -h, --help display help for command
29
+ ```
30
+
31
+ With this version, the help looks like this:
32
+
33
+ ```bash
34
+ <CLI> login --help
35
+ Usage: <CLI> login [options]
36
+ log in to your account using interactive OAuth authentication
37
+ Options:
38
+ -H, --host <host> specifies the url where the tenant is hosted (optional)
39
+ -A, --authorization-url <url> authorization url for interactive oauth session authentication (optional)
40
+ -t, --token-url <url> token url for interactive oauth session authentication (optional)
41
+ -c, --client-id <id> client id for interactive oauth session authentication (optional)
42
+ -C, --client-secret <secret> client secret for interactive oauth session authentication (optional)
43
+ -a, --access-token <token> access token for interactive oauth session authentication (optional)
44
+ -b, --code <code> code for oauth token retrieval (optional)
45
+ -r, --refresh-token <token> refresh token for interactive oauth session authentication (optional)
46
+ -s, --secrets-file <file> path to secrets file (optional)
47
+ -h, --help display help for command
48
+ Only command-specific options are listed here. To learn more about available generic options, visit https://tinyurl.com/yck8vv4w
49
+ ```
50
+
51
+ - Added the option `--browser <browser>` to the login command. Users can now choose explicitly which browser to open when logging in to a tenant. By default the system's default browser is used.
52
+
53
+ ### Fixed
54
+
55
+ - The HTTPS proxy support introduced with `2023.24.0` did not respect the underlying `axios` module configuration need to disable the native proxy handling by passing `proxy: false` to the request configuration.
56
+
57
+ ### Changed
58
+
59
+ - Previously, when running the `logout` command but no secrets existed anymore, the command would fail with exit code 1 and an error message. Now, when running the `logout` command but there are no secrets to logout from, the command fails silently.
60
+
61
+ ## 2023.25.0
62
+
63
+ ### Fixed
64
+
65
+ - The defined HTTP protocol was not applied to calculated authorization URL and token URL. No matter which HTTP protocol (`http` or `https`) was used, the automatically calculated authorization URL and token URL always used the `https` protocol.
66
+
67
+ ### Added
68
+
69
+ - HTTPS proxy support via environment variable `https_proxy`. When using an HTTPS proxy to communicate with the public internet, you can configure the environment variable `https_proxy`. The CLI uses the value from the environment variable to establish a correct connection to the HTTPS proxy.
70
+
71
+ - Support for response header `x-sap-datasphere-cli-file-name`. When the user adds option `--output` and provides a path to a file location, this value is always used to store the response data, no matter whether response header `x-sap-datasphere-cli-file-name` is present. If the user adds option `--output` without providing a path to a file location and the response header `x-sap-datasphere-cli-file-name` is present, the response data is stored in the location mentioned in `x-sap-datasphere-cli-file-name`. In all other cases, the response data is printed to the console.
72
+
8
73
  ## 2023.24.0
9
74
 
10
75
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/datasphere-cli",
3
- "version": "2023.24.0",
3
+ "version": "2024.2.0",
4
4
  "description": "Command-Line Interface for SAP Datasphere.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "SAP SE",
@@ -19,6 +19,6 @@
19
19
  "datasphere-cli"
20
20
  ],
21
21
  "dependencies": {
22
- "@sap/cli-core": "2023.23.0"
22
+ "@sap/cli-core": "2024.1.0"
23
23
  }
24
24
  }