Skip to content

Commit a69ed71

Browse files
committed
chore: release 0.1.5 - improved heading normalization, quick fix parity, tests
1 parent 49f4142 commit a69ed71

17 files changed

+2923
-56
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on Keep a Changelog (https://keepachangelog.com/en/1.0.0/) and this project adheres to Semantic Versioning (https://semver.org/spec/v2.0.0.html).
66

7+
## [0.1.5] - 2025-10-05
8+
### Added
9+
- Hash heading normalization tests covering missing-space variants, trailing stray hashes, and deep level headings.
10+
11+
### Changed
12+
- Improved hash heading auto-fix: now converts `#Title`, `##Title`, `# Title ` and `# Title #` forms reliably to proper `==` / `=` style.
13+
- Quick fix for hash headings now mirrors auto-fix logic (uses heading level instead of word-count heuristic; trims stray hashes & extra spaces).
14+
- Malformed equals-style heading normalization made more robust (prevents duplicated or partially malformed replacements).
15+
16+
### Fixed
17+
- Prevented duplication when converting malformed hash or equals headings in combination with completion suggestions.
18+
- Ensured trailing stray `#` characters are removed instead of retained in normalized headings.
19+
20+
### Internal
21+
- Strengthened idempotency of code actions and auto-fix transformations.
22+
- Expanded test suite to 22 passing tests.
23+
724
## [0.1.4] - 2025-10-04
825
### Changed
926
- Extension name: "WordPress Readme Preview" → "WordPress Readme"
@@ -41,5 +58,6 @@ The format is based on Keep a Changelog (https://keepachangelog.com/en/1.0.0/) a
4158
- Custom parser for WordPress readme formatting (FAQ, changelog headers, etc.)
4259

4360
[0.1.4]: https://github.com/soderlind/wordpress-readme-preview/compare/v0.1.3...v0.1.4
61+
[0.1.5]: https://github.com/soderlind/wordpress-readme-preview/compare/v0.1.4...v0.1.5
4462
[0.1.3]: https://github.com/soderlind/wordpress-readme-preview/compare/v0.1.1...v0.1.3
4563
[0.1.1]: https://github.com/soderlind/wordpress-readme-preview/compare/v0.1.0...v0.1.1

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
A Visual Studio Code extension that provides syntax highlighting, IntelliSense, live preview and validation for WordPress plugin `readme.txt` files with pixel-perfect WordPress.org rendering and comprehensive compliance checking.
44

5+
> Update 0.1.5: Improved heading normalization automatically converts hash-style (`#`, `##`, `###`) and malformed equals headings (`== Title =`, `= Title`) into proper WordPress readme format (`== Section ==` / `= Subsection =`) — including edge cases like `##Title`, `# Title `, and `# Title #`. Quick fixes now mirror this logic exactly.
6+
57
## Features
68

79
**Live Preview** - Real-time rendering matching WordPress.org appearance

0 commit comments

Comments
 (0)