Version 0.6.2
~~~~~~~~~~~~~
Released: 2023-05-28

Features:
 * Support Python 3.11

Bugfixes:
 * Allow APT more choices when installing build-deps from partial suites
 * Set BaseSuite for image recreation if image has a custom name
 * Make APT consider all suites equally for dependency resolution

Version 0.6.1
~~~~~~~~~~~~~
Released: 2023-01-02

Features:
 * Make container APT configuration more sbuild-like

Bugfixes:
 * docs: Update positional argument info in manual pages
 * Use useradd instead of adduser
 * Don't force a suite when packages are injected

Version 0.6.0
~~~~~~~~~~~~~
Released: 2022-10-02

Features:
 * Allow containers that run a custom command to be booted as well
 * Add configuration option to disable package caching
 * Add configuration option to set a different bootstrap tool
 * Make artifact storage in interactive mode an explicit action

Bugfixes:
 * Fix pyproject.toml license/author fields
 * Don't use deprecated Lintian argument
 * Use tomlkit instead of deprecated toml

Version 0.5.2
~~~~~~~~~~~~~
Released: 2022-02-22

Features:
 * Format source code with Black
 * Allow to boot a container for interactive logins

Bugfixes:
 * Set suite explicitly when resolving build-deps
 * Do not include APT package caches in tarballs

Version 0.5.1
~~~~~~~~~~~~~
Released: 2021-11-08

Notes:
 * This release changes the default bootstrap variant to `buildd`, which may result
   in users needing to pass `--variant=none` to build with existing images, or change
   the default via Debspawn's global settings.
 * The image name and suite name have been decoupled, so users can now give images
   arbitrary names and create multiple ones for different purposes.

Features:
 * Allow custom container image names, decoupling them from being suite-based
 * Propagate proxy settings through to APT, debootstrap and nspawn
 * Default to the 'buildd' bootstrap variant
 * Make update-all command work with custom image names
 * Add global config option for default bootstrap variant

Bugfixes:
 * Give access to /boot as well if read-kmods is passed
 * run: Copy build directory by default, instead of bindmounting it
 * run: Retrieve artifacts the same way as regular build artifacts
 * Unmount any bindmounds when cleaning up temporary directories
 * man: Document the SyscallFilter config option
 * man: Clarify new image name / suite relations in ds-create manual page

Version 0.5.0
~~~~~~~~~~~~~
Released: 2021-06-04

Features:
 * First release also available on PyPI!
 * maintain: Add new flag to print status information
 * maintain: status: Include debootstrap version in reports
 * docs: Document the `maintain` subcommand
 * Install systemd timer to clear all caches monthly
 * Unconditionally save buildlog

Bugfixes:
 * Rework how external system files are installed
 * Include extra data in manifest as well
 * Fix image creation if resolv.conf is a symlink

Version 0.4.2
~~~~~~~~~~~~~
Released: 2021-05-24

Features:
 * Add "maintain" subcommand to migrate or reset settings & state
 * Configure APT to not install recommends by default (deb: #987312)
 * Retry apt updates a few times to protect against bad mirrors
 * Add tmpfiles.d snippet to manage debspawn's temporary directory
 * Allow defining custom environment variables for package builds (deb: #986967)
 * Add maintenance action to update all images

Bugfixes:
 * Interpret EOF as "No" in interactive override question
 * Implement privileged device access properly
 * Move images to the right default location
 * Don't try to bindmound KVM if it doesn't exist
 * Use dpkg --print-architecture to determine arch (deb: #987547)
 * run: Mount builddir in initialization step
 * Don't register any of our nspawn containers by default
 * Check system encoding properly (deb: #982793)
 * Atomically and safely copy files into unsafe environments
 * Run builds as user with a random free UID (deb: #989049)

Contributors:
  Helmut Grohne, Matthias Klumpp

Version 0.4.1
~~~~~~~~~~~~~
Released: 2020-12-22

Features:
 * README, debspawn.1: document config file (Gordon Ball)
 * Install lintian after build (Harlan Lieberman-Berg)
 * Allow custom scripts to cache their prepared images for faster builds (Matthias Klumpp)
 * Allow running fully privileged containers (Matthias Klumpp)
 * Make global config file use TOML, update documentation (Matthias Klumpp)

Bugfixes:
 * Pass --console nspawn flag only if our systemd version is high enough (Matthias Klumpp)
 * Enforce the suite name of the env we built in for changes files (Matthias Klumpp)
 * Add extra suites to sources even if base suite is equal to image suite (Matthias Klumpp)
 * Have nspawn recreate container machine-id each time (Matthias Klumpp)
 * cli: Safeguard against cases where we have flags but no subcommands (Matthias Klumpp)
 * Disable syscall filter for some groups by default (Matthias Klumpp)

Version 0.4.0
~~~~~~~~~~~~~
Released: 2020-01-20

Features:
 * Implement an interactive build mode
 * Store a copy of the build log by default
 * Allow copying back changes in interactive mode
 * Use a bit of color in errors and warnings, if possible
 * Update manual pages
 * Permit recreation of images, instead of just updating them

Bugfixes:
 * Move dsrun helper into the package itself
 * Drop some unwanted files from /dev before creating OS tarballs
 * Remove d/files file if it's created by Debspawn pre-build
 * Interactive mode and build logs are mutually exclusive for now
 * Add MANIFEST file

Version 0.3.0
~~~~~~~~~~~~~
Released: 2020-01-06

Features:
 * Allow to override temporary directory path explicitly in config
 * Allow full sources.list customization at image creation time
 * Add initial test infrastructure
 * Allow 'b' shorthand for the 'build' subparser (Mo Zhou)
 * Allow turning on d/rules clean on the host, disable it by default
 * Allow selected environment variables to survive auto-sudo
 * Implement way to run Lintian as part of the build
 * Print pretty error message if configuration JSON is broken
 * Prefer hardlinks over copies when creating the APT package cache
 * Implement support for injecting packages
 * docs: Add a note about how to inject packages
 * Only install minimal Python in containers
 * Harmonize project name (= Debspawn spelling everywhere)
 * Add command to list installed container image details
 * Update sbuild replacement note

Bugfixes:
 * Ensure we have absolute paths for debspawn run
 * Don't fail running command without build/artifacts directory
 * Build packages with epochs correctly when building from source-dir
 * Sign packages with an epoch correctly
 * Change HOME when dropping privileges
 * Don't install arch-indep build-deps on arch-only builds
 * Shorten nspawn machine name when hostname is exceptionally long
 * tests: Test container updates
 * Ensure all data lands in its intended directories when installing

Version 0.2.1
~~~~~~~~~~~~~
Released: 2019-01-10

Features:
 * Allow giving the container extra capabilities easily for custom commands
 * Allow giving the container permission to access the host's /dev
 * Allow creating an image with a suite and base-suite

Version 0.2.0
~~~~~~~~~~~~~
Released: 2018-08-28

Features:
 * Allow specifying enabled archive components at image creation time
 * Support printing the program version to stdout
 * Allow diverting the maintainer address
 * Prepare container for arbitrary run action similarly to package build
 * Support more build-only choices
 * Print some basic system info to the log
 * Log some basic disk space stats before/after build

Bugfixes:
 * random.choices is only available since Python 3.6, replace it
 * Enforce dsrun to be installed in a location were we can find it
 * Ensure we don't try to link journals
 * Force new configuration by default, not old one
 * Set environment shell

Version 0.1.0
~~~~~~~~~~~~~
Released: 2018-08-20

Notes:
  * Initial release
