Skip to content

Commit

Permalink
update for craft 5
Browse files Browse the repository at this point in the history
  • Loading branch information
marionnewlevant committed Apr 29, 2024
1 parent 66e9dcf commit 52c5818
Show file tree
Hide file tree
Showing 5 changed files with 6,923 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/vendor
31 changes: 30 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,80 @@
# Twig Perversion Changelog

## 5.0.0 - 2024.04.29

### Changed

- Updated to craftcms/cms `^5.0`

## 2.2.0 - 2020.12.07

### Added

- Added `is array` test

## 2.1.0 - 2019.06.09

### Added

- Added `{% while %}` loop.
- Added `is string` test

### Removed

- Removed `json_decode` filter entirely

### Changed

- Updated to require craftcms/cms `3.1.29` (Where `loop.parent.loop` started to work)

## 2.0.7 - 2019.02.02

### Removed

- Removed json_decode filter for craft version later than 3.1.6

## 2.0.6 - 2018.09.14

### Added

- Added `<=>` operator. ([spaceship operator](http://php.net/manual/en/migration70.new-features.php#migration70.new-features.spaceship-op))

## 2.0.5 - 2018.08.24

### Added

- Added `===`, and `!==` operators.

## 2.0.4 - 2018.07.16

### Added

- Added `string`, `float`, `int`, and `bool` typecast filters.

## 2.0.3 - 2018.02.02

### Removed

- Pull support for `get_class` quick before anyone uses it (use Craft's native `className` instead)

## 2.0.2 - 2018.01.31

### Added

- Added `get_class` filter

## 2.0.1 - 2017.12.13

### Added

- Added `array_splice` filter

### Changed

- Updated to require craftcms/cms `3.0.0-RC1`

## 2.0.0 - 2017.02.02

### Added
- Ported to Craft 3

- Ported to Craft 3
29 changes: 21 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "marionnewlevant/twig-perversion",
"description": "Making twig do things it really shouldn't",
"version": "3.0.0",
"version": "5.0.0",
"type": "craft-plugin",
"keywords": [
"craft",
Expand All @@ -16,8 +16,14 @@
"homepage": "http://marion.newlevant.com"
}
],
"support": {
"issues": "https://github.com/marionnewlevant/craft-twig_perversion/issues?state=open",
"source": "https://github.com/marionnewlevant/craft-twig_perversion",
"docs": "https://github.com/marionnewlevant/craft-twig_perversion/blob/v5/README.md"
},
"require": {
"craftcms/cms": "^4.0"
"php": ">=8.2",
"craftcms/cms": "^5.0"
},
"autoload": {
"psr-4": {
Expand All @@ -26,11 +32,18 @@
},
"extra": {
"handle": "twig-perversion",
"name": "Twig Perversion",
"schemaVersion": "1.0.0",
"hasSettings": false,
"hasCpSection": false,
"documentationUrl": "https://github.com/marionnewlevant/craft-twig_perversion/blob/v2/README.md",
"changelogUrl": "https://raw.githubusercontent.com/marionnewlevant/craft-twig_perversion/v2/CHANGELOG.md"
"name": "Twig Perversion"
},
"config": {
"platform": {
"php": "8.2"
},
"allow-plugins": {
"yiisoft/yii2-composer": true,
"craftcms/plugin-installer": true
}
},
"require-dev": {
"craftcms/phpstan": "dev-main"
}
}
Loading

0 comments on commit 52c5818

Please sign in to comment.