Changelog
All notable changes to the fnmatch-regex project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
0.2.1 - 2024-10-12
MSRV declaration
- Declare MSRV 1.58 and use inline format string arguments.
Fixes
- Allow literal matching of characters that do not have any
special meaning in the glob context, but may have special
meaning as regular expression metacharacters, such as
(
or)
. Thanks, Christoph Heer! - Convert an unreachable panic message to an internal error; now the code should really never panic.
- Add a docstring to the unit tests top-level module.
Additions
- Add the
InternalError
value to theError
enum. - Start some
MkDocs
documentation.
Other changes
- Move the Clippy configuration to a
run-clippy.sh
tool. - Keep the
Cargo.lock
file under version control. - Switch from
quickerror
tothiserror
for theError
enum. - Use
itertools
0.13 andrstest
0.23 with no changes. - Insist that all public and private items be documented.
- Specify minimum versions for the dependencies as found in the Debian stable distribution.
- Mark the
Itertools
trait as unused by name. - Drop
mkdocstrings
andmkdocstrings-python
from the documentationpip
requirements file, we do not use them.
0.2.0 - 2022-06-11
INCOMPATIBLE CHANGES
- The
fnmatch_regex::error::Error
class is now an enum that uses the quick-error library, not our own hand-rolled struct any more. - The
glob_to_regex()
function returns a plain error object now, not a boxed one.
Fixes
- Refactor the code to follow Rust best practices and some Clippy suggestions; among other things, the code will no longer panic.
Additions
- Add an EditorConfig definitions file.
- Add the
categories
andkeywords
Cargo package attributes.
Other changes
- Switch to Rust 2021 edition.
- Refactor the code to avoid pushing to strings and vectors, using some internal iterator/adapter structs instead. Thanks to Kevin Reid for a couple of iterator-related suggestions!
- Use the rstest library for data-driven testing instead of doing it by ourselves.
- Use the itertools library to simplify some operations a whole lot. Thanks again to Kevin Reid for pointing it out to me!
0.1.0 - 2021-06-22
Started
- First public release.