Skip to content

Commit 3327eee

Browse files
committed
chore(release): prepare 1.6.1
1 parent b4786cd commit 3327eee

3 files changed

Lines changed: 40 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,46 @@
11
# Changelog
22

3+
<!-- markdownlint-configure-file { "MD024": { "siblings_only": true } } -->
4+
35
All notable changes to this project will be documented in this file.
46

57
## Unreleased
68

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
844

945
- Documented that `@marcocrupi/react-native-keep-awake-plus` is intended to
1046
replace `@sayem314/react-native-keep-awake`, not to be installed alongside

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@marcocrupi/react-native-keep-awake-plus",
3-
"version": "1.6.0",
3+
"version": "1.6.1",
44
"description": "Maintained fork of @sayem314/react-native-keep-awake. Keep the screen from going to sleep in React Native apps.",
55
"main": "index",
66
"types": "index.d.ts",

0 commit comments

Comments
 (0)