Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,25 @@ All notable changes to this project are documented in this file. Releases use
[Semantic Versioning](https://semver.org/) and are generated from Conventional
Commits by release-it.

## [0.4.0](https://github.com/JimmyDaddy/react-native-bs-diff-patch/compare/v0.3.0...v0.4.0) (2026-07-23)

### Features

- add cross-platform `inspectPatch()` and `verifyPatch()` APIs for inspecting
patch metadata and validating restored output byte-for-byte;
- add native runtime coverage for metadata, malformed patches, mismatches, and
resource limits across Android and iOS;
- add a bilingual browser-local Binary Patch Toolkit for creating, applying,
verifying, and inspecting patches without uploading files;
- add large-file native and Web benchmark baselines plus an evidence-backed
roadmap for progress and streaming feasibility;
- refresh the bilingual README, documentation site, favicon, and social preview.

### Compatibility and validation

- keep the native fuzz harness buildable on both Linux and macOS while
exercising the platform-specific atomic output path.

## [0.3.0](https://github.com/JimmyDaddy/react-native-bs-diff-patch/compare/v0.2.0...v0.3.0) (2026-07-20)

### Features
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-bs-diff-patch",
"version": "0.3.0",
"version": "0.4.0",
"description": "Create and apply compact binary patches across React Native Android, iOS, and Web",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down
9 changes: 7 additions & 2 deletions scripts/test-native-fuzz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ repository_directory=$(CDPATH='' cd -- "$(dirname -- "$0")/.." && pwd)
temporary_directory=$(mktemp -d)
fuzz_runs="${FUZZ_RUNS:-5000}"
compiler="${CC:-clang}"
feature_test_macro=-D_POSIX_C_SOURCE=200809L

if [ "$(uname -s)" = "Darwin" ]; then
feature_test_macro=-D_DARWIN_C_SOURCE
fi

cleanup() {
rm -rf "$temporary_directory"
Expand All @@ -14,7 +19,7 @@ trap cleanup EXIT INT TERM

if "$compiler" \
-std=c11 \
-D_POSIX_C_SOURCE=200809L \
"$feature_test_macro" \
-g \
-O1 \
-fno-omit-frame-pointer \
Expand All @@ -37,7 +42,7 @@ if "$compiler" \
else
"$compiler" \
-std=c11 \
-D_POSIX_C_SOURCE=200809L \
"$feature_test_macro" \
-g \
-O1 \
-fno-omit-frame-pointer \
Expand Down