Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented May 26, 2025

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
mqtt ^4.3.7^5.0.0 age confidence

Release Notes

mqttjs/MQTT.js (mqtt)

v5.14.1

Compare Source

Bug Fixes

v5.14.0

Compare Source

5.13.2 (2025-07-07)

Bug Fixes

5.13.1 (2025-06-03)

v5.13.3

Compare Source

5.13.2 (2025-07-07)

Bug Fixes

5.13.1 (2025-06-03)

v5.13.2

Compare Source

5.13.2 (2025-07-07)

Bug Fixes

5.13.1 (2025-06-03)

v5.13.1

Compare Source

5.13.2 (2025-07-07)

Bug Fixes

5.13.1 (2025-06-03)

v5.13.0

Compare Source

5.13.2 (2025-07-07)

Bug Fixes

5.13.1 (2025-06-03)

v5.12.1

Compare Source

Features
  • add subscribeBatchSize option to split subscribe packets for AWS IoT Core (#​1995) (6b719c8)

5.12.1 (2025-05-06)

Bug Fixes
  • add @typescript-eslint/consistent-type-imports rule and normalised all imports (640cd3b)

v5.12.0

Compare Source

Features
  • add subscribeBatchSize option to split subscribe packets for AWS IoT Core (#​1995) (6b719c8)

5.12.1 (2025-05-06)

Bug Fixes
  • add @typescript-eslint/consistent-type-imports rule and normalised all imports (640cd3b)

v5.11.1

Compare Source

Features
  • exports: add react-native entry point to package.json (#​1988) (622d3d8)

5.11.1 (2025-04-23)

Bug Fixes
  • deps: removed unused 'reinterval' dependency and move two @​type/ dependencies to devDependencies. (bb8c694)

v5.11.0

Compare Source

Features
  • exports: add react-native entry point to package.json (#​1988) (622d3d8)

5.11.1 (2025-04-23)

Bug Fixes
  • deps: removed unused 'reinterval' dependency and move two @​type/ dependencies to devDependencies. (bb8c694)

v5.10.4

Compare Source

Bug Fixes
  • correct return type of validateTopis to include null (#​1979) (935784a)
Features

5.10.4 (2025-02-26)

Bug Fixes

5.10.3 (2024-11-26)

Bug Fixes
  • add option to reconnect if connack has an error code (#​1948) (fa19586)

5.10.2 (2024-11-13)

Features
  • electron-test: move third hosted broker to self hosted broker (#​1926) (1ca3f9e)

5.10.1 (2024-08-28)

Bug Fixes

v5.10.3

Compare Source

Bug Fixes
  • correct return type of validateTopis to include null (#​1979) (935784a)
Features

5.10.4 (2025-02-26)

Bug Fixes

5.10.3 (2024-11-26)

Bug Fixes
  • add option to reconnect if connack has an error code (#​1948) (fa19586)

5.10.2 (2024-11-13)

Features
  • electron-test: move third hosted broker to self hosted broker (#​1926) (1ca3f9e)

5.10.1 (2024-08-28)

Bug Fixes

v5.10.2

Compare Source

Bug Fixes
  • correct return type of validateTopis to include null (#​1979) (935784a)
Features

5.10.4 (2025-02-26)

Bug Fixes

5.10.3 (2024-11-26)

Bug Fixes
  • add option to reconnect if connack has an error code (#​1948) (fa19586)

5.10.2 (2024-11-13)

Features
  • electron-test: move third hosted broker to self hosted broker (#​1926) (1ca3f9e)

5.10.1 (2024-08-28)

Bug Fixes

v5.10.1

Compare Source

Bug Fixes
  • correct return type of validateTopis to include null (#​1979) (935784a)
Features

5.10.4 (2025-02-26)

Bug Fixes

5.10.3 (2024-11-26)

Bug Fixes
  • add option to reconnect if connack has an error code (#​1948) (fa19586)

5.10.2 (2024-11-13)

Features
  • electron-test: move third hosted broker to self hosted broker (#​1926) (1ca3f9e)

5.10.1 (2024-08-28)

Bug Fixes

v5.10.0

Compare Source

Bug Fixes
  • correct return type of validateTopis to include null (#​1979) (935784a)
Features

5.10.4 (2025-02-26)

Bug Fixes

5.10.3 (2024-11-26)

Bug Fixes
  • add option to reconnect if connack has an error code (#​1948) (fa19586)

5.10.2 (2024-11-13)

Features
  • electron-test: move third hosted broker to self hosted broker (#​1926) (1ca3f9e)

5.10.1 (2024-08-28)

Bug Fixes

v5.9.1

Compare Source

Bug Fixes
Features

5.9.1 (2024-08-01)

Bug Fixes

v5.9.0

Compare Source

Bug Fixes
Features

5.9.1 (2024-08-01)

Bug Fixes

v5.8.1

Compare Source

Bug Fixes
Features

5.8.1 (2024-07-18)

Bug Fixes

v5.8.0

Compare Source

Bug Fixes
Features

5.8.1 (2024-07-18)

Bug Fixes

v5.7.3

Compare Source

Features

5.7.3 (2024-06-26)

Bug Fixes

5.7.2 (2024-06-19)

Bug Fixes

5.7.1 (2024-06-18)

Bug Fixes

v5.7.2

Compare Source

Features

5.7.3 (2024-06-26)

Bug Fixes

5.7.2 (2024-06-19)

Bug Fixes

5.7.1 (2024-06-18)

Bug Fixes

v5.7.1

Compare Source

Features

5.7.3 (2024-06-26)

Bug Fixes

5.7.2 (2024-06-19)

Bug Fixes

5.7.1 (2024-06-18)

Bug Fixes

v5.7.0

Compare Source

Features

5.7.3 (2024-06-26)

Bug Fixes

5.7.2 (2024-06-19)

Bug Fixes

5.7.1 (2024-06-18)

Bug Fixes

v5.6.2

Compare Source

Features
  • add unixSocket option and +unix suffix support to protocol (#​1874) (1004c78)

5.6.2 (2024-05-23)

Bug Fixes

5.6.1 (2024-05-17)

Bug Fixes

v5.6.1

Compare Source

Features
  • add unixSocket option and +unix suffix support to protocol (#​1874) (1004c78)

5.6.2 (2024-05-23)

Bug Fixes

5.6.1 (2024-05-17)

Bug Fixes

v5.6.0

Compare Source

Features
  • add unixSocket option and +unix suffix support to protocol (#​1874) (1004c78)

5.6.2 (2024-05-23)

Bug Fixes

5.6.1 (2024-05-17)

Bug Fixes

v5.5.6

Compare Source

Features

5.5.6 (2024-05-13)

Bug Fixes

5.5.5 (2024-04-30)

Bug Fixes

5.5.4 (2024-04-26)

Bug Fixes

5.5.3 (2024-04-19)

Bug Fixes

5.5.2 (2024-04-12)

Bug Fixes

5.5.1 (2024-04-10)

Bug Fixes
  • browser: uncaught error when stream is destroyed with error (380f286), closes #​1839

v5.5.5

Compare Source

Features

5.5.6 (2024-05-13)

Bug Fixes

5.5.5 (2024-04-30)

Bug Fixes

5.5.4 (2024-04-26)

Bug Fixes

5.5.3 (2024-04-19)

Bug Fixes

5.5.2 (2024-04-12)

Bug Fixes

5.5.1 (2024-04-10)

Bug Fixes
  • browser: uncaught error when stream is destroyed with error (380f286), closes #​1839

v5.5.4

Compare Source

Features

5.5.6 (2024-05-13)

Bug Fixes

5.5.5 (2024-04-30)

Bug Fixes

5.5.4 (2024-04-26)

Bug Fixes

5.5.3 (2024-04-19)

Bug Fixes

5.5.2 (2024-04-12)

Bug Fixes

5.5.1 (2024-04-10)

Bug Fixes
  • browser: uncaught error when stream is destroyed with error (380f286), closes #​1839

v5.5.3

Compare Source

Features

5.5.6 (2024-05-13)

Bug Fixes

5.5.5 (2024-04-30)

Bug Fixes

5.5.4 (2024-04-26)

Bug Fixes

5.5.3 (2024-04-19)

Bug Fixes

5.5.2 (2024-04-12)

Bug Fixes

5.5.1 (2024-04-10)

Bug Fixes
  • browser: uncaught error when stream is destroyed with error (380f286), closes #​1839

v5.5.2

Compare Source

Features

5.5.6 (2024-05-13)

Bug Fixes

5.5.5 (2024-04-30)

Bug Fixes

5.5.4 (2024-04-26)

Bug Fixes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/mqtt-5.x branch 9 times, most recently from 7a36e38 to 4c6d157 Compare May 28, 2025 05:41
@renovate renovate bot force-pushed the renovate/mqtt-5.x branch 18 times, most recently from 54233f9 to 8b712f4 Compare June 10, 2025 01:37
@renovate renovate bot force-pushed the renovate/mqtt-5.x branch 3 times, most recently from 08941b6 to 771a051 Compare June 13, 2025 09:25
@renovate renovate bot force-pushed the renovate/mqtt-5.x branch 12 times, most recently from c124819 to 59c7332 Compare January 13, 2026 00:49
"private": true,
"dependencies": {
"mqtt": "^4.3.7",
"mqtt": "^5.0.0",

This comment was marked as outdated.

@renovate renovate bot force-pushed the renovate/mqtt-5.x branch 2 times, most recently from 83020d9 to 4d4c4ba Compare January 13, 2026 01:20
@@ -18518,6 +18532,53 @@ __metadata:
languageName: node

This comment was marked as outdated.

@renovate renovate bot force-pushed the renovate/mqtt-5.x branch 11 times, most recently from fe657b9 to 61926f6 Compare January 18, 2026 10:37
@renovate renovate bot force-pushed the renovate/mqtt-5.x branch from 61926f6 to 31ca2e8 Compare January 18, 2026 16:31
"private": true,
"dependencies": {
"mqtt": "^4.3.7",
"mqtt": "^5.0.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The mqtt package was upgraded to v5, which requires using the new keyword with connect. The current code calls connect(link) without new, which will cause a runtime error.
Severity: CRITICAL

Suggested Fix

The mqtt.js v5 library requires instantiation with the new keyword. Update the client connection logic in src/bundles/communication/src/MqttController.ts from this.client = connect(link); to correctly instantiate the client according to the v5 API. The import might also need to be adjusted.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: src/bundles/communication/package.json#L6

Potential issue: The `mqtt` dependency was upgraded from v4.3.7 to v5.x. This major
version upgrade introduced a breaking change where creating an `MqttClient` instance now
requires the `new` keyword. The code in
`src/bundles/communication/src/MqttController.ts` at line 45 calls `this.client =
connect(link)` without the `new` keyword. This will result in a runtime error when the
`connectClient()` method is invoked, preventing any MQTT connection from being
established and breaking all communication functionality for that bundle.

Did we get this right? 👍 / 👎 to inform future reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant