diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f2a5809..efc3914 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6cfa393..840a667 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e6df7aa..633fbbf 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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: diff --git a/README.md b/README.md index 10cf911..bf95b84 100644 --- a/README.md +++ b/README.md @@ -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) | @@ -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 @@ -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. diff --git a/docs/assets/github-social-preview.png b/docs/assets/github-social-preview.png index 63dfe74..ecb69c4 100644 Binary files a/docs/assets/github-social-preview.png and b/docs/assets/github-social-preview.png differ diff --git a/docs/assets/og-cover.png b/docs/assets/og-cover.png index 961680c..a250482 100644 Binary files a/docs/assets/og-cover.png and b/docs/assets/og-cover.png differ diff --git a/docs/assets/social-square.png b/docs/assets/social-square.png index b726510..9d8392b 100644 Binary files a/docs/assets/social-square.png and b/docs/assets/social-square.png differ diff --git a/docs/assets/src/og-cover.svg b/docs/assets/src/og-cover.svg index d81b234..518d318 100644 --- a/docs/assets/src/og-cover.svg +++ b/docs/assets/src/og-cover.svg @@ -3,4 +3,4 @@ -v0.3.14Published to npm · Android 10+Health Connect,native to React Native.A typed TurboModule for Android Health Connect:permissions, 42 record types, aggregates, sync.solutionforest.github.io/AndroidHealthConnectterminal · npmjs.org$ yarn add @solutionforest/android-health-connect \ No newline at end of file +v0.3.17Published to npm · Android 10+Health Connect,native to React Native.A typed TurboModule for Android Health Connect:permissions, 42 record types, aggregates, sync.solutionforest.github.io/AndroidHealthConnectterminal · npmjs.org$ yarn add @solutionforest/android-health-connect \ No newline at end of file diff --git a/docs/assets/src/social-square.svg b/docs/assets/src/social-square.svg index e0e612d..e541698 100644 --- a/docs/assets/src/social-square.svg +++ b/docs/assets/src/social-square.svg @@ -3,4 +3,4 @@ -v0.3.14Published to npm · Android 10+HealthConnect,nativeto React Native.A typed TurboModule for Android Health Connect:permissions, 42 record types, aggregates, sync.terminal · npmjs.org$ yarn add @solutionforest/android-health-connectsolutionforest.github.io/AndroidHealthConnect \ No newline at end of file +v0.3.17Published to npm · Android 10+HealthConnect,nativeto React Native.A typed TurboModule for Android Health Connect:permissions, 42 record types, aggregates, sync.terminal · npmjs.org$ yarn add @solutionforest/android-health-connectsolutionforest.github.io/AndroidHealthConnect \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 67fc64b..59bec06 100644 --- a/docs/index.html +++ b/docs/index.html @@ -74,8 +74,8 @@
- - v0.3.16 Published to npm with Trusted Publishing + + v0.3.17 Published to npm with Trusted Publishing

Health Connect,
native to React Native. diff --git a/docs/install.html b/docs/install.html index 2561622..bd96986 100644 --- a/docs/install.html +++ b/docs/install.html @@ -155,7 +155,7 @@

02Choose a version line

terminal
# 0.3.x — AGP 9.1+ / compileSdk 37
-yarn add @solutionforest/android-health-connect@0.3.16
+yarn add @solutionforest/android-health-connect@0.3.17
 
 # 0.2.x — AGP 8.9.1+ / compileSdk 36
 yarn add @solutionforest/android-health-connect@release-0.2
@@ -232,7 +232,7 @@

04Install the AI agent skill

05Alternatives

    -
  • Git: solutionforest/AndroidHealthConnect#v0.3.16
  • +
  • Git: solutionforest/AndroidHealthConnect#v0.3.17
  • Download the GitHub Release diff --git a/package.json b/package.json index 9cd07ae..ae7d588 100644 --- a/package.json +++ b/package.json @@ -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",