Skip to content

Commit 4d78571

Browse files
author
Heimer Nguyen
committed
chore: release version 1.0.0 with major enhancements and stability improvements
- Updated version to 1.0.0 in package.json - Enhanced CHANGELOG with details on new features, CI improvements, and build reliability - Updated compatibility documentation for React Native and Expo SDK - Improved README to highlight robust CI/CD capabilities and support for new architecture
1 parent b3e4d64 commit 4d78571

File tree

4 files changed

+73
-35
lines changed

4 files changed

+73
-35
lines changed

CHANGELOG.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
9-
10-
## [0.1.0] - 2025-08-27
8+
## [1.0.0] - 2025-08-28
119

1210
### Added
1311

@@ -27,6 +25,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2725
- **Expo example app** with modern UI and full feature demonstration
2826
- Cross-platform example app (iOS, Android, Web)
2927

28+
### Changed
29+
30+
- **Major Version Release**: Stable 1.0.0 release with production-ready features
31+
- Enhanced CI pipeline and build reliability
32+
- Improved cross-platform compatibility
33+
34+
### Fixed
35+
36+
- Resolved CI and Android build issues with Yarn lockfile and JVM compatibility
37+
- Improved build pipeline stability
38+
- Enhanced cross-platform build reliability
39+
- CI pipeline improvements and stability enhancements
40+
- Android build compatibility improvements
41+
- Yarn lockfile consistency fixes
42+
3043
### Features
3144

3245
- Lightweight and performant native implementation
@@ -50,4 +63,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5063
- Cross-platform compatibility (iOS, Android, Web)
5164
- Performance timing and metrics display
5265

53-
[0.1.0]: https://github.com/nguyenthanhan/react-native-image-code-scanner/releases/tag/v0.1.0
66+
[1.0.0]: https://github.com/nguyenthanhan/react-native-image-code-scanner/releases/tag/v1.0.0

COMPATIBILITY.md

Lines changed: 49 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,36 @@
44

55
### React Native Versions
66

7-
| React Native | Package Version | Architecture Support | Notes |
8-
|-------------|-----------------|---------------------|--------|
9-
| 0.70.x |0.1.x | Old Architecture | Full support |
10-
| 0.71.x |0.1.x | Old Architecture | Full support |
11-
| 0.72.x |0.1.x | Old Architecture | Full support |
12-
| 0.73.x |0.1.x | Old & New Architecture | Full support |
13-
| 0.74.x |0.1.x | Old & New Architecture | Full support |
14-
| 0.75.x |0.1.x | Old & New Architecture | Full support |
15-
| 0.76.x |0.1.x | New Architecture (default) | Full support |
16-
| 0.77.x |0.1.x | New Architecture (default) | Full support |
17-
| 0.78.x |0.1.x | New Architecture (default) | Full support |
18-
| **0.79.x** |**0.1.x** | **New Architecture (default)** | **Latest - Full support** |
19-
| 0.80.x+ | 🔜 0.1.x | New Architecture | Ready when released |
7+
| React Native | Package Version | Architecture Support | Notes |
8+
| ------------ | --------------- | ------------------------------ | ------------------------- |
9+
| 0.70.x |1.0.x | Old Architecture | Full support |
10+
| 0.71.x |1.0.x | Old Architecture | Full support |
11+
| 0.72.x |1.0.x | Old Architecture | Full support |
12+
| 0.73.x |1.0.x | Old & New Architecture | Full support |
13+
| 0.74.x |1.0.x | Old & New Architecture | Full support |
14+
| 0.75.x |1.0.x | Old & New Architecture | Full support |
15+
| 0.76.x |1.0.x | New Architecture (default) | Full support |
16+
| 0.77.x |1.0.x | New Architecture (default) | Full support |
17+
| 0.78.x |1.0.x | New Architecture (default) | Full support |
18+
| **0.79.x** |**1.0.x** | **New Architecture (default)** | **Latest - Full support** |
19+
| 0.80.x+ | 🔜 1.0.x | New Architecture | Ready when released |
2020

2121
### React Versions
2222

23-
| React Version | Compatibility |
24-
|--------------|---------------|
25-
| 17.x | ✅ Supported |
26-
| 18.x | ✅ Supported (Recommended) |
27-
| 19.x | ✅ Supported (Beta) |
23+
| React Version | Compatibility |
24+
| ------------- | -------------------------- |
25+
| 17.x | ✅ Supported |
26+
| 18.x | ✅ Supported (Recommended) |
27+
| 19.x | ✅ Supported (Beta) |
2828

2929
### Expo SDK Compatibility
3030

31-
| Expo SDK | React Native | Package Version | Status |
32-
|----------|-------------|-----------------|--------|
33-
| SDK 49 | 0.72.x |0.1.x | Supported (requires prebuild) |
34-
| SDK 50 | 0.73.x |0.1.x | Supported (requires prebuild) |
35-
| SDK 51 | 0.74.x |0.1.x | Supported (requires prebuild) |
36-
| **SDK 52** | **0.79.x** |**0.1.x** | **Latest - Full support (requires prebuild)** |
31+
| Expo SDK | React Native | Package Version | Status |
32+
| ---------- | ------------ | --------------- | --------------------------------------------- |
33+
| SDK 49 | 0.72.x |1.0.x | Supported (requires prebuild) |
34+
| SDK 50 | 0.73.x |1.0.x | Supported (requires prebuild) |
35+
| SDK 51 | 0.74.x |1.0.x | Supported (requires prebuild) |
36+
| **SDK 52** | **0.79.x** |**1.0.x** | **Latest - Full support (requires prebuild)** |
3737

3838
**Note**: This library requires prebuild for Expo projects as it uses native modules.
3939

@@ -68,6 +68,22 @@
6868
- **npm**: >=8.0.0
6969
- **Yarn**: >=1.22.0 or >=3.0.0 (Berry)
7070

71+
## Build and CI Compatibility
72+
73+
### Recent Improvements (v1.0.0+)
74+
75+
- **Enhanced CI Pipeline**: Improved GitHub Actions workflow stability
76+
- **Android Build Fixes**: Resolved JVM compatibility issues
77+
- **Yarn Lockfile**: Consistent dependency management across platforms
78+
- **Cross-Platform Reliability**: Better build success rates on all supported platforms
79+
80+
### Build Tools
81+
82+
- **React Native CLI**: 15.0.0+
83+
- **Metro**: Latest stable version
84+
- **Babel**: 7.x with React Native preset
85+
- **TypeScript**: 5.3.0+
86+
7187
## New Architecture Support
7288

7389
### Turbo Modules (React Native 0.68+)
@@ -114,16 +130,19 @@ newArchEnabled=false
114130
If you're upgrading from React Native 0.6x:
115131

116132
1. Update peer dependencies:
133+
117134
```json
118135
{
119136
"react": ">=17.0.0",
120137
"react-native": ">=0.70.0"
121138
}
122139
```
123140

124-
2. Update iOS deployment target to 13.4 or higher
141+
2. Update package version reference to 1.0.x in your project
142+
143+
3. Update iOS deployment target to 13.4 or higher
125144

126-
3. Update Android minSdkVersion to 21 or higher
145+
4. Update Android minSdkVersion to 21 or higher
127146

128147
### From Old to New Architecture
129148

@@ -133,7 +152,7 @@ No code changes required! The library automatically detects and uses the appropr
133152
// Same API for both architectures
134153
const results = await ImageCodeScanner.scan({
135154
path: imagePath,
136-
formats: [BarcodeFormat.QR_CODE]
155+
formats: [BarcodeFormat.QR_CODE],
137156
});
138157
```
139158

@@ -153,6 +172,7 @@ npm install react-native-image-code-scanner
153172
### Automated Testing
154173

155174
The library is tested against:
175+
156176
- React Native 0.70.x (Old Architecture)
157177
- React Native 0.75.x (Both Architectures)
158178
- React Native 0.79.x (New Architecture)
@@ -167,6 +187,7 @@ The library is tested against:
167187
### Issue: Expo Go doesn't work
168188

169189
**Solution**: This is expected. The library uses native modules that require prebuild:
190+
170191
```bash
171192
npx expo prebuild
172193
npx expo run:ios # or run:android
@@ -175,6 +196,7 @@ npx expo run:ios # or run:android
175196
### Issue: TypeScript errors with React Native 0.7x
176197

177198
**Solution**: Ensure you have the correct @types/react-native:
199+
178200
```bash
179201
npm install --save-dev @types/react@^18.0.0 @types/react-native@^0.72.0
180202
```

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ A lightweight, high-performance React Native library for scanning QR codes and b
3131
- **🔄 Smart Recognition**: Automatic rotation, grayscale conversion, and contrast enhancement
3232
- **🔒 Type Safe**: Full TypeScript support with comprehensive type definitions
3333
- **🛠️ Expo Compatible**: Works with Expo (requires prebuild for native functionality)
34+
- **🏗️ Robust CI/CD**: Enhanced build pipeline with improved cross-platform reliability
3435

3536
## 📋 Supported Barcode Formats
3637

@@ -54,9 +55,11 @@ A lightweight, high-performance React Native library for scanning QR codes and b
5455

5556
| React Native Version | Package Version | Status |
5657
| -------------------- | --------------- | -------------------------------------------- |
57-
| 0.70.x - 0.74.x | ✅ 0.1.x | Fully Supported |
58-
| 0.75.x - 0.79.x | ✅ 0.1.x | Fully Supported (including New Architecture) |
59-
| 0.80.x+ | ✅ 0.1.x | Fully Supported (when released) |
58+
| 0.70.x - 0.74.x | ✅ 1.0.x | Fully Supported |
59+
| 0.75.x - 0.79.x | ✅ 1.0.x | Fully Supported (including New Architecture) |
60+
| 0.80.x+ | ✅ 1.0.x | Fully Supported (when released) |
61+
62+
**Latest Version**: v1.0.0 - Major stable release with enhanced CI pipeline and build reliability improvements
6063

6164
### Requirements
6265

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-image-code-scanner",
3-
"version": "0.1.0",
3+
"version": "1.0.0",
44
"description": "A lightweight, high-performance React Native library for scanning QR codes and barcodes from images with automatic preprocessing for optimal recognition.",
55
"main": "./lib/module/index.js",
66
"types": "./lib/typescript/src/index.d.ts",

0 commit comments

Comments
 (0)