Skip to content

Commit f3e2357

Browse files
committed
Merge branch 'release/2.1.1'
2 parents a8ad903 + 19856b4 commit f3e2357

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ 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+
## 2.1.1 - 2024-07-12
8+
### Fixed
9+
- Fixed a bug where the `preparseFieldService` could not be found([#100](https://github.com/jalendport/craft-preparse/issues/100))
10+
711
## 2.1.0 - 2024-07-11
812
### Changed
913
- Migrated to `jalendport/craft-preparse`

composer.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "jalendport/craft-preparse",
33
"description": "A fieldtype that parses Twig when an element is saved and saves the result as plain text.",
44
"type": "craft-plugin",
5-
"version": "2.1.0",
5+
"version": "2.1.1",
66
"keywords": [
77
"craft",
88
"cms",
@@ -40,6 +40,13 @@
4040
"extra": {
4141
"name": "Preparse",
4242
"handle": "preparse-field",
43+
"schemaVersion": "1.1.0",
44+
"hasCpSettings": false,
45+
"hasCpSection": false,
46+
"changelogUrl": "https://github.com/jalendport/craft-preparse/blob/master/CHANGELOG.md",
47+
"components": {
48+
"preparseFieldService": "jalendport\\preparse\\services\\PreparseFieldService"
49+
},
4350
"class": "jalendport\\preparse\\PreparseField"
4451
}
4552
}

src/PreparseField.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
class PreparseField extends Plugin
3232
{
3333

34-
public string $schemaVersion = '1.1.0';
35-
3634
/**
3735
* Static property that is an instance of this plugin class so that it can be accessed via
3836
* PreparseField::$plugin

0 commit comments

Comments
 (0)