Skip to content

Update fork lib with origin v12.5.1 - #10

Open
k-saparia wants to merge 595 commits into
masterfrom
upgrade/upstream-12.5.1
Open

Update fork lib with origin v12.5.1#10
k-saparia wants to merge 595 commits into
masterfrom
upgrade/upstream-12.5.1

Conversation

@k-saparia

@k-saparia k-saparia commented Jul 31, 2026

Copy link
Copy Markdown

dependabot Bot and others added 30 commits October 31, 2024 10:14
Bumps [rexml](https://github.com/ruby/rexml) from 3.3.6 to 3.3.9.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](ruby/rexml@v3.3.6...v3.3.9)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
…ml-3.3.9

Bump rexml from 3.3.6 to 3.3.9 in /example
The event should be sent to the javascript listeners, not broadcasted to
the iOS notification center.

Add typescript type for the event.
…l-checks

bugfix: add missing null checks to CompanionScanner
…spec to support both architechtures, fix imports on ios.
marcosinigaglia and others added 29 commits January 13, 2026 09:27
Align the JSDocs with the docs
…crash

Add validation for BLE UUID format (16-bit and 128-bit) before creating
CBUUID instances. Invalid UUID strings now return an error callback
instead of causing app crashes.
Implement a method to validate both 16-bit and 128-bit BLE UUID formats, ensuring that invalid UUID strings are handled gracefully.
Add a check to ensure that if serviceUUIDs are provided but all are invalid, an error message is logged and a callback is returned, preventing further processing.
fix(ios,android): add UUID validation to prevent crashes and fix scan behavior
The didDiscoverServices, didDiscoverCharacteristicsFor, and didDiscoverDescriptorsFor delegate callbacks all returned early on error without invoking the JS callback or clearing the discovery latches. This caused the retrieveServices promise to never resolve. Now errors properly propagate to the callback, and the latch system correctly handles errors and services with zero characteristics.
Fix retrieveServices hanging forever on iOS when service discovery fails
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.8.1 to 2.9.0.
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](sporkmonger/addressable@addressable-2.8.1...addressable-2.9.0)

---
updated-dependencies:
- dependency-name: addressable
  dependency-version: 2.9.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.8.7 to 2.9.0.
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](sporkmonger/addressable@addressable-2.8.7...addressable-2.9.0)

---
updated-dependencies:
- dependency-name: addressable
  dependency-version: 2.9.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
CoreBluetooth's `localizedDescription` is a locale-dependent system string that Apple does not contract to keep stable across iOS releases.
Consumers needing to distinguish specific failures (e.g.`CBATTErrorInsufficientEncryption` — the failure surfaced when the user cancels the iOS pairing PIN dialog, code 15 in domain `CBATTErrorDomain`) currently have to string match on English text, which breaks on non-English devices and may break on future iOS versions.

Replace the bare `error.localizedDescription` string passed to JS callbacks with a `{ code, domain, message }` dictionary, matching the structured payload already emitted by `didDisconnectPeripheral` and `didUpdateNotificationStateFor`.

BREAKING CHANGE: JS-side error parameter for `read`, `write`, `connect`, `retrieveServices`, `readRSSI`, `readDescriptor`, and `writeDescriptor` is now an object rather than a string on iOS. The human-readable text is still available as `error.message`; callers who only logged it (`console.error(err)`) continue to work since both strings and dicts serialize sensibly.
fix(ios): emit structured { code, domain, message } on callback errors
…ressable-2.9.0

Bump addressable from 2.8.1 to 2.9.0 in /example
…sable-2.9.0

Bump addressable from 2.8.7 to 2.9.0 in /docs
Resolve conflicts in favor of v12.5.1 + PBSC fork; drop legacy v8 JS/ObjC
artifacts from master.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.