# Changelog
## v0.4.2 (2022-11-11)
**BUG FIXES:**
- Fix Tito not finding package sources when building a stable version locally.
## v0.4.1 (2022-11-11)
**FEATURE ENHANCEMENTS:**
- Add per-module load and unload scripts into images.
- Extract common parts of Containerfiles into separates images.
- Setup build environment in `podmod-builder` image.
- Setup runtime environment in `podmod-runtime` image.
- Don't install weak package dependencies to reduce image sizes.
- Split codebase into multiple smaller files.
- Generate shell completion files with `clap_complete` crate.
- Simplify installation instructions on `rpm-ostree` systems.
- Add `run` and `shell` subcommands.
- Specify additional Podman options in configuration file with `container_args`.
**CHANGES:**
- `kernel_args` module configuration option is now optional.
## v0.4.0 (2022-10-28)
This version marks the completion of the rewrite of the frontend script in Rust.
**FEATURE ENHANCEMENTS:**
- Refactored codebase.
**REMOVED FEATURES:**
- Can no longer target a different kernel release.
## v0.3.6 (2022-10-27)
**FEATURE ENHANCEMENTS:**
- Re-add configuration file `podmod.conf`.
- Specify kernel module parameters in configuration file.
- Specify container image build parameters in configuration file.
- Tag images with module version from configuration file.
- Document configuration file in `podmod.conf.5` and `README.md`.
- Add `--no-prune` option to `build`.
- Add `--idempotent` option to `build`, `load`, and `unload`.
- Use in systemd unit.
- Add `#[derive(Debug)]` to all structs in `main.rs`.
- Document systemd unit file in `README.md`.
## v0.3.5 (2022-10-18)
**FEATURE ENHANCEMENTS:**
- Prune old images after building module.
**BUG FIXES:**
- `module_is_supported()` function checking for wrong path.
## v0.3.4 (2022-10-18)
**FEATURE ENHANCEMENTS:**
- Add systemd unit service to load modules on boot.
- Add `CHANGELOG.md` into RPM package.
- Add note on Podman in Podman to installation instructions.
- Add optional `--test` flag in build instructions.
**BUG FIXES:**
- Add missing checks for subcommands.
## v0.3.3 (2022-10-17)
**WORKFLOW CHANGES:**
- Remove Copr integration webhook from GitHub repository.
- Add GitHub Action to publish package to both [crates.io](https://crates.io) and Copr.
**BUG FIXES:**
- Update `README.md` for Rust rewrite (forgotten in last release).