Folks!
In order to get rid of the CLI message about validating links please go get the latest commit.
This somehow sneaked into the release and I am not ready to push another one yet.
Thank you!
It also extends the pdfcpu configuration with parameters for controlling outbound HTTP access and introduces the config version.
Moreover we introduce a config command that lets you reset the config.yml to the current major version whenever pdfcpu issues a corresponding warning or you just feel like it for other reasons.
And we have a nice extension for the booklet command and lots of fixes and parser improvements.
The behavior of pdfcpu images extract is the same like pdfcpu extract -mode image.
See more here and don't forget there is always pdfcpu help images.
Reset Configuration and new config command
Sometimes it is necessary to extend the pdfcpu configuration.
In such a case if you upgraded to a new release in the past you had to manually remove your config.yml
and it would get upgraded on the execution of the next command on the CLI.
This is now history.
Starting with this release pdfcpu will issue a warning if your configuration needs to be upgraded:
**************************** WARNING ****************************
* Your configuration is not based on the current major version. *
* Please backup and then reset your configuration: *
* $ pdfcpu config reset *
*****************************************************************
The warning will only appear if the major version of the installed pdfcpu executable
does not match the major version of the new configuration version we are also introducing with this release:
# version (Do not edit!)
version: v0.9.1 dev
If you do not reset your configuration in this situation you are risking nasty side effects and in worst case a hard landing - Ouch.. π
From now on all you have to do is execute the new config reset command:
$ pdfcpu config reset
Did you make a backup of /Users/horstrutter/Library/Application Support/pdfcpu/config.yml ?
(yes/no): yes
Are you ready to reset your config.yml to v0.9.1 dev ?
(yes/no): yes
resetting..
Ready - Don't forget to update config.yml with your modifications.
Using the occasion we extended what you know as pdfcpu config into:
$ pdfcpu help config
usage: pdfcpu config list
pdfcpu config reset
In addition feel free to consult pdfcpu help booklet.
ππ» Thanks ππ»
to all of you for reporting bugs and testing fixes.
Special shoutout also to @carlwilson and everybody else for putting time into submitting a PR.
β¨ All of this ensures pdfcpu gets more robust and better and better by the minute β¨
Changelog
1d4a5a6 Bump version
c703429 Fix config file handling
853c877 Bump version
a7c32de Add warning if config.yml is outdated, add config reset cmd.