You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release refreshes the project scaffold and example app to the latest `create-react-native-library` template. The public CookieManager API and native cookie behavior are unchanged.
8
+
9
+
### Compatibility
10
+
11
+
- JavaScript API remains compatible with `@react-native-cookies/cookies`.
12
+
- Android minimum SDK remains `24` (Android 7.0).
13
+
- React Native development and example app baseline updated to `0.85.0`.
14
+
- React development baseline updated to `19.2.3`.
15
+
- Old Architecture compatibility remains available for older React Native versions that still support it.
16
+
- Old Architecture support is deprecated and will be removed in a future major release.
17
+
18
+
### Android
19
+
20
+
- Updated the example Android project to the current React Native 0.85 template.
21
+
- Updated example Gradle wrapper to `9.3.1`.
22
+
- Updated library Android defaults to `compileSdkVersion 36` and `targetSdkVersion 36`.
23
+
- Moved library Android default versions into `android/build.gradle` and removed the separate library `android/gradle.properties`.
24
+
- Migrated Android lint configuration from `lintOptions` to `lint`.
25
+
- Kept the native Kotlin CookieManager implementation and JS API behavior unchanged.
26
+
27
+
### iOS
28
+
29
+
- Updated the example iOS project and pods for React Native 0.85.
30
+
- Enabled React Native prebuilt dependencies in CI for faster iOS builds.
31
+
- Preserved the existing Swift/Objective-C CookieManager implementation and bridge exports.
32
+
33
+
### Tooling and CI
34
+
35
+
- Updated `create-react-native-library` metadata from `0.55.1` to `0.62.0`.
36
+
- Updated Node tooling to Node 24 in `.nvmrc` and publish workflows.
37
+
- Updated TypeScript, ESLint, Prettier, Turbo, and Bob dependencies to match the refreshed template.
38
+
- Added an Expo Android prebuild smoke test to CI.
39
+
- Added iOS build log upload on CI failures for easier diagnostics.
40
+
- Removed Jest, Lefthook, Commitlint, and Release It from the local template tooling.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
-31Lines changed: 0 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,36 +75,6 @@ To fix formatting errors, run the following:
75
75
yarn lint --fix
76
76
```
77
77
78
-
Remember to add tests for your change if possible. Run the unit tests by:
79
-
80
-
```sh
81
-
yarn test
82
-
```
83
-
84
-
85
-
### Commit message convention
86
-
87
-
We follow the [conventional commits specification](https://www.conventionalcommits.org/en) for our commit messages:
88
-
89
-
-`fix`: bug fixes, e.g. fix crash due to deprecated method.
90
-
-`feat`: new features, e.g. add new method to the module.
91
-
-`refactor`: code refactor, e.g. migrate from class components to hooks.
92
-
-`docs`: changes into documentation, e.g. add usage example for the module.
93
-
-`test`: adding or updating tests, e.g. add integration tests using detox.
94
-
-`chore`: tooling changes, e.g. change CI config.
95
-
96
-
Our pre-commit hooks verify that your commit message matches this format when committing.
97
-
98
-
99
-
### Publishing to npm
100
-
101
-
We use [release-it](https://github.com/release-it/release-it) to make it easier to publish new versions. It handles common tasks like bumping version based on semver, creating tags and releases etc.
102
-
103
-
To publish new versions, run the following:
104
-
105
-
```sh
106
-
yarn release
107
-
```
108
78
109
79
110
80
### Scripts
@@ -114,7 +84,6 @@ The `package.json` file contains various scripts for common tasks:
114
84
-`yarn`: setup project by installing dependencies.
115
85
-`yarn typecheck`: type-check files with TypeScript.
116
86
-`yarn lint`: lint files with [ESLint](https://eslint.org/).
117
-
-`yarn test`: run unit tests with [Jest](https://jestjs.io/).
118
87
-`yarn example start`: start the Metro server for the example app.
119
88
-`yarn example android`: run the example app on Android.
0 commit comments