diff --git a/.changeset/progress-indicators.md b/.changeset/pre/progress-indicators.md similarity index 100% rename from .changeset/progress-indicators.md rename to .changeset/pre/progress-indicators.md diff --git a/.changeset/v5-spec-driven.md b/.changeset/pre/v5-spec-driven.md similarity index 100% rename from .changeset/v5-spec-driven.md rename to .changeset/pre/v5-spec-driven.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..6e83d2c --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,11 @@ +# react-native-loader-kit + +## 5.0.0-rc.0 + +### Major Changes + +- ccde85f: Version 5 renders every indicator from a LoaderKit spec, with the same engine on iOS and Android, so indicators now look and move the same on both platforms. It requires the New Architecture and React Native 0.76 or newer (version 4 stays available as `react-native-loader-kit@v4-lts`). New props: `spec` for custom indicators made with `defineIndicator`, `params`, `colors`, `animating`, `hidesWhenStopped`, `cycleProgress` and `reduceMotion`. `animationSpeedMultiplier` is renamed to `speed`, and `IndicatorName` to `BuiltinIndicatorName`. All 33 indicators of version 4 keep their names and now work on both platforms, including `BallRotateChase` and `CircleStrokeSpin`, which were iOS-only. Writing your own spec is experimental in 5.x. + +### Minor Changes + +- ccde85f: `LoaderKitProgress` shows the progress of a task on iOS and Android, drawn by LoaderKit: 50 designs across 10 types (linear, circular, pie, gauge, liquid, border, bars, grid, battery and hourglass), with variants such as `wavy`, `segmented`, `striped`, `gradient`, `needle` and `heart`. Without a `value` (or with null) it shows the indeterminate animation, and new values glide smoothly unless `smooth` is false. Children are drawn over the indicator (a stop button in a circular progress, for example) or, with `border`, inside it, and screen readers announce a progress bar with its percentage. LoaderKit also adds 17 built-in indicators, 50 in total. diff --git a/package.json b/package.json index e039eb4..d1e215b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-loader-kit", - "version": "4.1.0", + "version": "5.0.0-rc.0", "description": "Beautiful native loading indicators for React Native: one JSON spec per indicator, rendered identically on iOS and Android, with custom indicators, params and playback control", "main": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts",