Skip to content

Commit

Permalink
first try craft 4
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinSecondred committed Jun 29, 2023
1 parent 74b1f30 commit 1392759
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Craft Seeder Changelog


## 4.0.0-RC1 - 2023-06-29

### changed

- first initial craft 4 draft

## 3.1.0 - Unreleased
### Added
- Added `eachMatrixBlock` option, to seed a matrix with one of each blocktype in a random order ([#13](https://github.com/studioespresso/craft3-seeder/issues/13))
Expand Down
7 changes: 2 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "studioespresso/craft-seeder",
"description": "Easy entries seeder for Craft CMS",
"type": "craft-plugin",
"version": "3.0.3",
"keywords": [
"craft",
"cms",
Expand All @@ -22,8 +21,8 @@
}
],
"require": {
"craftcms/cms": "^3.1.0",
"fzaninotto/faker": "^1.7.0"
"craftcms/cms": "^4.0.0",
"fakerphp/faker": "^1.23.0"
},
"require-dev": {
"codeception/codeception": "2.4.2"
Expand All @@ -36,8 +35,6 @@
"extra": {
"name": "Seeder",
"handle": "seeder",
"hasCpSettings": false,
"hasCpSection": true,
"changelogUrl": "https://raw.githubusercontent.com/studioespresso/craft3-seeder/master/CHANGELOG.md",
"class": "studioespresso\\seeder\\Seeder"
}
Expand Down
6 changes: 5 additions & 1 deletion src/Seeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,11 @@ class Seeder extends Plugin
*
* @var string
*/
public $schemaVersion = '1.0.0';
public string $schemaVersion = '1.0.0';

public bool $hasCpSettings = false;

public bool $hasCpSection = true;

// Public Methods
// =========================================================================
Expand Down

0 comments on commit 1392759

Please sign in to comment.