1.4.0
Focus on prettier pages, ease of development, and more defensive posturing. The reap
subcommand is now deprecated and instead ran in-process.
A big change is the fact that you can now configure pinnwand
through environment variables, this makes running in containerized systems a fair bit easier.
For packagers, if you previously shipped timer units for reap
you can remove them from your packages in this new version.
- A
Containerfile
is now provided by default. This allows developers to build a container. - If only a single file is pasted the code area for this single file is now larger.
- Update major versions of some dependencies.
- Replace the
toml
dependency with the maintainedtomli
. - Provide example systemd service and timer file for reaping expired pastes.
- The CSS is now generated from SASS, this means that you need
sassc
installed if you want to change/rebuild assets. - The
reap
subcommand is deprecated and will be removed in1.6
, it now runs when thehttp
subcommand is running every 1800 seconds instead. The example files forreap
have been removed as well. pinnwand
can now be configured through environment variables, these start withPINNWAND_
and are all upper case, then the prefix is removed and the key lowercased. This overwrites any previously set value.isort
was added topre-commit
checks.- The package layout has been changed to a src-layout, if you are running tests with a
pytest < 7
you will need the additionalpytest-srcpaths
plugin. - Configuration examples have moved to the
etc/
subdirectory.