diff --git a/CHANGELOG.md b/CHANGELOG.md
index 8f2b7ba..1076a26 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
+
+# [1.3.0](https://github.com/flextype-plugins/form-icon/compare/v1.2.0...v1.3.0) (2020-08-25)
+
+### Features
+
+* **core** update code base for new Flextype 0.9.11
+
-# [1.2.0](https://github.com/flextype-plugins/form-admin/compare/v1.1.2...v1.2.0) (2020-08-19)
+# [1.2.0](https://github.com/flextype-plugins/icon/compare/v1.1.2...v1.2.0) (2020-08-19)
### Features
diff --git a/README.md b/README.md
index d5cb288..9a594d2 100755
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
-
+
Icon plugin to present [Font Awesome](https://fontawesome.com/) icons set for Flextype.
@@ -14,7 +14,7 @@ The following dependencies need to be installed for Icon Plugin.
| Item | Version | Download |
|---|---|---|
-| [flextype](https://github.com/flextype/flextype) | 0.9.10 | [download](https://github.com/flextype/flextype/releases) |
+| [flextype](https://github.com/flextype/flextype) | 0.9.11 | [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) |
## Installation
diff --git a/app/Models/Icon.php b/app/Models/Icon.php
index 597d6d2..e760685 100644
--- a/app/Models/Icon.php
+++ b/app/Models/Icon.php
@@ -15,17 +15,13 @@
class Icon
{
- /**
- * Flextype Application
- */
- protected $flextype;
/**
* __construct
*/
- public function __construct($flextype)
+ public function __construct()
{
- $this->flextype = $flextype;
+
}
public static function icon($value = null) : string
diff --git a/dependencies.php b/dependencies.php
index 70539d2..9aa2e53 100644
--- a/dependencies.php
+++ b/dependencies.php
@@ -14,4 +14,4 @@
use Flextype\Plugin\Icon\Twig\IconTwigExtension;
// Add Icon Twig Extension
-$flextype->container('twig')->addExtension(new IconTwigExtension($flextype));
+flextype('twig')->addExtension(new IconTwigExtension());
diff --git a/package.json b/package.json
index dec8da0..39410a5 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "Icon",
- "version": "1.2.0",
+ "version": "1.3.0",
"description": "Icon plugin to present Font Awesome icons set for Flextype.",
"homepage": "https://flextype.org",
"author": "Sergey Romanenko",
diff --git a/plugin.yaml b/plugin.yaml
index d440545..3017d61 100755
--- a/plugin.yaml
+++ b/plugin.yaml
@@ -1,5 +1,5 @@
name: Icon
-version: 1.2.0
+version: 1.3.0
description: Icon plugin to present Font Awesome icons set for Flextype.
icon: fab fa-font-awesome-flag
author:
@@ -11,5 +11,5 @@ bugs: https://github.com/flextype-plugins/icon/issues
license: MIT
dependencies:
- flextype: 0.9.10
+ flextype: 0.9.11
twig: '>=1.0.0'