Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bluetooth-serial-port

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bluetooth-serial-port - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

RELEASE_NOTES.md

2

lib/bluetooth-serial-port.js

@@ -115,3 +115,3 @@ /*

var err = new Error("Not connected");
cb.call(undefined, err);
cb.call(err);
}

@@ -118,0 +118,0 @@ };

{ "name" : "bluetooth-serial-port"
, "version" : "1.2.3"
, "version" : "1.2.4"
, "description" : "Bluetooth serial port communication for Node.js"

@@ -4,0 +4,0 @@ , "author": "Eelco Cramer <eelco@hailendal.org>"

@@ -10,94 +10,9 @@ # Bluetooth serial port communication for Node.js

## RELEASE NOTES
## New in this release
### 1.2.3
* The release notes for previous version have moved to [a separate file](RELEASE_NOTES.md).
* Fixes an issue where the `Error` object is passed in the 2nd argument of the callback function when a `write` is called before the remote device was connected.
* Fixes a [segfault on OSX](https://github.com/eelcocramer/node-bluetooth-serial-port/issues/74).
* Fixes a [buffer overflow on OSX](https://github.com/eelcocramer/node-bluetooth-serial-port/issues/76).
* [Updates nan](https://github.com/eelcocramer/node-bluetooth-serial-port/pull/67) for io.js 2.x.x compatibility.
### 1.2.2
* Adds [cross-platform continues integration](https://github.com/eelcocramer/node-bluetooth-serial-port/pull/58) to the repository. Thanks @mackwic.
* [Re-enables windows](https://github.com/eelcocramer/node-bluetooth-serial-port/issues/53) support.
* Fixes an issue where [pipes and file descriptors are leaked](https://github.com/eelcocramer/node-bluetooth-serial-port/issues/57) when a connection could not be established.
### 1.2.1
* Fixes issues compile issues on OS X and Linux when using newer versions of [nan](https://github.com/rvagg/nan).
### 1.2.0
> *PLEASE NOTE* This release is not yet available for the Windows platform because the [compilation needs to be verified first](https://github.com/eelcocramer/node-bluetooth-serial-port/issues/53). As there are no major functional changes this release and the release, hopefully, will fix major issues on OSX I decided to go forward without Windows support for the moment. This will hopefully be fixed in the next release. I will update as soon as possible.
* Fixes an [issue on OSX](https://github.com/eelcocramer/node-bluetooth-serial-port/issues/46) where multiple reads would result into a corrupted read buffer.
* [Improves](https://github.com/eelcocramer/node-bluetooth-serial-port/issues/51) the implementation of the Bluetooth worker on OSX.
* Better [performance](https://github.com/eelcocramer/node-bluetooth-serial-port/issues/35) while writing to the Bluetooth connection on OSX.
* Keeps the [reader loop from reading from a closed connection]((https://github.com/eelcocramer/node-bluetooth-serial-port/issues/47).
* Will work on both node v0.8.x, v0.10.x and node v0.11.x on OSX and Linux (Windows to be done).
* When trying to write to closed connection the `write` function will not throw an exception anymore but will call the callback as per documentation.
* Adds a `closed` event that fires when a connection is closed either by the user or remotely.
### 1.1.4
* Fixes an compile issue on Windows.
### 1.1.3
* Fixes [segfault](https://github.com/eelcocramer/node-bluetooth-serial-port/pull/29) that occurs when a buffer is invalidated by the garbage collector.
* Adds experimental support for listing paired devices.
### 1.1.2
* Updates the documentation to reflect the changes made in version 1.1.0.
### 1.1.1
* Fixes typo in readme.
### 1.1.0
* Fixes [buffer overflow on close()](https://github.com/eelcocramer/node-bluetooth-serial-port/pull/26) in Mac OSX.
* Adds failure callback that is called when no channel can be found.
* Fixes an [issue on Mac OSX](https://github.com/eelcocramer/node-bluetooth-serial-port/issues/23) where a write action would fail when the MTU was exceeded.
* Fixes an [issue on Mac OSX](https://github.com/eelcocramer/node-bluetooth-serial-port/issues/24) where data would not be written asynchronously.
### 1.0.5
* Updates the code example in the README.
* Adds `win32` to the supported OS'es in the `package.json`.
### 1.0.4
* Added windows support.
### 1.0.3
* Fixes an [issue on Linux](https://github.com/eelcocramer/node-bluetooth-serial-port/pull/11) where reading from a closed or reset connection would result into a SEGFAULT.
### 1.0.2
* Updates the documentation.
* Fixes an issue where memory is freed incorrectly after closing a connection on OS X.
* Improves the timeout mechanism that is used for getting the Bluetooth service records on a remote device on OS X.
### 1.0.1
* No code changes, only updates the documentation.
### 1.0.0
* Makes the write function asynchrone.
* Takes a [Buffer](http://nodejs.org/api/buffer.html) as the input for the write function in favor of a String.
* Reads data into a [Buffer](http://nodejs.org/api/buffer.html) object instead of using a String.
* Improves error handling when calling the native addon.
### 0.2.1
* Fixes issue where calling `close` on a connection would result in an `Abort trap: 6` error on OS X.
### 0.2.0
* Experimental support for OS X!
* `findSerialPortChannel` does not invoke callback anymore when no channel was found.
* `found` event now emits the Bluetooth address as the value of the name parameter `name` when the name of the device could not be determined (used to be `[undefined]`).
## Pre-requests on Linux

@@ -104,0 +19,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc