@sap/datasphere-cli 2023.25.0 → 2024.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -5,6 +5,65 @@ 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.3.0
9
+
10
+ ### Changed
11
+
12
+ - The required version of `npm` changes from `^9` to `^10`.
13
+
14
+ ## 2024.2.0
15
+
16
+ ### Fixed
17
+
18
+ - The `--browser` option introduced with version `2024.1.0` did not apply the default correctly in case the option `--browser` was not explicitly specified.
19
+
20
+ ## 2024.1.0
21
+
22
+ ### Added
23
+
24
+ - 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.
25
+
26
+ - 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:
27
+
28
+ ```bash
29
+ <CLI> login --help
30
+ Usage: <CLI> login [options]
31
+ log in to your account using interactive OAuth authentication
32
+ Options:
33
+ -H, --host <host> specifies the url where the tenant is hosted (optional)
34
+ -h, --help display help for command
35
+ ```
36
+
37
+ With this version, the help looks like this:
38
+
39
+ ```bash
40
+ <CLI> login --help
41
+ Usage: <CLI> login [options]
42
+ log in to your account using interactive OAuth authentication
43
+ Options:
44
+ -H, --host <host> specifies the url where the tenant is hosted (optional)
45
+ -A, --authorization-url <url> authorization url for interactive oauth session authentication (optional)
46
+ -t, --token-url <url> token url for interactive oauth session authentication (optional)
47
+ -c, --client-id <id> client id for interactive oauth session authentication (optional)
48
+ -C, --client-secret <secret> client secret for interactive oauth session authentication (optional)
49
+ -a, --access-token <token> access token for interactive oauth session authentication (optional)
50
+ -b, --code <code> code for oauth token retrieval (optional)
51
+ -r, --refresh-token <token> refresh token for interactive oauth session authentication (optional)
52
+ -s, --secrets-file <file> path to secrets file (optional)
53
+ -h, --help display help for command
54
+ Only command-specific options are listed here. To learn more about available generic options, visit https://tinyurl.com/yck8vv4w
55
+ ```
56
+
57
+ - 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.
58
+
59
+ ### Fixed
60
+
61
+ - 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.
62
+
63
+ ### Changed
64
+
65
+ - 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.
66
+
8
67
  ## 2023.25.0
9
68
 
10
69
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/datasphere-cli",
3
- "version": "2023.25.0",
3
+ "version": "2024.3.0",
4
4
  "description": "Command-Line Interface for SAP Datasphere.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "SAP SE",
@@ -10,8 +10,8 @@
10
10
  "datasphere": "terminal.js"
11
11
  },
12
12
  "engines": {
13
- "node": "^18",
14
- "npm": "^9"
13
+ "node": "^20",
14
+ "npm": "^10"
15
15
  },
16
16
  "keywords": [
17
17
  "cli",
@@ -19,6 +19,6 @@
19
19
  "datasphere-cli"
20
20
  ],
21
21
  "dependencies": {
22
- "@sap/cli-core": "2023.24.0"
22
+ "@sap/cli-core": "2024.2.0"
23
23
  }
24
24
  }