Skip to content

Releases: DanielMartinus/Konfetti

v2.0.5

28 Nov 08:39
Compare
Choose a tag to compare

Fixes

  • (#333) and issue #306 Replace withFrameMillis with withInfiniteAnimationFrameMillis - fixes instrumentation tests with Konfetti-compose implementation in them (Idling resource timed out: possibly due to compose being busy.)

Thanks to @crowleysimon and @lupuuss for investigating this issue and @matthewbartos for getting it on my radar

v2.0.4

10 Dec 22:08
Compare
Choose a tag to compare

Fixes

  • (#319) Fix rendering by dynamically updating FPS instead of locking it to 60fps. Phones that had a refresh rate of 120hz experienced a rendering speed that was two times faster. The experience should now be consistent across different frame rates.

v2.0.3

14 Jul 21:23
Compare
Choose a tag to compare

Fixes

  • (#309) Introducing applyAlpha to turn off Alpha for DrawableShapes. This fixes an issue for non-tinted (DrawableShape, tint = false) when alpha is applied. by @laurentyhuel.
  • (#301) Fixing an alpha issues for DrawableShapes in the compose SDK causing them to flicker. @dostalleos

Other

v2.0.2

20 Feb 12:12
Compare
Choose a tag to compare

Fixes

  • (#287) Lower minSdk for konfetti-compose to api 21
  • (#288) Fix Out of Memory exception by @PaulKlauser
  • (#295) Improve transitive dependency setup

v2.0.1

02 Jan 09:43
e519dff
Compare
Choose a tag to compare

This is a patch for the 2.0.0 release. Core classes weren't exposed making the library unusable and it includes some other small fixes that shouldn't have end up in a release.

Fixes

  • (#284) Include core classes in konfetti-xml and konfetti-compose. Thanks @GhislainVerrier for reporting the issue
  • (2878993) Remove log from core library
  • (2da7554) Remove unused compose dependencies and replace them with foundation 8822323

v2.0.0

29 Dec 15:11
Compare
Choose a tag to compare

Migrating from 1.x.x to 2.x.x? Read on how to migrate here

Be aware that the path to include Konfetti in Gradle has changed:

// old
implementation 'nl.dionsegijn:konfetti:1.3.2'

// new
implementation 'nl.dionsegijn:konfetti-compose:2.0.0'
implementation 'nl.dionsegijn:konfetti-xml:2.0.0'

What changed?

  • Support for compose
  • New and improved API using Party for configuring Confetti
  • Add more options for customization and randomness
  • Improved animation using damping which is configurable in Party
  • Beisdes using absolute position with Position.Absolute(x,y) there's now also a way to set the relative position with Position.Relative(x, y) and randomize spawn point chaining two positions with between with: Position.Relative(x,y).between(Position.Relative(x,y))
  • Easily configure Party with Presets such as Angle.TOP, Spread.Wide, and Rotation.disabled()
  • Simplified and improved core implementation
  • Decoupled core code to decouple core code from rendering
  • Modularized core - compose - xml
  • Add more sample projects and simplified existing sample projects
  • Updated readme with details on the new API
  • Releasing with blog post as migration guide to v2.0.0 https://dionsegijn.dev/konfetti-migration-guide-v2.0.0

v1.3.2

11 Mar 13:18
Compare
Choose a tag to compare

This release contains an important fix that addresses showing a different velocity across between low density and high density pixel devices. Thanks to the fix of @cmt218 the pixel density is taken into account.

Important when updating

When migrating to this new version the results of your Konfetti might look different. Please check whether it's still the desired outcome. To opt-out for this change you can set setSpeedDensityIndependent to false. However, this is a temporary solution. It's advised to test out your Konfetti implementation to see if it still behaves as expected. More information in this PR:

  • (#249) Fix density independent velocity calculations by @cmt218

This is the same release as v1.3.0 but includes the correct .aar which caused some issues in v1.3.0

v1.3.0

09 Mar 09:18
Compare
Choose a tag to compare

This release contains an important fix that addresses showing a different velocity across between low density and high density pixel devices. Thanks to the fix of @cmt218 the pixel density is taken into account.

Important when updating

When migrating to this new version the results of your Konfetti might look different. Please check whether it's still the desired outcome. To opt-out for this change you can set setSpeedDensityIndependent to false. However, this is a temporary solution. It's advised to test out your Konfetti implementation to see if it still behaves as expected. More information in this PR:

  • (#249) Fix density independent velocity calculations by @cmt218

v1.2.6

27 Sep 09:15
Compare
Choose a tag to compare

Added

Enhancement

A list of pull requests tagged for v1.2.6 can be found here: https://github.com/DanielMartinus/Konfetti/pulls?q=is%3Apr+is%3Aclosed+milestone%3A1.2.6

v1.2.4

10 Sep 19:38
Compare
Choose a tag to compare

This release adds the option to control the rotation speed of the particles

Use setRotationSpeedMultiplier to set a multiplier to control the rotation speed of the Confetti
Use setRotationSpeedVariance to control the randomness of the confetti

Pull request: #189
Issue: #185

Thanks to @carlfindahl for his contribution