diff --git a/.gitignore b/.gitignore
new file mode 100755
index 0000000..c00a8d8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,20 @@
+# Global
+.composer
+composer.lock
+package-lock.json
+vendor/
+node_modules/
+dist/
+
+# Flextype Site Specific
+var/
+
+# OS Generated
+.DS_Store*
+ehthumbs.db
+Icon?
+Thumbs.db
+*.swp
+
+# phpstorm
+.idea/*
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d3e1fab..fd5a2b1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,11 @@
+
+# [1.6.0](https://github.com/flextype-plugins/form/compare/v1.5.1...v1.6.0) (2020-12-07)
+
+### Features
+
+* **core** update code base for new Flextype 0.9.12
+
+
# [1.5.1](https://github.com/flextype-plugins/form/compare/v1.5.0...v1.5.1) (2020-08-26)
diff --git a/LICENSE.txt b/LICENSE.txt
index f628cc1..6b05ac2 100755
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2018-2020 Sergey Romanenko
+Copyright (c) 2021 Sergey Romanenko
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/README.md b/README.md
index 2e87eca..603d542 100755
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
-
+
Form Plugin to render user forms for Flextype.
@@ -12,7 +12,7 @@ The following dependencies need to be installed for Form Plugin.
| Item | Version | Download |
|---|---|---|
-| [flextype](https://github.com/flextype/flextype) | 0.9.11 | [download](https://github.com/flextype/flextype/releases) |
+| [flextype](https://github.com/flextype/flextype) | 0.9.12 | [download](https://github.com/flextype/flextype/releases) |
| [twig](https://github.com/flextype-plugins/twig) | >=1.0.0 | [download](https://github.com/flextype-plugins/twig/releases) |
| [jquery](https://github.com/flextype-plugins/jquery) | >=1.0.0 | [download](https://github.com/flextype-plugins/jquery/releases) |
diff --git a/app/Models/Fieldsets.php b/app/Models/Fieldsets.php
index 2573025..6f7af44 100644
--- a/app/Models/Fieldsets.php
+++ b/app/Models/Fieldsets.php
@@ -36,7 +36,7 @@ public function __construct()
}
/**
- * Fetch fieldset
+ * Fetch single fieldset
*
* @param string $id Fieldset id
*
@@ -44,7 +44,7 @@ public function __construct()
*
* @access public
*/
- public function fetch(string $id)
+ public function fetchSingle(string $id)
{
$fieldset_file = $this->getFileLocation($id);
@@ -70,7 +70,7 @@ public function fetch(string $id)
*
* @access public
*/
- public function fetchAll() : array
+ public function fetchCollection() : array
{
// Init Fieldsets array
$fieldsets = [];
diff --git a/composer.json b/composer.json
index 96acd2f..51ca6d6 100644
--- a/composer.json
+++ b/composer.json
@@ -16,7 +16,9 @@
"issues": "https://github.com/flextype/issues"
},
"require": {
- "php": ">=7.3.0"
+ "php": ">=7.3.0",
+ "flextype-components/arrays" : "3.0.1",
+ "flextype-components/filesystem": "2.0.8"
},
"config": {
"apcu-autoloader": true,
diff --git a/package.json b/package.json
index fef0d5f..846bfb0 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "Form",
- "version": "1.5.1",
+ "version": "1.6.0",
"description": "Form Plugin to render user forms for Flextype.",
"homepage": "https://flextype.org",
"author": "Sergey Romanenko",
diff --git a/plugin.yaml b/plugin.yaml
index c825194..e047a92 100755
--- a/plugin.yaml
+++ b/plugin.yaml
@@ -1,5 +1,5 @@
name: Form
-version: 1.5.1
+version: 1.6.0
description: Form Plugin to render user forms for Flextype.
icon: fas fa-check-circle
author:
@@ -14,6 +14,6 @@ keywords: form, fieldsets
license: MIT
dependencies:
- flextype: 0.9.11
+ flextype: 0.9.12
twig: '>=1.0.0'
jquery: '>=1.0.0'