pdfcpu v0.3.6 Release Notes

Release Date: 2020-09-29 // over 3 years ago
  • Hello!

    The focus of this release is the pdfcpu config dir.
    ๐Ÿ”ง This dir contains config.yml which represents the current default configuration.
    config.yml will be loaded on restarting pdfcpu either via the API or the CLI.

    You can find out about the location of the config dir via pdfcpu version -v

    ๐Ÿ‘€ Since there seem to be usecases where it makes sense to bypass the config dir
    you can pass the new flag -config disable into any call executed on the cmd line
    and in your Go backend you may call api.DisableConfigDir() to achieve the same.
    Just a friendly reminder that in such a scenario user fonts (possibly for stamping) are not available.

    You can also pass a custom path to an existing directory like in config /User/pdf
    and pdfcpu will create a pdfcpu config dir within. Like this you can manage multiple config dirs.
    Just make sure you pass the corresponding config dir you'd like to use before your pdfcpu operation.

    .
    โ”œโ”€โ”€ config.yml
    โ””โ”€โ”€ fonts
        โ”œโ”€โ”€ Geneva.gob
        โ”œโ”€โ”€ OldTypewriter.gob
        โ””โ”€โ”€ Roboto-Regular.gob
    

    The config dir also contains a dir called fonts which is the home for user fonts installed via eg. pdfcpu fonts install abc.ttf
    ๐Ÿš€ More about this in the next release which will be all about fonts.

    Thank you all for reporting bugs and filing issues.
    ๐Ÿฑ Stay tuned and happy coding ๐Ÿ’š

    ๐Ÿ”„ Changelog

    โœ… 67f0c34 Add low level test for collect
    โœ… e77e4e4 Add low level test for split
    4f10ad0 Fix #218
    9328d3b Fix #220
    7a20978 Fix #221
    f5a85ae Fix #222
    113adaf Fix #223
    4c18535 Fix #224
    6b2e3b4 Fix #231, #232, bump version
    d8572c7 Fix attachment literal creations
    218a002 Handle config dir & introduce config.yml