Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Latest commit

 

History

History
240 lines (141 loc) · 13.4 KB

CHANGELOG.md

File metadata and controls

240 lines (141 loc) · 13.4 KB

SVGAPlayer-Android CHANGELOG (2021-03-02)

[2.6.1] (2021-08-30)

Bug Fixes

  • fix(SVGAImageView): SVGAImageView sets autoPlay to false, the sound will still be played automatically.
  • fix(SVGAParser): When the type of SVGACache is set to Type.FILE, the zip compressed svga cannot be displayed.
  • fix(SVGACanvasDrawer): When svga is drawn, the repeated setting of alpha and color causes the screen to display abnormally.

2.6.0 (2021-08-18)

Features

  • feat(SVGASoundManager): Added SVGASoundManager to control SVGA audio, you need to manually call the init method to initialize, otherwise follow the default audio loading logic.(f29563e)
  • feat(SVGASoundManager): SVGA volume control. (010b19c)
  • feat(SVGAParser): SVGAParser#decodeFromAssets and SVGAParser#decodeFromURL add a parameter, which can be null. It is used to send the audio file back to the developer. The developer can control the audio playback by himself. If this parameter is set, the audio part will not be processed internally.(8437fd7)
  • feat(SVGAParser): Add aliases to the log section to facilitate developers to troubleshoot problems(977059e)
  • feat(SVGACache): Open cache cleaning method: SVGACache#clearCache().(a8d926e)

Bug Fixes

  • refactor(ILogger): Remove redundant api.(3f4ef1a)
  • fix(SVGAParser): Zip Path Traversal Vulnerability.(000aa61)
  • fix(SVGAParser): link reuse problem.(b01174e)

2.5.15 (2021-03-02)

Features

  • feat: Add clearAfterDetched to the custom xml attribute.(a8ff86f2)

Bug Fixes

  • fix: When stopAnimation is called to stop playback, the audio does not stop.(9d51bb9e)
  • fix: Some properties of external custom TextAlign will be modified internally.(a0fd7f8f)
  • fix: Click event delivery.(461b63c6)
  • fix: After clearing the cache, it will cause java.lang.Error: java.io.IOException.(f37d604c)

2.5.14 (2020-11-29)

Bug Fixes

  • fix: Avoid repeated creation of SVGADrawerSprite causing memory thrash. (7877a37)
  • fix: Solve targetSdkVersion=29 animation cannot be played. (dd525cf)
  • fix: Creating a cache file may cause a crash. (e0dd50b)

2.5.13 (2020-10-08)

Bug Fixes

  • fix: Matter area calculation error. (e9b81b4)

2.5.12 (2020-09-23)

Bug Fixes

  • fix: AnimationWithDynamicImageActivity launch failed. (2ad4490)
  • fix: Unable to parse svga of assets directory. (4446d4a)
  • fix: rgba calculation error. (4e3cc8e)

2.5.10 (2020-09-01)

Features

  • feat: Create SVGACache to manage local cache files. (84fcf55)(b843ee3)

2.5.9 (2020-08-21)

Bug Fixes

  • fix: context.mainLooper is easy to throw null pointer exception. (8c6ee7f)

2.5.8 (2020-08-04)

Features

2.5.7 (2020-07-21)

Bug Fixes

  • Fix the high failure rate of concurrent parsing of svga files. (94a8616)
  • Correct the use of the default kotlin_module will easily cause some compilation conflicts. (c786376)
  • Correct zipper down path crossing problem. (4a44db6)

2.5.6 (2020-07-17)

Bug Fixes

  • Correct app crashes on API level below 21 caused by constructor. (06d8ad4)

2.5.5 (2020-07-13)

Bug Fixes

  • Fix the problem that the audio file name is too short and the svga file analysis fails. (71d2b87)
  • Fix the memory leak problem of SVGAImageView and SVGAParser. (7378862)
  • Correct the memory release problem. (dfc0edb)

2.5.3 (2020-01-13)

Bug Fixes

  • Correct touch event. (0133a0b)
  • Correct play audio. (0133a0b)
  • Issue #185 drawTextOnBitmap 部分特殊文字会出现IndexOutOfBoundsException【必现】 (1534cd2)

Features

  • Add shareParser. (3a4d5b9)
  • Clear audio when remove svga image view. (35ec8ca)
  • Correct touch event when mvideoItem == null; (e50751e)
  • Update threadPoolExecutor. (3bc8915)

2.5.2-beta (2019-11-26)

Bug Fixes

  • Add canvas save and restore when Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP. (f605c5b)
  • Add isRecycle check to avoid Bitmap recycled outside and draw. (763a510)
  • Add try catch for resetImages to avoid OOM. (ef1f232)
  • correct bitmap size. (3ae8390)
  • Delete useless file. (1a4ff57)
  • Extra code causes antiAlias not effective. (ac91e2a)
  • filter no matte. (1257db4)
  • filter no matte. (ae7e802)
  • Ignore matte layer when Build.VERSION.SDK_INT unsupport. (0db05f2)
  • Remove clipPath support. (f9e3827)
  • reset image when bitmap matte layer. (3f06512)
  • Restore audio prepare block. (193c7d9)
  • return share clear bitmap when matte bitmap is null for avoiding crash. (9e1f0f3)
  • support reuse bitmap paint and canvas. (3df95bb)
  • update filter when matte sprite frame alpha = 0, it is visuable. (b25fafb)
  • Use shared ThreadPoolExecutor avoid p_thread create OOM. (e6d72ef)

Features

  • add 2.x proto support for matte. (741eb01)
  • Add dynamicDrawerSized logic. (f37722f)
  • Add StaticLayout maxLines support. (fd63642)
  • Avoid null sprite. (25eb9ea)
  • Catch Error OOM. (8070ec6)
  • draw matte sprite with PorterDuffXfermode(PorterDuff.Mode.DST_IN). (3a39ff6)
  • draw matte sprite with PorterDuffXfermode(PorterDuff.Mode.DST_IN). (bd55948)
  • Set ParseCompletion Nullable. (41b2c8f)
  • Set parser class variables for demo. (ae36dc3)
  • Update matte draw logic. (07e7d11)

2.5.0(2019-10-16)

Bug Fixes

  • Add try catch for resetImages to avoid OOM. (ef1f232)
  • Correct bitmap size. (3ae8390)
  • Extra code causes antiAlias not effective. (ac91e2a)
  • Filter no matte. (ae7e802)
  • Remove clipPath support. (f9e3827)
  • reset image when bitmap matte layer. (3f06512)
  • Restore audio prepare block. (193c7d9)
  • Return share clear bitmap when matte bitmap is null for avoiding crash. (9e1f0f3)
  • Support reuse bitmap paint and canvas. (3df95bb)
  • Update filter when matte sprite frame alpha = 0, it is visuable. (b25fafb)
  • Use shared ThreadPoolExecutor avoid p_thread create OOM. (e6d72ef)

Features

  • Add 2.x proto support for matte. (741eb01)
  • Add dynamicDrawerSized logic. (f37722f)
  • Catch Error OOM. (8070ec6)
  • Set ParseCompletion Nullable. (41b2c8f)
  • Set parser class variables for demo. (ae36dc3)
  • Update matte draw logic. (07e7d11)

2.4.4 (2019-05-15)

Bug Fixes

* Add finalize method to release some resources. (8506240) * Add protected keyword to finalize. (197f4f9) * Remove recycle operation on finalize method, this line due to crash on some devices. (a0c5a79)

2.4.2 (2019-01-21)

Bug Fixes

https://github.com/yyued/SVGAPlayer-Android/issues/110 ([38fba4f](https://github.com/yyued/SVGAPlayer-Android/commit/38fba4f))

2.4.0 (2019-01-16)

Bug Fixes

* Fix fail to play 1.0 format file. (7fad1cd) * Fix memory issue, due to android.view.ImageView drawable cycle reference, let drawable sets to WeakReference if ImageView detached. (d040e36) * Remove unnecessary code. (cd31b1b) * Fix stroke color did not apply sprite alpha. (2077be9)

2.3.0 

*  Add audio support. 

2.1.10 

* Fix vector stroke width scale for old version.

2.1.9

* Fix alpha not set while drawing shapes.

2.1.8 

  • Handle null return for func readAsBytes