@sap/cds-dk 6.3.0 → 6.3.1

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/CHANGELOG.md CHANGED
@@ -7,6 +7,18 @@ This project adheres to [Semantic Versioning](http://semver.org/).
7
7
 
8
8
  The format is based on [Keep a Changelog](http://keepachangelog.com/).
9
9
 
10
+ ## Version 6.3.1 - 2022-11-04
11
+
12
+ ### Changed
13
+
14
+ - `cds init` uses latest Maven Java archetype version 1.29.0 for creating Java projects.
15
+ - Use `@sap/cds` 6.3.1
16
+ - Use `@sap/cds-mtxs` 1.3.1
17
+
18
+ ### Fixed
19
+
20
+ - MTX Client no longer reports 'Request failed with status code 401' when sending a passcode to old MTX server.
21
+
10
22
  ## Version 6.3.0 - 2022-11-02
11
23
 
12
24
  ### Added
@@ -115,7 +115,7 @@ async function getTokenBaseUrl(params, renewUrl) {
115
115
  existingPath = path;
116
116
  break;
117
117
  } catch (error) {
118
- if (error.response?.status === 404) {
118
+ if ([401, 404].includes(error.response?.status)) {
119
119
  continue;
120
120
  }
121
121
  throw error;
@@ -1,6 +1,6 @@
1
1
  const os = require('os');
2
2
 
3
- const MAVEN_ARCHETYPE_VERSION = '1.28.1';
3
+ const MAVEN_ARCHETYPE_VERSION = '1.29.0';
4
4
 
5
5
  const constants = {
6
6
  IS_WIN: (os.platform() === 'win32'),