Skip to content

Releases: stoyan-vuchev/squircle-shape

Release v3.0.1

16 Jan 10:56
444a32a
Compare
Choose a tag to compare

Bumped dependency & lib versions.

  • Bumped Compose Version to 1.7.3.
  • Bumped Kotlin Version to 2.1.0.
  • Bumped Library Version to 3.0.1.

Release v3.0.0

24 Nov 13:11
5b83c2c
Compare
Choose a tag to compare

I'm excited to announce the release of version 3.0.0, packed with new features, improvements, and breaking changes to enhance functionality and flexibility. This major release focuses on improved integration, customization, and alignment with the Jetpack Compose ecosystem.

✨ New Features

1. Integration with MaterialTheme

  • The SquircleBasedShape class now extends CornerBasedShape, enabling seamless integration with androidx.compose.material3.Shapes.
    • You can now define squircle shapes at the theme level and use them across your Compose components.

2. Corner Smoothing Support

  • Added support for cornerSmoothing directly within the SquircleBasedShape constructor.
    • Smoothly transition corners for a delightful squircle effect.
    • Works with both MaterialTheme shapes and custom shapes.

3. Enhanced RTL Support

  • Improved handling of layout direction with proper adjustments for top-start, top-end, bottom-start, and bottom-end corner radii.
    • Fully compatible with both LayoutDirection.Ltr and LayoutDirection.Rtl.

🛠 Improvements

  • Code Simplification: The createSquircleShapeOutline function now uses the cornerSmoothing parameter more efficiently, eliminating the need for overloaded methods.
  • Performance Optimization: Ensured corner radii are clamped efficiently to fit the size constraints, enhancing rendering performance.

⚠️ Breaking Changes

1. SquircleBasedShape API Changes

  • SquircleBasedShape now directly extends CornerBasedShape. This change might require updates in your existing usage of the class, particularly if you were relying on custom implementations.

2. Removal of Overloaded Methods

  • Overloaded versions of methods such as createOutline() and copy() have been replaced with streamlined usage of the cornerSmoothing field in the base class.

🚀 How to Upgrade

  • Update your dependency version to 3.0.0.
  • Review the breaking changes section and update your code accordingly.
  • Leverage the new SquircleBasedShape integration with MaterialTheme for enhanced customization.

I'm grateful for your continued support and feedback. This release is a big step forward in making squircle shapes more accessible and customizable. Feel free to report issues, share suggestions, or contribute to future improvements.

🎉 Happy Coding! 🎉

Release v2.1.0

24 Nov 01:35
c0dd97f
Compare
Choose a tag to compare

Support for iOS targets is finally here! 🎉

  • Bumped Kotlin version to 2.0.21.
  • Bumped Compose version to 1.7.1.
  • Bumped other dependency versions.
  • Bumped library version to v2.1.0.
  • Other fixes & improvements.

Release v2.0.10

16 Oct 17:26
b15cd79
Compare
Choose a tag to compare

Added WasmJS support, updated Compose Multiplatform version to 1.7.0 and library version to 2.0.10.

  • Bumped Kotlin version to v2.0.20.
  • Bumped Compose Multiplatform version to v1.7.0.
  • Bumped other dependencies version.
  • Bumped library version to v2.0.10.
  • Added support for WasmJS targets.

Release v2.0.0

13 Jul 14:05
541f7cb
Compare
Choose a tag to compare

Added support for Compose Multiplatform.

  • Bumped Kotlin version to 2.0.0
  • Bumped Compose version to 1.6.11
  • Bumped other dependencies version
  • Bumped library version to v2.0.0

Release v1.0.8

26 Apr 21:26
Compare
Choose a tag to compare
  • Bumped Kotlin version to 1.9.23
  • Bumped Compose version to 1.6.6
  • Bumped Compose Compiler version to 1.5.12
  • Bumped other dependencies version
  • Bumped library version to v1.0.8

Release v1.0.7

16 Feb 12:14
afe28e5
Compare
Choose a tag to compare
  • Bumped Kotlin version to 1.9.22
  • Bumped Compose version to 1.6.1
  • Bumped Compose Compiler version to 1.5.9
  • Bumped other dependencies version
  • Bumped library version to v1.0.7

Release v1.0.6

19 Nov 10:57
5474c64
Compare
Choose a tag to compare
  • Bumped Kotlin version to 1.9.20
  • Bumped Compose version to 1.5.4
  • Bumped Compose Compiler version to 1.5.4
  • Bumped other dependencies version
  • Bumped library version to 1.0.6

Release v1.0.5

15 Sep 23:50
5930fc1
Compare
Choose a tag to compare
  • Bumped Kotlin version to 1.9.10
  • Bumped Compose version to 1.5.1
  • Bumped Compose Compiler version to 1.5.3
  • Bumped other dependencies version
  • Bumped library version to 1.0.5
  • Updated README.md

Release v1.0.4

11 Aug 18:07
Compare
Choose a tag to compare
  • Bumped library version to 1.0.4.
  • Bumped Kotlin version to 1.9.0.
  • Bumped Jetpack Compose version to 1.5.0.
  • Bumped Jetpack Compose compiler version to 1.5.1.
  • Bumped compileSdk to 34.
  • Bumped sourceCompatibility & targetCompatibility Java version to 17.
  • Replaced kotlinOptions.jvmTarget = "1.8" with kotlin { jvmToolchain(17) }.