v1.6.0 (2021-08-09)
-
Fixed an oversight where the default version tag pattern would only find tags with exactly three parts in the base (e.g.,
v1.0.0
andv1.2.3
). This is now relaxed so thatv1
,v1.2.3.4
, and so on are also recognized.If you prefer the old default, you can pass a custom
--pattern
on the command line or a custompattern
to theVersion.from_*
methods. Specifically, the previous default used^v(?P<base>\d+\.\d+\.\d+)
instead of the new^v(?P<base>\d+(\.\d+)*)
, but the rest of the pattern is the same in both defaults. -
Added support for execution via
python -m dunamai
. (Contributed by jstriebel)