Skip to content

Commit 7f6a991

Browse files
Copilotmikebarkmin
andcommitted
Add changeset and update changelog for v0.2.2
Co-authored-by: mikebarkmin <2592379+mikebarkmin@users.noreply.github.com>
1 parent 509b8e9 commit 7f6a991

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
"@learningmap/learningmap": patch
3+
"@learningmap/web-component": patch
4+
---
5+
6+
Add browser-based image compression and 413 error handling
7+
8+
- Compress uploaded images automatically using Canvas API (resize to max 1920x1920px, convert to JPEG at 0.85 quality)
9+
- Add support for JPG, PNG, WebP, and SVG file formats
10+
- Detect HTTP 413 (Payload Too Large) responses and show user-friendly error message
11+
- Add translations for file size error in English and German
12+
- Typical file size reduction: 70-90% for raster images

docs/book/changelog.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,28 @@ If you need a new feature, open an [issue](https://github.com/openpatch/learning
3939
::::
4040
-->
4141

42+
## v0.2.2
43+
44+
::::tabs
45+
46+
:::tab{title="New :rocket:" id="new"}
47+
48+
- Add browser-based image compression for uploaded images to reduce file size by 70-90%
49+
- Add support for WebP image format (JPG, PNG, WebP, and SVG now supported)
50+
51+
:::
52+
53+
:::tab{title="Improved :+1:" id="improved"}
54+
55+
- Automatically resize images to max 1920x1920px while maintaining aspect ratio
56+
- Convert raster images to JPEG format for optimal compression
57+
- Detect HTTP 413 (Payload Too Large) errors and show user-friendly message
58+
- Add translations for file size error in English and German
59+
60+
:::
61+
62+
::::
63+
4264
## v0.2.1
4365

4466
::::tabs

0 commit comments

Comments
 (0)