Releases: callstack/react-native-slider
v4.5.6: Improved custom step marker, fixes, and new channel on Discord
Hello community!
With this release we are happy to bring an improved custom step marker feature and some bug fixes.
The custom step marker is no longer "experimental". It has been provided with additional props and params making it more flexible and customizable. All those properties are described in the README and utilized in the example app, so please see those when using this feature for the first time or in case of any doubts. Still, we are open to further improvements or fixes to issues if you encounter any.
There are also changes and fixes done by our engaged community 💪:
- fix: NSInvalidArgumentException when passing accessibilityIncrements (#682)
by @ckknight - fix: iOS inverted tap-to-seek in RTL (#677)
by @AymanHossam - feat: add component provider field for codegen (#678)
by @szymonrybczak
as well as some under-the-hood changes and tweaks.
One more announcement is the new Slider's channel on our Callstack's server on Discord. The link can be found in the README, but let me drop it here as well.
Please feel invited to use this channel not only to track the activity or progress of the work on the Slider, but also to reach out in case of any doubts in usage, questions, advises, or if you think you found a bug you would like to confirm or confront with us first.
See you next time! :)
v4.5.5: Unblock the build for v0.76 of React Native
v4.5.4: Bugfixes
Dears,
With the help of community devs we were able to fix the following issues:
- 'react/renderer/components/rncore/EventEmitters.h' file not found (#631)
fixed in #639 - Android: StackOverflow when lowerLimit is greater than upperLimit (and, on some devices, when the slider first loads) (#571)
fixed in #638 - issue with default min/max values with default step for custom StepMarker (#606)
fixed in #636 - Android issue: too many steps (#634)
fixed in #649 - slider has 0 height on Android with new architecture enabled (#652)
fixed in #657 by @chrfalch and #654 by @draggie and @vonovak
Thank you!
v4.5.3: Fixes and QoL updates
Hello, community!
This release brings a lot of QoL improvements and fixes to the following issues:
- Android build failure - C++ errors, buildCMakeDebug (#594)
- Fix stepMarked prop of the StepMarker when the step props is not default 1
by @betko in #581 - Cannot read properties of undefined (reading 'toFixed') (#617)
fixed by @draggie in #621 - Unable to resolve module react-native/Libraries/NativeComponent/ViewConfigIgnore (#596)
resolved by @draggie in #626 - update the targetSdk version (#580)
fixed by @draggie in #627 - StyleSheet.compose() deprecated (#614)
fixed by @draggie in #625 - onValueChange triggers an extra time after onSlidingCompleted on Android (#569)
fixed by @draggie in #628
as well as some "under the hood" changes, as usual.
Also,
this release is the first with @draggie, who will support Slider with maintenance.
And, as you can see on the list above, his work has already been huge and significant!
So, welcome and thank you, @draggie!
v4.5.2: New arch measurements hotfix
This release brings the hotfix for the last new arch measurement:
- Fix missing header guard by @alanjhughes in #592
v4.5.1: New architecture adjustments, fixes and QOL updates
Hello community!
As the new architecture is getting closer, libraries are prepared to meet all it's requirements and users/devs expectations that the library runs just fine when using new architecture.
This release brings such improvements and under-the-hood adjustments to the Slider, made in
PR 589: fix: new arch measurements on Android by @okwasniewski.
Also, huge THANK YOU 🙏 to all contributors for:
- Web-Specific Fixes for onValueChange and Deprecated React Methods by @landabaso in #563
- feat: add slider limits to web by @JacobDel in #565
- Replace metro-react-native-babel-preset with @react-native/babel-preset by @dmytrorykun in #573
- Fix Thumb Positioning on Web (#567) by @landabaso in #568
- fix keyboard progress increment getting stuck at 6 by @vafada in #572
- chore: update actions to latest versions by @retyui in #579
I have to mention, that many of these PRs and contributions were made without any specific issues, or reports or request, so I appreciate all the help!
For full changelog see: v4.5.0...v4.5.1
Also:
As you may find out, there are two new props already present in the README that are marked as ☣️ experimental ☣️.
They are related to new feature(s): custom step marker, which is still under some constructions, but it's code is already on the main branch.
Feel free to use it, play with it, experiment with it, but please remember it's still to be polished.
Also, before officially released, this feature could definitely use some issue reports or feedback.
Have a nice day!
v4.5.0: Support for React Native Vision OS
This release introduces the Slider now supporting the React Native Vision OS,
Huge thanks to @okwasniewski delivering it in #560.
Also, please checkout the React Native Vision OS and all the work that is being done there!
v4.4.4: iOS and Android dependencies and configuration
This release introduces:
- Use install_module_dependencies in podspec file (#556)
by @cipolleschi - fix(android): android gradle plugin 8 compatibility (#553)
by @mikehardy
As always - thank you very much to contributors! 🙏
v4.4.3: Bugfixes and improvements
This release brings couple of fixes:
- Upper/lower limits not working (#469)
PR #525 - Invariant Violation: [4113,"RNCSlider",{"value":"<>"}] is not usable as a native method argument (#345)
PR #513
as well as some "under-the-hood" improvements:
- Update the compatibility table in README (#516)
- bump windows min (#508)
By @TatianaKapos - Comment thumbThintColor about conflicts with thumbImage regarding fixing #346
v4.4.2: Bugfixes
This release brings fixes to and solutions to following issues: