@capgo/capacitor-file-compressor 8.1.19 → 8.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -16,6 +16,18 @@ Compress and resize images on the device before upload, and convert between JPEG
16
16
  <img src="https://raw.githubusercontent.com/Cap-go/capacitor-file-compressor/main/assets/github-social-preview.png" alt="@capgo/capacitor-file-compressor for Capacitor apps" width="300" />
17
17
  </p>
18
18
 
19
+ ## Built and maintained with AI
20
+
21
+ We build, improve and fix our plugins with heavy use of AI, so issues usually get fixed in under a day and pull requests get feedback the same day. A human still reviews and merges 50+ pull requests daily.
22
+
23
+ - Most plugin issues get a fix pull request the same day, often within a couple of hours, and are usually resolved in one to two days.
24
+ - Every pull request goes through our AI review system, usually within minutes.
25
+ - Our AI pre-checks tests, code review, conventions and security, then a human validates and merges.
26
+ - A human, Martin, reviews and merges 50+ pull requests every day.
27
+ - In the last 90 days, 95% of plugin issues were resolved.
28
+
29
+ [Learn more about how we build with AI](https://capgo.app/docs/plugins/ai-engineering/)
30
+
19
31
  ## Key features
20
32
 
21
33
  - **One call**: `compressImage()` resizes and compresses with your width, height and quality.
@@ -20,7 +20,7 @@ import java.util.UUID;
20
20
  @CapacitorPlugin(name = "FileCompressor")
21
21
  public class FileCompressorPlugin extends Plugin {
22
22
 
23
- private final String pluginVersion = "8.1.19";
23
+ private final String pluginVersion = "8.1.20";
24
24
  private static final float MIN_QUALITY = 0.1f;
25
25
  private static final float QUALITY_STEP = 0.05f;
26
26
  private static final List<String> SUPPORTED_OUTPUT_MIME_TYPES = Arrays.asList("image/jpeg", "image/png", "image/webp");
@@ -6,7 +6,7 @@ import UniformTypeIdentifiers
6
6
 
7
7
  @objc(FileCompressorPlugin)
8
8
  public class FileCompressorPlugin: CAPPlugin, CAPBridgedPlugin {
9
- private let pluginVersion: String = "8.1.19"
9
+ private let pluginVersion: String = "8.1.20"
10
10
  private let minimumQuality: CGFloat = 0.1
11
11
  private let qualityStep: CGFloat = 0.05
12
12
  public let identifier = "FileCompressorPlugin"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-file-compressor",
3
- "version": "8.1.19",
3
+ "version": "8.1.20",
4
4
  "description": "Capacitor plugin for efficient image compression supporting PNG, JPEG, and WebP formats across iOS, Android, and Web platforms",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",