diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index 3616d3a..0000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "mode": "exit", - "tag": "rc" -} diff --git a/.changeset/pre/progress-indicators.md b/.changeset/pre/progress-indicators.md deleted file mode 100644 index af144f3..0000000 --- a/.changeset/pre/progress-indicators.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-native-loader-kit': minor ---- - -`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/.changeset/pre/v5-spec-driven.md b/.changeset/pre/v5-spec-driven.md deleted file mode 100644 index b321091..0000000 --- a/.changeset/pre/v5-spec-driven.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'react-native-loader-kit': major ---- - -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. diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e83d2c..2e44165 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # react-native-loader-kit +## 5.0.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. + ## 5.0.0-rc.0 ### Major Changes diff --git a/package.json b/package.json index d1e215b..fe2d6c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-loader-kit", - "version": "5.0.0-rc.0", + "version": "5.0.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",