Releases: glorylab/wave
Releases · glorylab/wave
Release list
v0.2.5
Summary
- Fixes performance degradation for long-duration, high-amplitude wave configurations reported in #53.
- Reduces per-frame path work by sampling wave curves instead of adding one point per pixel.
- Reuses painter path and gradient shader state, and isolates WaveWidget repaint work.
- Avoids recreating animation controllers when runtime-only paint parameters such as amplitude change.
Benchmark
Issue #53 reproduction config, Flutter 3.7.12 via FVM, 1440x300 WaveWidget, 4 gradient layers, 1800 pumped frames:
| Revision | Average pump time |
|---|---|
| 0.2.4 baseline | 0.258 ms/frame |
| 0.2.5 | 0.128 ms/frame |
About 50% lower frame pump time, roughly 2.0x faster in this benchmark.
v0.2.4
Changes
- Prepare Dart 3 compatibility while keeping Flutter 3.7.12 support.
- Add CI coverage for Flutter 3.7.12 and the latest stable Flutter.
- Add public API dartdoc comments for the main library surface.
- Expand README usage guidance with a minimal example, parameter tables, and common errors.
- Add the Wave Generator screenshot to README.
- Refresh the example app into a responsive generator console with navbar performance metrics and a single Code dialog.
- Update the pub.dev publish workflow to avoid the Node 20 warning.
wave 0.2.3
Changes
- Add runtime validation for custom gradient and layer configuration.
- Add default rendering support for SingleConfig and RandomConfig.
- Improve animation lifecycle handling in WaveWidget.
- Refresh package metadata and demo links for the maintained repository.
- Add CI coverage on Flutter 3.7.12 and publish wave 0.2.3 to pub.dev.
Deployment
- The web demo now deploys through Cloudflare Workers Static Assets.
Validation
- flutter analyze
- flutter test
- flutter pub publish --dry-run
- pub.dev publish workflow completed successfully
Null safety version
0.2.0 Migrate to null safety
Add backgroundImage param
Merge pull request #20 from i-protoss/develop Add backgroundImage param