|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +<!-- markdownlint-configure-file { "MD024": { "siblings_only": true } } --> |
| 4 | + |
3 | 5 | All notable changes to this project will be documented in this file. |
4 | 6 |
|
5 | 7 | ## Unreleased |
6 | 8 |
|
7 | | -### Documentation updates |
| 9 | +## 1.6.1 - 2026-06-27 |
| 10 | + |
| 11 | +### Fixed |
| 12 | + |
| 13 | +- Fixed the legacy `/Class` deep import lifecycle so it shares the declarative |
| 14 | + keep-awake owner counter with the root component and hook. This prevents one |
| 15 | + legacy `Class` instance from disabling keep-awake while another declarative |
| 16 | + owner is still mounted. |
| 17 | +- Made the native entrypoints import-safe when the `ReactNativeKCKeepAwake` |
| 18 | + native module is not registered. The native module is now resolved lazily and |
| 19 | + an explicit error is thrown when keep-awake functionality is used, instead of |
| 20 | + crashing at import time. |
| 21 | + |
| 22 | +### Added |
| 23 | + |
| 24 | +- Added TypeScript declarations for the legacy `/Class` and `/Class.js` deep |
| 25 | + imports. |
| 26 | +- Added `NativeKCKeepAwakeModule.js` as the shared lazy native module resolver |
| 27 | + used by the native entrypoints. |
| 28 | +- Added missing-native test coverage for the root native entry, legacy `/Class` |
| 29 | + deep imports, imperative APIs, static legacy APIs, and owner-counting recovery |
| 30 | + after a failed native activation. |
| 31 | + |
| 32 | +### Security |
| 33 | + |
| 34 | +- Updated the example Ruby constraints to require `concurrent-ruby >= 1.3.7` |
| 35 | + and `activesupport >= 7.2.3.1`, with the example Ruby baseline raised to |
| 36 | + `>= 3.1.0`. |
| 37 | +- Updated the example React Native CLI packages to `20.1.3`, resolving the |
| 38 | + vulnerable `fast-xml-parser` dependency path through `fast-xml-parser` |
| 39 | + `5.9.3`. |
| 40 | +- Added an example-only `js-yaml` override to `4.2.0` to eliminate the remaining |
| 41 | + vulnerable Jest/Istanbul tooling dependency path. |
| 42 | + |
| 43 | +### Documentation |
8 | 44 |
|
9 | 45 | - Documented that `@marcocrupi/react-native-keep-awake-plus` is intended to |
10 | 46 | replace `@sayem314/react-native-keep-awake`, not to be installed alongside |
|
0 commit comments