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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
workflow_dispatch:
inputs:
tag:
description: 'Existing tag to build/upload/publish (e.g. v0.3.16). Leave empty to use package.json version.'
description: 'Existing tag to build/upload/publish (e.g. v0.3.17). Leave empty to use package.json version.'
required: false
type: string

Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.3.17] - 2026-11-26

### Changed

- Dev toolchain moved to React Native 0.88 (`@react-native/jest-preset`, builder-bob 0.44),
ESLint 10 (flat config with explicit plugins), commitlint 21, release-it 21, and
Gradle wrapper 9.9.2 for the example app. The published library still supports RN ≥ 0.84.
- `abortError` narrows `AbortSignal.reason` to `unknown` for RN 0.88 typings. Runtime behavior is unchanged.
- Docs site: SEO metadata (canonical, Open Graph, Twitter cards, JSON-LD), `sitemap.xml`,
`robots.txt`, and a new cover and social-share artwork.
- CI: `actions/upload-pages-artifact` v5 and `actions/deploy-pages` v5; Robolectric 4.18.1.

### Fixed

- Docs code highlighter regex now matches the `--!>` comment end (CodeQL `js/bad-tag-filter`).

## [0.3.16] - 2026-11-24

### Added
Expand Down Expand Up @@ -233,6 +249,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Stable 0.2.x line (HC `1.1.0`, AGP 8.9 / sdk 36): GitHub Packages + hosted CI parity and security dependency fixes.

[0.3.17]: https://github.com/solutionforest/AndroidHealthConnect/releases/tag/v0.3.17
[0.3.16]: https://github.com/solutionforest/AndroidHealthConnect/releases/tag/v0.3.16
[0.3.15]: https://github.com/solutionforest/AndroidHealthConnect/releases/tag/v0.3.15
[0.3.14]: https://github.com/solutionforest/AndroidHealthConnect/releases/tag/v0.3.14
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ for publish).
mirror (`npm.pkg.github.com`).

Tag `v*` on `main` to trigger Release — the tag **must** match `package.json`
(`v0.3.16` ↔ `"version": "0.3.16"`).
(`v0.3.17` ↔ `"version": "0.3.17"`).

We use [release-it](https://github.com/release-it/release-it) for version bumps locally when needed:

Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,18 @@ Pick a line by Android toolchain (HC SDK / AGP), not by RN major:

| Package | RN | Node | `connect-client` | Min AGP | compileSdk | Branch / tag |
|---|---|---|---|---|---|---|
| **[`0.3.16`](https://github.com/solutionforest/AndroidHealthConnect/releases/tag/v0.3.16)** (default) | **≥0.84** | **≥22.22** | **`1.2.0-alpha06`** | **9.1.0** | **37** | `main` |
| **[`0.3.17`](https://github.com/solutionforest/AndroidHealthConnect/releases/tag/v0.3.17)** (default) | **≥0.84** | **≥22.22** | **`1.2.0-alpha06`** | **9.1.0** | **37** | `main` |
| **[`0.2.4`](https://github.com/solutionforest/AndroidHealthConnect/releases/tag/v0.2.4)** (maintenance) | **≥0.84** | **≥22.11** | **`1.1.0`** (stable) | **8.9.1** | **36** | [`release/0.2.x`](https://github.com/solutionforest/AndroidHealthConnect/tree/release/0.2.x) |

```sh
# npmjs.org (default — no .npmrc needed)
yarn add @solutionforest/android-health-connect@0.3.16 # AGP 9.1+ / compileSdk 37
yarn add @solutionforest/android-health-connect@0.3.17 # AGP 9.1+ / compileSdk 37
yarn add @solutionforest/android-health-connect@0.2.4 # AGP 8.9.1+ / compileSdk 36 (dist-tag release-0.2)
```

### What `0.3.16` (this branch) needs in your host app
### What `0.3.17` (this branch) needs in your host app

| Requirement | Value for `0.3.16` |
| Requirement | Value for `0.3.17` |
|---|---|
| Install | `@solutionforest/android-health-connect` from **npmjs.org** |
| Health Connect Jetpack SDK | [`connect-client:1.2.0-alpha06`](https://developer.android.com/jetpack/androidx/releases/health-connect) |
Expand Down Expand Up @@ -108,9 +108,9 @@ Same scoped name on **both** registries: `@solutionforest/android-health-connect

```sh
# Default (0.3.x): connect-client 1.2.0-alpha06 — needs AGP 9.1+ / compileSdk 37
yarn add @solutionforest/android-health-connect@0.3.16
yarn add @solutionforest/android-health-connect@0.3.17
# or
npm install @solutionforest/android-health-connect@0.3.16
npm install @solutionforest/android-health-connect@0.3.17

# Maintenance (0.2.x): connect-client 1.1.0 stable — AGP 8.9.1+ / compileSdk 36
yarn add @solutionforest/android-health-connect@release-0.2
Expand All @@ -125,12 +125,12 @@ yarn add @solutionforest/android-health-connect@release-0.2
```

```sh
yarn add @solutionforest/android-health-connect@0.3.16
yarn add @solutionforest/android-health-connect@0.3.17
```

Use a classic PAT with `read:packages` (SSO-authorize for `solutionforest` if required).

Alternatives: install from git (`solutionforest/AndroidHealthConnect#v0.3.16`) or download the Release `.tgz`.
Alternatives: install from git (`solutionforest/AndroidHealthConnect#v0.3.17`) or download the Release `.tgz`.

Pushing a `v*` tag runs the **Release** workflow: packs `.tgz`, uploads to the GitHub Release, publishes to **npmjs.org** via Trusted Publishing (OIDC), and mirrors to GitHub Packages.

Expand Down
Binary file modified docs/assets/github-social-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/og-cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/social-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/assets/src/og-cover.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/assets/src/social-square.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
<div class="shell hero">
<div class="hero__mesh" aria-hidden="true"></div>
<div class="hero__copy">
<a class="pill rise" href="https://github.com/solutionforest/AndroidHealthConnect/releases/tag/v0.3.16">
<b>v0.3.16</b> Published to npm with Trusted Publishing
<a class="pill rise" href="https://github.com/solutionforest/AndroidHealthConnect/releases/tag/v0.3.17">
<b>v0.3.17</b> Published to npm with Trusted Publishing
</a>
<h1 class="rise" style="--i: 1">
Health Connect,<br /><em>native</em> to React&nbsp;Native.
Expand Down
4 changes: 2 additions & 2 deletions docs/install.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ <h2><span class="step">02</span>Choose a version line</h2>
<div class="code">
<div class="code__bar"><span>terminal</span><button class="copy" data-copy>Copy</button></div>
<pre><code><span class="c"># 0.3.x — AGP 9.1+ / compileSdk 37</span>
yarn add @solutionforest/android-health-connect@0.3.16
yarn add @solutionforest/android-health-connect@0.3.17

<span class="c"># 0.2.x — AGP 8.9.1+ / compileSdk 36</span>
yarn add @solutionforest/android-health-connect@release-0.2</code></pre>
Expand Down Expand Up @@ -232,7 +232,7 @@ <h2><span class="step">04</span>Install the AI agent skill</h2>
<section id="alternatives">
<h2><span class="step">05</span>Alternatives</h2>
<ul>
<li>Git: <code>solutionforest/AndroidHealthConnect#v0.3.16</code></li>
<li>Git: <code>solutionforest/AndroidHealthConnect#v0.3.17</code></li>
<li>
Download the
<a href="https://github.com/solutionforest/AndroidHealthConnect/releases">GitHub Release</a>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@solutionforest/android-health-connect",
"version": "0.3.16",
"version": "0.3.17",
"description": "React Native TurboModule for Android Health Connect — read/write health records, permissions, matchmaking, and PHR helpers.",
"main": "./lib/module/index.js",
"types": "./lib/typescript/src/index.d.ts",
Expand Down