File tree Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Expand file tree Collapse file tree 3 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6
6
7
7
This project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
8
8
9
+ ## Unreleased
10
+
11
+ ### Changed
12
+
13
+ - Update version file regex to allow leading characters, like ` Plugin-Version `
14
+
9
15
## [ 1.1.0] - 2025-02-10
10
16
11
17
### Fixed
12
18
13
- - Added ` import mdformat.renderer ` to fix issue with mdformat v0.7.22
19
+ - Add ` import mdformat.renderer ` to fix issue with mdformat v0.7.22
14
20
15
21
## [ 1.0.3] - 2024-11-01
16
22
Original file line number Diff line number Diff line change 15
15
(?P<prefix> # Open `prefix` capture group
16
16
\s* # Any whitespace
17
17
(?P<vquote>['"]?) # `'`, `"`, or nothing (saved as `vquote` group)
18
+ (?:\w+?-?)? # Optional word characters and optional literal `-`
18
19
(?:__)? # Optional literal `__`
19
20
version # Literal `version`
20
21
(?:__)? # Optional literal `__`
Original file line number Diff line number Diff line change 84
84
"""version 90304""" ,
85
85
"""version 2.3.4""" ,
86
86
),
87
+ (
88
+ # Leading prefix
89
+ """PluginVersion: 0.6.0""" ,
90
+ """PluginVersion: 2.3.4""" ,
91
+ ),
92
+ (
93
+ # Leading prefix and dash
94
+ """Plugin-Version: 0.6.0""" ,
95
+ """Plugin-Version: 2.3.4""" ,
96
+ ),
87
97
]
88
98
89
99
You can’t perform that action at this time.
0 commit comments