Skip to content

1.4.0

Compare
Choose a tag to compare
@supakeen supakeen released this 27 Nov 11:05
· 168 commits to master since this release

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 maintained tomli.
  • 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 in 1.6, it now runs when the http subcommand is running every 1800 seconds instead. The example files for reap have been removed as well.
  • pinnwand can now be configured through environment variables, these start with PINNWAND_ and are all upper case, then the prefix is removed and the key lowercased. This overwrites any previously set value.
  • isort was added to pre-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 additional pytest-srcpaths plugin.
  • Configuration examples have moved to the etc/ subdirectory.