pdf_manipulator 4.1.0-dev.0
Pre-release
Pre-release
·
0 commits
to 9627e9d9e55d7c0423cc0711ed03e9c72b043211
since this release
- Added
scan-dirs: extra directories forkeep: autoto scan, on top of your app'slib/andbin/. Code living somewhere else — atools/folder, a sibling package in a monorepo — was invisible to the scan, so a capability you really call could be trimmed away. Now you point at it:scan-dirs: [tools, packages/shared/lib], paths relative to your app. It only applies where there is a scan to widen (keep: auto, and notdetector: record-use), and a directory that isn't there keeps the full binary rather than quietly scanning less than you asked for. - Verify your app after upgrading:
keep: autonow actually trims the native engine, so a build that had been silently shipping every capability gets a smaller one. If anything is missing, state it yourself withkeep: [render, …]. - Fixed
setupignoring your config when run from a subfolder of your project. It read the config and scanned for source relative to wherever you were standing, so from anywhere but the app root it found no pubspec, silently read that as "nothing configured", and shipped the full web engine. Both lanes now locate your app the same way — from a path inside its own.dart_tool/, which neither the working directory nor where you invoke the command can move. - Fixed
keep: autokeeping every capability on native no matter what your app used. The build hook read its own working directory as your app's source, but hooks are started inside the package they belong to — so the scan matched pdf_manipulator's own implementations and concluded you used all of them, every time, while reporting success. It now derives your app from the hook's output path. Web was never affected: you runsetupfrom your own project, so its scan was always looking in the right place. - Fixed the native keep decision being cached for good. The hook registered none of your source as a build dependency, so once it had decided it never looked again — add a
sign()call to an app that had already been built and the engine kept compiling without signature support. The source the scan reads is now a hook dependency, so the decision re-evaluates when your app changes.
Commits since v4.0.0-dev.0 (4)
Install (git tag)
dependencies:
pdf_manipulator:
git:
url: https://github.com/whuppi/pdf_manipulator.git
ref: v4.1.0-dev.0Install (pub.dev)
dependencies:
pdf_manipulator: ^4.1.0-dev.0