Skip to content

Commit

Permalink
Craft 5 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
DowleyDeveloped committed Apr 30, 2024
1 parent a7b6002 commit f156441
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .craftplugin
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"pluginName":"CSV to Table","pluginDescription":"Create a table from a CSV file","pluginVersion":"1.0.0","pluginAuthorName":"Bluegg","pluginVendorName":"Bluegg","pluginAuthorUrl":"https://bluegg.co.uk","pluginAuthorGithub":"csv-to-table","codeComments":"yes","pluginComponents":"","consolecommandName":"","controllerName":"","cpsectionName":"","elementName":"","fieldName":"","modelName":"","purchasableName":"","recordName":"","serviceName":"","taskName":"","utilityName":"","widgetName":"","apiVersion":"api_version_3_0"}
{"pluginName":"CSV to Table","pluginDescription":"Create a table from a CSV file","pluginVersion":"3.0.0","pluginAuthorName":"Toward Studio","pluginVendorName":"Toward Studio","pluginAuthorUrl":"https://toward.studio","pluginAuthorGithub":"csv-to-table","codeComments":"yes","pluginComponents":"","consolecommandName":"","controllerName":"","cpsectionName":"","elementName":"","fieldName":"","modelName":"","purchasableName":"","recordName":"","serviceName":"","taskName":"","utilityName":"","widgetName":"","apiVersion":"api_version_3_0"}
22 changes: 13 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,28 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## 1.0.0 - 2022-03-25
## 3.0.0 - 2024-04-30

### Added
- Craft 5 Update

- Initial release
## 2.1.0 - 2022-03-20

## 2.0.0 - 2022-05-8
- Change Bluegg to Toward

- Update for Craft 4
## 2.0.1 - 2023-02-20

- Add New Icon

## 2.0.1 - 2022-07-07

- Fix for Twig Extension

## 2.0.1 - 2023-02-20
## 2.0.0 - 2022-05-8

- Add New Icon
- Update for Craft 4

## 2.1.0 - 2022-03-20
## 1.0.0 - 2022-03-25

- Change Bluegg to Toward
### Added

- Initial release
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# CSV to Table plugin for Craft CMS 4.x
# CSV to Table plugin for Craft CMS 5.x

Create a table from a CSV

## Requirements

This plugin requires Craft CMS 4.
This plugin requires Craft CMS 5 or later.

## Installation

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "towardstudio/csvtotable",
"description": "Create a table from a CSV",
"type": "craft-plugin",
"version": "2.1.0",
"version": "3.0.0",
"license": "MIT",
"authors": [
{
Expand All @@ -11,7 +11,7 @@
}
],
"require": {
"craftcms/cms": "^4.0.0",
"craftcms/cms": "^5",
"phpoffice/phpspreadsheet": "^1.23"
},
"autoload": {
Expand Down
8 changes: 8 additions & 0 deletions src/fields/CSVToTableField.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,12 @@ public static function displayName(): string
{
return Craft::t("csvtotable", "CSV Table");
}

/**
* @inheritdoc
*/
public static function icon(): string
{
return 'table';
}
}

0 comments on commit f156441

Please sign in to comment.