Skip to content

Commit f3f926f

Browse files
committed
chore: prepare for version 3.0.0
1 parent 9516952 commit f3f926f

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,38 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## 3.0.0 - 2025-03-08
9+
10+
### Added
11+
12+
- Introduced an `Attributes` class to act as a fully-typed data transfer object of `{% codeblock %}` attributes.
13+
14+
- Introduced a `Highlighter\HighlighterReference` class as a fully-typed data transfer object to specify which highlighter to use when compiling the Twig templates.
15+
16+
### Changed
17+
18+
- PHP 8.2 is the new minimum version required.
19+
20+
- Twig 3.11.2 is the new minimum version required.
21+
22+
- All classes in this package are now `final`.
23+
24+
- Types are now declared everywhere.
25+
26+
- [ramsey/pygments](https://github.com/ramsey/pygments) is no longer a required dependency; it is a suggested dependency.
27+
28+
### Deprecated
29+
30+
- Nothing.
31+
32+
### Removed
33+
34+
- Nothing.
35+
36+
### Fixed
37+
38+
- Nothing.
39+
840
## 2.0.0 - 2017-04-18
941

1042
* Upgrade dependencies to require PHP 5.6 as the minimum PHP version

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
"ramsey/pygments": "^3.0",
3939
"roave/security-advisories": "dev-latest"
4040
},
41+
"suggest": {
42+
"ramsey/pygments": "Required when using PygmentsHighlighter"
43+
},
4144
"minimum-stability": "dev",
4245
"prefer-stable": true,
4346
"autoload": {

0 commit comments

Comments
 (0)