Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## Unreleased

## [5.8.0] - 2025-10-13
## [5.8.1] - 2025-10-16

### Fixed

- Fixed bug where BLE peripheral event listeners were not being removed when the connection timed out.

## [5.8.0] - 2025-10-16

### Added

Expand Down
2 changes: 1 addition & 1 deletion docs/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export default function Home(): JSX.Element {
<div className={styles.section}>
<p className={styles.description}>
NinjaTerm is an open source and free electron (or web-based) application designed for viewing debug serial port data and sending commands when developing firmware for
an embedded device (e.g. microcontroller). TEST
an embedded device (e.g. microcontroller).
</p>
<p className={styles.description}>
If you are looking for a serious terminal for continual use, the installable desktop versions are recommended. If you are looking for a quick way to view some serial
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ninjaterm",
"productName": "NinjaTerm",
"version": "5.8.0",
"version": "5.8.1",
"description": "A modern, powerful serial terminal for developers and engineers.",
"author": {
"name": "Geoffrey Hunter",
Expand Down
1 change: 1 addition & 0 deletions src/main/MainBluetoothService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ export class MainBluetoothService {
this.connectionAttemptTimeout = null;
// On Windows, I observed a problem where is the peripheral was reset (i.e. a drop the connection), then if we tried to connect again, noble would allow the connection to succeed, even though the peripheral was not definitely not connected to the computer. To combat this, we consider a connection attempt only complete if noble both reports it connects AND we can successfully scan for services and characteristics (the scan would not work for a "ghost" device). If this timeout occurs, it can be because it's connected to a "ghost" device. So force a disconnect.
this.peripheral?.disconnect();
this.peripheral?.removeAllListeners();
}, CONNECTION_ATTEMPT_TIMEOUT_MS);

// Find the device in discovered peripherals
Expand Down