mhnpd / react-loader-spinner

Collection sets of a spinners for async operations for ReactJS
https://mhnpd.github.io/react-loader-spinner/
MIT License
969 stars 145 forks source link

New update introducing code breaking changes #160

Closed bennaaym closed 9 months ago

bennaaym commented 9 months ago

Hello, I am currently using version ^5.4.5 of the "react-loader-spinner" package in my project. According to Semantic Versioning, this version specification should allow for any minor update less than 6.0.0 while maintaining backward compatibility.

However, it seems that there have been breaking changes in the latest release, impacting the existing functionality in my project. I fixed the error by removing ^ and installing version 5.4.5

image

I wanted to bring this to your attention in case it wasn't intentional or planned.

kingsley-einstein commented 9 months ago

I'm experiencing the same. I had to install 5.4.5

mhnpd commented 9 months ago

Thank you for bringing this to my attention. I hadn't realized that the import statements were impacted by the new library build method. I have made the necessary adjustments and released the changes as a major version. Please note that version 5.5.0 has been deprecated.