Skip to content

pdf_manipulator 4.0.0-dev.0

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 25 Jul 00:44
· 0 commits to a4c1e092e8f01f92d5e0ce0daa4cd0538709b473 since this release
  • Breaking: the engine is configured with three flat keys under hooks: user_defines: pdf_manipulator:keep (which capabilities compile: auto to scan your source, [render, …] for an exact set, or omit for everything), detector (how auto detects, only valid with keep: auto), and build (how they compile). Migrating from 3.x: trim: autokeep: auto, trim: {keep: [render, …]}keep: [render, …], trim-detector: Xdetector: X, and the web-only setup --trim flag is gone — put your choice in pubspec and re-run flutter pub run pdf_manipulator:setup (web now reads the same block native does). Invalid configs fail the build loudly, never silently: an unknown key, a bad value, or a detector set without keep: auto all stop with a clear message (PR #185)
  • Added build: in that same block — pick HOW the engine compiles: speed (default, prebuilt), size (smaller binary, opt-level z, a little slower), or debug (keeps symbols so a native engine crash points to a file and line). size and debug compile from source and need Rust; works for web and native (PR #185)
  • Changed the prebuilt-binary download to retry transient failures and resume interrupted transfers over HTTP Range, so a flaky network on a large asset (e.g. the ~180 MB iOS static library) no longer forces a slow from-source compile on a single blip (PR #185)
  • Fixed a cryptic failed to load manifest ... feature edition2024 is required cargo error when the engine compiles from source (iOS device builds, git dependencies, or any download-miss) on an older Rust toolchain — the build now checks the required Rust version first and stops with a clear message naming the exact version and the rustup command to install it (#183 reported by @mrhazelh, PR #185)
Commits since v3.0.0-dev.1 (18)
  • a4c1e09 release: v4.0.0-dev.0
  • 7502a31 feat!: engine config → keep / detector / build; one compile driver; Rust pin+gate (#183); resilient downloads (#185)
  • cca99f0 ci: bump all action refs (workflows + composites) (#207)
  • 5e9c33f chore: refresh lockfiles (#205)
  • 551491b chore: bump Flutter SDK (#204)
  • b983534 ci: one owner for all action refs (whuppi/ci v2.4.0), Dependabot = pub only (#206)
  • 8927f03 ci: revert Renovate — back to dependabot + upgrade-check (#201)
  • c25c058 ci: Renovate — no hourly PR limit for the go-live backlog (#194)
  • e5c7afe ci: Renovate — open bump PRs immediately (drop not-pending) (#191)
  • 37af265 ci: Renovate — disable commit statuses (unblock PR creation) (#189)
  • d52959c ci: go live on Renovate — remove dependabot + upgrade-check shared job (#188)
  • bd510b6 ci: tune Renovate config (pinDigests + schedules) (#187)
  • a474ca5 ci: add self-hosted Renovate (replaces dependabot + sweeps) (#186)
  • da98a3e chore: bump the deps group with 2 updates (#181)
  • ab9217b chore: refresh lockfiles (#184)
  • 2364765 chore: bump Flutter SDK (#182)
  • 9fadb24 Merge branch 'prod' into dev
  • 2002f69 chore: promote dev to prod (2.2.0) (#170)

Install (git tag)

dependencies:
  pdf_manipulator:
    git:
      url: https://github.com/whuppi/pdf_manipulator.git
      ref: v4.0.0-dev.0

Install (pub.dev)

dependencies:
  pdf_manipulator: ^4.0.0-dev.0