Skip to content

Commit

Permalink
Merge branch 'release/1.5.1' into craft3
Browse files Browse the repository at this point in the history
  • Loading branch information
jalendport committed Jul 12, 2024
2 parents bd66bda + 2a088e1 commit 3d478e4
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.

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).

## 1.5.1 - 2024-07-12
### Fixed
- Added namespace aliasing to prevent integrations with other plugins/modules from breaking

## 1.5.0 - 2024-07-11
### Changed
- Migrated to `jalendport/craft-preparse`
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jalendport/craft-preparse",
"description": "A fieldtype that parses Twig when an element is saved and saves the result as plain text.",
"type": "craft-plugin",
"version": "1.5.0",
"version": "1.5.1",
"keywords": [
"craft",
"cms",
Expand Down Expand Up @@ -34,7 +34,8 @@
"autoload": {
"psr-4": {
"jalendport\\preparse\\": "src/",
"aelvan\\preparsefield\\": "src_legacy/"
"aelvan\\preparsefield\\": "src/",
"besteadfast\\preparsefield\\": "src/"
}
},
"extra": {
Expand Down
3 changes: 3 additions & 0 deletions src/PreparseField.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,3 +206,6 @@ private function resetUploads()
UploadedFile::reset();
}
}

class_alias(PreparseField::class, \aelvan\preparsefield\PreparseField::class);
class_alias(PreparseField::class, \besteadfast\preparsefield\PreparseField::class);
1 change: 1 addition & 0 deletions src/fields/PreparseFieldType.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,3 +237,4 @@ public function getContentGqlType()
}

class_alias(PreparseFieldType::class, \aelvan\preparsefield\fields\PreparseFieldType::class);
class_alias(PreparseFieldType::class, \besteadfast\preparsefield\fields\PreparseFieldType::class);
3 changes: 3 additions & 0 deletions src/services/PreparseFieldService.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,6 @@ public function shouldParseElementOnMove(Element $element): bool
return false;
}
}

class_alias(PreparseFieldService::class, \aelvan\preparsefield\services\PreparseFieldService::class);
class_alias(PreparseFieldService::class, \besteadfast\preparsefield\services\PreparseFieldService::class);
3 changes: 0 additions & 3 deletions src_legacy/fields/PreparseFieldType.php

This file was deleted.

0 comments on commit 3d478e4

Please sign in to comment.