// SPDX-FileCopyrightText: 2022 Shun Sakai
//
// SPDX-License-Identifier: Apache-2.0 OR MIT

= Changelog
:toc: preamble
:project-url: https://github.com/sorairolake/qrtool
:compare-url: {project-url}/compare
:issue-url: {project-url}/issues
:pull-request-url: {project-url}/pull

All notable changes to this project will be documented in this file.

The format is based on https://keepachangelog.com/[Keep a Changelog], and this
project adheres to https://semver.org/[Semantic Versioning].

== {compare-url}/v0.10.13\...v0.11.0[0.11.0] - 2024-07-03

=== Changed

* Change `--zopfli` to allow it to take a value. If the value is not specified,
  it is assumed that 15 is specified. This is the same as before the change
  ({pull-request-url}/534[#534])

== {compare-url}/v0.10.12\...v0.10.13[0.10.13] - 2024-06-29

=== Fixed

* Wrap long lines

== {compare-url}/v0.10.11\...v0.10.12[0.10.12] - 2024-06-29 [YANKED]

=== Added

* Add options to optimize output PNG image ({pull-request-url}/531[#531])

=== Changed

* Change the `encode` command to return an error if `--type` is `terminal` and
  the `--foreground` and/or `--background` options specify values ​​other than
  the default ({pull-request-url}/531[#531])

== {compare-url}/v0.10.10\...v0.10.11[0.10.11] - 2024-06-17

=== Added

* Add Arch Linux instructions ({pull-request-url}/509[#509])

== {compare-url}/v0.10.9\...v0.10.10[0.10.10] - 2024-04-25

=== Changed

* Allow input image formats other than PNG to be disabled
  ({pull-request-url}/457[#457])

== {compare-url}/v0.10.8\...v0.10.9[0.10.9] - 2024-04-18

=== Changed

* Change to remove unnecessary files from the book
  ({pull-request-url}/451[#451])

== {compare-url}/v0.10.7\...v0.10.8[0.10.8] - 2024-04-16

=== Changed

* Update examples in man pages

== {compare-url}/v0.10.6\...v0.10.7[0.10.7] - 2024-04-08

=== Changed

* Update copyright notice ({pull-request-url}/425[#425])

== {compare-url}/v0.10.5\...v0.10.6[0.10.6] - 2024-03-17

=== Changed

* Bump `image` to 0.25.0 ({pull-request-url}/408[#408])

== {compare-url}/v0.10.4\...v0.10.5[0.10.5] - 2024-02-18

=== Changed

* Bump MSRV to 1.74.0 ({pull-request-url}/383[#383])

== {compare-url}/v0.10.3\...v0.10.4[0.10.4] - 2024-01-21

=== Changed

* Add description about behavior of `-h`, `--help` and `--version` in man pages
  ({pull-request-url}/360[#360])

== {compare-url}/v0.10.2\...v0.10.3[0.10.3] - 2024-01-18

=== Changed

* Remove last blank line of `--version` ({pull-request-url}/354[#354])

== {compare-url}/v0.10.1\...v0.10.2[0.10.2] - 2024-01-07

=== Changed

* Reduce the target architecture and the archive format for pre-built binaries
  ({pull-request-url}/327[#327])

== {compare-url}/v0.10.0\...v0.10.1[0.10.1] - 2023-12-20

=== Changed

* Replace demo video with screenshot ({pull-request-url}/314[#314])

== {compare-url}/v0.9.0\...v0.10.0[0.10.0] - 2023-12-17

=== Changed

* Change `--size` and `--margin` of `encode` command to optional arguments and
  remove the default values ({pull-request-url}/311[#311])

== {compare-url}/v0.8.9\...v0.9.0[0.9.0] - 2023-12-16

=== Added

* Add methods to optimize the output image to the documents
  ({pull-request-url}/301[#301])
* Add `--size` option to set the module size in pixels
  ({pull-request-url}/304[#304])

=== Changed

* Change to use `qrcode` crate ({pull-request-url}/305[#305])

=== Fixed

* Change `--mode` to require `--symbol-version` ({pull-request-url}/306[#306])

== {compare-url}/v0.8.8\...v0.8.9[0.8.9] - 2023-12-07

=== Added

* Add installation instructions via package manager to documentation
  ({pull-request-url}/294[#294])

=== Changed

* Update documentation ({pull-request-url}/295[#295])

== {compare-url}/v0.8.7\...v0.8.8[0.8.8] - 2023-12-05

=== Added

* Add aliases to subcommands ({pull-request-url}/290[#290])

=== Changed

* Change `--help` and `--version` to print additional information
  ({pull-request-url}/289[#289])

=== Fixed

* Fix exit status when input is SVG ({pull-request-url}/291[#291])

== {compare-url}/v0.8.6\...v0.8.7[0.8.7] - 2023-12-03

=== Changed

* Change settings for the release profile ({pull-request-url}/287[#287])

== {compare-url}/v0.8.5\...v0.8.6[0.8.6] - 2023-12-03

=== Fixed

* Fix an issue where the input format is always determined to be SVG, if the
  input file extension represented SVG ({pull-request-url}/285[#285])

== {compare-url}/v0.8.4\...v0.8.5[0.8.5] - 2023-11-29

=== Changed

* Update dependencies

== {compare-url}/v0.8.3\...v0.8.4[0.8.4] - 2023-11-04

=== Added

* Add Code of Conduct ({pull-request-url}/252[#252])

== {compare-url}/v0.8.2\...v0.8.3[0.8.3] - 2023-10-03

=== Removed

* Remove version from the book ({pull-request-url}/240[#240])

== {compare-url}/v0.8.1\...v0.8.2[0.8.2] - 2023-09-30

=== Added

* Add the usage to the book ({pull-request-url}/227[#227])

== {compare-url}/v0.8.0\...v0.8.1[0.8.1] - 2023-09-12

=== Changed

* Rewrite the book with Antora ({pull-request-url}/224[#224])

== {compare-url}/v0.7.5\...v0.8.0[0.8.0] - 2023-09-07

=== Changed

* Change `SPDX-FileCopyrightText` of each file to include only the year of
  initial publication ({pull-request-url}/192[#192])
* Remove unnecessary newline after period ({pull-request-url}/193[#193])
* Bump MSRV to 1.70.0 ({pull-request-url}/213[#213])

== {compare-url}/v0.7.4\...v0.7.5[0.7.5] - 2023-08-09

=== Changed

* Update documentation ({pull-request-url}/179[#179])
* Use LZMA instead of LZMA2 in 7z format for pre-built binary
  ({pull-request-url}/181[#181])

== {compare-url}/v0.7.3\...v0.7.4[0.7.4] - 2023-08-03

=== Changed

* Change the comment header to the format recommended by the REUSE
  Specification ({pull-request-url}/166[#166])
* Make this project REUSE compliant ({pull-request-url}/167[#167])

== {compare-url}/v0.7.2\...v0.7.3[0.7.3] - 2023-07-21

=== Added

* Add `homepage` field to `Cargo.toml`

== {compare-url}/v0.7.1\...v0.7.2[0.7.2] - 2023-07-18

=== Changed

* Change license for `demo.gif`

=== Fixed

* Fix broken include directives ({pull-request-url}/161[#161])

== {compare-url}/v0.7.0\...v0.7.1[0.7.1] - 2023-07-17

=== Added

* Add feature to generate Nushell completions ({pull-request-url}/151[#151])
* Add man page for `help` subcommand

== {compare-url}/v0.6.2\...v0.7.0[0.7.0] - 2023-07-12

=== Added

* Add QOI as an input format

=== Changed

* Change to support more CSS color formats for foreground and background colors
  ({pull-request-url}/137[#137])
* Change license of documents to CC BY 4.0 ({pull-request-url}/148[#148])
* Change to also use the extension to determine the raster image format
  ({pull-request-url}/149[#149])

== {compare-url}/v0.6.1\...v0.6.2[0.6.2] - 2023-06-12

=== Changed

* Update dependencies

== {compare-url}/v0.6.0\...v0.6.1[0.6.1] - 2023-05-16

=== Changed

* Update dependencies

== {compare-url}/v0.5.1\...v0.6.0[0.6.0] - 2023-04-02

=== Added

* Add OpenEXR as an input format

=== Changed

* Change to use `qrencode` crate
* Bump MSRV to 1.65.0

== {compare-url}/v0.5.0\...v0.5.1[0.5.1] - 2023-01-30

=== Fixed

* Fix invalid link in README
* Fix missing the `lang` attribute in the book

== {compare-url}/v0.4.3\...v0.5.0[0.5.0] - 2023-01-28

=== Changed

* Bump sysexits to v0.4
* Bump MSRV to 1.64.0

=== Fixed

* Fix create a package for Windows in CD

== {compare-url}/v0.4.2\...v0.4.3[0.4.3] - 2022-12-10

=== Fixed

* Fix build man pages in CD

== {compare-url}/v0.4.1\...v0.4.2[0.4.2] - 2022-11-24

=== Changed

* Change error messages to start with lowercase

== {compare-url}/v0.4.0\...v0.4.1[0.4.1] - 2022-11-22

=== Changed

* Bump clap to v4.0

== {compare-url}/v0.3.3\...v0.4.0[0.4.0] - 2022-09-18

=== Changed

* Allow non-UTF-8 paths as arguments

== {compare-url}/v0.3.2\...v0.3.3[0.3.3] - 2022-09-06 [YANKED]

=== Added

* Add the default color to `--foreground` and `--background`

=== Changed

* Bump MSRV to 1.62.0

== {compare-url}/v0.3.1\...v0.3.2[0.3.2] - 2022-08-28

=== Changed

* Change to case insensitive when the option's value collating

== {compare-url}/v0.3.0\...v0.3.1[0.3.1] - 2022-08-27

=== Fixed

* Change `qrcode` crate to get from crates.io. This is for publishing on
  crates.io.

== {compare-url}/v0.2.0\...v0.3.0[0.3.0] - 2022-08-26 [YANKED]

=== Added

* Add aliases to `--error-correction-level` and `--symbol-version` of `encode`
  command

=== Changed

* Change to use fork of `qrcode` crate. This is to support `image` crate
  version 0.24. Thanks to https://github.com/qm3ster[@qm3ster].
* Change to output only 32-bit RGBA image when outputting PNG
* Change to be able to input the image from stdin
* Change to read the image from stdin if "-" is specified

=== Removed

* Remove short option from `--mode` of `encode` command

=== Fixed

* Remove unnecessary newline when decoding

== {compare-url}/v0.1.0\...v0.2.0[0.2.0] - 2022-08-22

=== Added

* `--verbose` option and `--metadata` option. These options are for printing
  the metadata.
* `--foreground` option and `--background` option. These options are for
  changing foreground and background colors.

=== Changed

* Add more input image formats supported by the
  https://crates.io/crates/image[`image`] crate to `--type` option of `decode`
  command
* Change to be able to disable decoding from the SVG image
* Rename `unicode` to `terminal` of `--type` option of `encode` command

== {project-url}/releases/tag/v0.1.0[0.1.0] - 2022-08-18

=== Added

* Initial release
