Skip to content

Commit 4520ee2

Browse files
hawkkillerclaude
andcommitted
Bump version to 0.0.2
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 78b29d0 commit 4520ee2

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

packages/fast_image/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,17 @@
22

33
- **Breaking:** `invert()` now returns a new `FastImage` instead of mutating in-place.
44
- **Breaking:** Removed deprecated `resizeToFit()` method (use `resize()` instead).
5+
- **Breaking:** Renamed FFI functions to align with Rust image crate conventions:
6+
- `encode` -> `write_to`
7+
- `crop` -> `crop_imm`
8+
- `rotate_90/180/270` -> `rotate90/180/270`
9+
- `flip_horizontal/vertical` -> `fliph/flipv`
10+
- `brightness` -> `brighten`
11+
- `contrast` -> `adjust_contrast`
512
- Added metadata caching to avoid redundant FFI calls for `width`, `height`, `colorType`.
613
- Added bounds validation for `crop()` - now throws `InvalidDimensionsException` if crop rectangle exceeds image bounds.
14+
- Added hash verification for native assets.
15+
- Added `generate_bindings.sh` script to automate cbindgen + ffigen workflow.
716
- Improved error handling in load functions - now throws specific exceptions (`IoException`, `DecodingException`, `UnsupportedFormatException`) instead of generic `LoadException`.
817
- Improved documentation for `blur()` method.
918

packages/fast_image/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: fast_image
22
description: A fast image processing package.
3-
version: 0.0.1
3+
version: 0.0.2
44
resolution: workspace
55

66
environment:

0 commit comments

Comments
 (0)