@sap/cds 8.8.2 → 8.8.3

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
@@ -4,6 +4,12 @@
4
4
  - The format is based on [Keep a Changelog](https://keepachangelog.com/).
5
5
  - This project adheres to [Semantic Versioning](https://semver.org/).
6
6
 
7
+ ## Version 8.8.3 - 2025-03-20
8
+
9
+ ### Fixed
10
+
11
+ - Event Mesh: Reconnect in case of error in AMQP connection
12
+
7
13
  ## Version 8.8.2 - 2025-03-13
8
14
 
9
15
  ### Fixed
@@ -23,12 +23,16 @@ const connect = (client, LOG, keepAlive) => {
23
23
  .once('connected', function () {
24
24
  client.removeAllListeners('error')
25
25
 
26
- client.on('error', err => {
26
+ client.once('error', err => {
27
27
  if (LOG._error) {
28
28
  err.message = 'Client error: ' + err.message
29
29
  LOG.error(err)
30
30
  }
31
- client.disconnect()
31
+ if (keepAlive) {
32
+ client.removeAllListeners('error')
33
+ client.removeAllListeners('connected')
34
+ _connectUntilConnected(client, LOG, 0)
35
+ }
32
36
  })
33
37
 
34
38
  if (keepAlive) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/cds",
3
- "version": "8.8.2",
3
+ "version": "8.8.3",
4
4
  "description": "SAP Cloud Application Programming Model - CDS for Node.js",
5
5
  "homepage": "https://cap.cloud.sap/",
6
6
  "keywords": [