Skip to content

Commit 5218eb1

Browse files
committed
Prep 1.5.4 release
- Add changelog entries for 1.5.1-1.5.4 - Update readme.txt changelog and upgrade notices - Add .ddev to .gitignore
1 parent 11da296 commit 5218eb1

6 files changed

Lines changed: 73 additions & 5 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ composer.lock
2121
/coverage/
2222
/.phpunit.result.cache
2323
/.phpunit.cache/
24+
/.ddev
2425

2526
# Temporary files
2627
*.log

CHANGELOG.md

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.5.4] - 2026-03-05
11+
12+
### Fixed
13+
14+
- Torchlight line highlighting CSS selectors (annotated lines lose `line` class)
15+
16+
### Changed
17+
18+
- Removed opinionated visual styling (blockquotes, links, tables, hr, images, captions, del/ins) - let themes handle it
19+
20+
## [1.5.3] - 2026-03-04
21+
22+
### Fixed
23+
24+
- PHP 8.2 trait constants compatibility (Rector downgrade)
25+
26+
## [1.5.2] - 2026-03-04
27+
28+
### Fixed
29+
30+
- More aggressive PHP 8.0 downgrade for WordPress.org compatibility
31+
32+
## [1.5.1] - 2026-03-04
33+
34+
### Fixed
35+
36+
- Deployment: remove missing dev dependencies from distribution
37+
1038
## [1.5.0] - 2026-03-03
1139

1240
### Added
@@ -222,7 +250,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
222250
- Comments always processed with safe mode
223251
- XSS protection via djot-php safe mode
224252

225-
[Unreleased]: https://github.com/php-collective/wp-djot/compare/1.4.1...HEAD
253+
[Unreleased]: https://github.com/php-collective/wp-djot/compare/1.5.4...HEAD
254+
[1.5.4]: https://github.com/php-collective/wp-djot/compare/1.5.3...1.5.4
255+
[1.5.3]: https://github.com/php-collective/wp-djot/compare/1.5.2...1.5.3
256+
[1.5.2]: https://github.com/php-collective/wp-djot/compare/1.5.1...1.5.2
257+
[1.5.1]: https://github.com/php-collective/wp-djot/compare/1.5.0...1.5.1
258+
[1.5.0]: https://github.com/php-collective/wp-djot/compare/1.4.3...1.5.0
259+
[1.4.3]: https://github.com/php-collective/wp-djot/compare/1.4.2...1.4.3
260+
[1.4.2]: https://github.com/php-collective/wp-djot/compare/1.4.1...1.4.2
226261
[1.4.1]: https://github.com/php-collective/wp-djot/compare/1.4.0...1.4.1
227262
[1.4.0]: https://github.com/php-collective/wp-djot/compare/1.3.1...1.4.0
228263
[1.3.1]: https://github.com/php-collective/wp-djot/compare/1.1.5...1.3.1

assets/blocks/djot/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 3,
44
"name": "wpdjot/djot",
5-
"version": "1.5.3",
5+
"version": "1.5.4",
66
"title": "Djot",
77
"category": "text",
88
"icon": "editor-code",

assets/blocks/djot/index.asset.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
'wp-i18n',
1010
'wp-api-fetch',
1111
],
12-
'version' => '1.5.3',
12+
'version' => '1.5.4',
1313
];

readme.txt

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: djot, markup, markdown, syntax-highlighting, code
44
Requires at least: 6.0
55
Tested up to: 6.9
66
Requires PHP: 8.2
7-
Stable tag: 1.5.3
7+
Stable tag: 1.5.4
88
License: MIT
99
License URI: https://opensource.org/licenses/MIT
1010

@@ -90,6 +90,32 @@ Yes, you can use the shortcode block to add Djot content in the block editor.
9090

9191
== Changelog ==
9292

93+
= 1.5.4 =
94+
* Fixed Torchlight line highlighting CSS selectors for annotated lines
95+
* Removed opinionated visual styling (blockquotes, links, tables, etc.) - let themes handle it
96+
97+
= 1.5.3 =
98+
* Fixed PHP 8.2 trait constants compatibility (Rector downgrade)
99+
100+
= 1.5.2 =
101+
* Fixed PHP 8.0 downgrade for WordPress.org compatibility
102+
103+
= 1.5.1 =
104+
* Fixed deployment: remove missing dev dependencies from distribution
105+
106+
= 1.5.0 =
107+
* Added Torchlight Engine integration for advanced code block features
108+
* Added inline code annotations: highlight, focus, diff (+/-), and ranges
109+
* Added Code Annotations panel in block editor sidebar
110+
* Replaced highlight.js with server-side Torchlight/Phiki
111+
112+
= 1.4.3 =
113+
* Fixed vertical spacing in highlighted code blocks
114+
115+
= 1.4.2 =
116+
* Added code block line numbers and line highlighting syntax
117+
* Fixed legacy wp-djot/djot blocks editability in Gutenberg
118+
93119
= 1.4.1 =
94120
* Fixed Table of Contents and heading permalinks appearing in post excerpts on archive pages
95121

@@ -139,6 +165,12 @@ Yes, you can use the shortcode block to add Djot content in the block editor.
139165

140166
== Upgrade Notice ==
141167

168+
= 1.5.4 =
169+
Fixes Torchlight line highlighting CSS selectors and removes opinionated styling to let themes handle visual presentation.
170+
171+
= 1.5.0 =
172+
Major update: Torchlight Engine replaces highlight.js for code highlighting. New inline code annotations (highlight, focus, diff).
173+
142174
= 1.4.1 =
143175
Fixes TOC and heading permalinks leaking into post excerpts.
144176

wp-djot.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Djot Markup
44
* Plugin URI: https://wordpress.org/plugins/djot-markup/
55
* Description: <a href="https://djot.net/" target="_blank">Djot</a> markup language support for WordPress – a modern, cleaner alternative to Markdown with syntax highlighting. Convert Djot syntax to HTML in posts, pages, and comments.
6-
* Version: 1.5.3
6+
* Version: 1.5.4
77
* Requires at least: 6.0
88
* Requires PHP: 8.2
99
* Author: Mark Scherer

0 commit comments

Comments
 (0)