|
1 | 1 | # CHANGELOG |
2 | 2 |
|
3 | | -## 1.1.7 - 2018-01-05 |
| 3 | +## [v2.0.0](https://github.com/josantonius/php-json/releases/tag/v2.0.0) (2022-06-30) |
| 4 | + |
| 5 | +> Version 1.x is considered as deprecated and unsupported. |
| 6 | +> In this version (2.x) the library was completely restructured. |
| 7 | +> It is recommended to review the documentation for this version and make the necessary changes |
| 8 | +> before starting to use it, as it not be compatible with version 1.x. |
| 9 | +
|
| 10 | +* The library was completely refactored. |
| 11 | + |
| 12 | +* Replaced all static methods in `Josantonius\Asset\Asset` class. |
| 13 | + |
| 14 | + A facade class was added to access the methods statically: `Josantonius\Asset\Facades\Asset`. |
| 15 | + |
| 16 | +* Support for PHP version **8.1**. |
| 17 | + |
| 18 | +* Support for earlier versions of PHP **8.1** is discontinued. |
| 19 | + |
| 20 | +* Improved documentation; `README.md`, `CODE_OF_CONDUCT.md`, `CONTRIBUTING.md` and `CHANGELOG.md`. |
| 21 | + |
| 22 | +* Removed `Codacy`. |
| 23 | + |
| 24 | +* Removed `PHP Coding Standards Fixer`. |
| 25 | + |
| 26 | +* The `master` branch was renamed to `main`. |
| 27 | + |
| 28 | +* The `develop` branch was added to use a workflow based on `Git Flow`. |
| 29 | + |
| 30 | +* `Travis` is discontinued for continuous integration. `GitHub Actions` will be used from now on. |
| 31 | + |
| 32 | +* ADDED: |
| 33 | + |
| 34 | + `Josantonius\Asset\Elements\BodyScript` class. |
| 35 | + |
| 36 | + `Josantonius\Asset\Elements\HeadScript` class. |
| 37 | + |
| 38 | + `Josantonius\Asset\Elements\Link` class. |
| 39 | + |
| 40 | + `Josantonius\Asset\Elements\Script` class. |
| 41 | + |
| 42 | + `Josantonius\Asset\Facades\Asset` class. |
| 43 | + |
| 44 | + `Josantonius\Asset\Tests\Elements\LinkTest` class. |
| 45 | + |
| 46 | + `Josantonius\Asset\Tests\Elements\ScriptTest` class. |
| 47 | + |
| 48 | + `Josantonius\Asset\Tests\Facades\AssetTest` class. |
| 49 | + |
| 50 | + `.github/CODE_OF_CONDUCT.md` file. |
| 51 | + |
| 52 | + `.github/CONTRIBUTING.md` file. |
| 53 | + |
| 54 | + `.github/FUNDING.yml` file. |
| 55 | + |
| 56 | + `.github/workflows/ci.yml` file. |
| 57 | + |
| 58 | + `.github/lang/es-ES/CODE_OF_CONDUCT.md` file. |
| 59 | + |
| 60 | + `.github/lang/es-ES/CONTRIBUTING.md` file. |
| 61 | + |
| 62 | + `.github/lang/es-ES/LICENSE` file. |
| 63 | + |
| 64 | + `.github/lang/es-ES/README` file. |
| 65 | + |
| 66 | +* DELETED: |
| 67 | + |
| 68 | + `Josantonius\Asset\Tests\ScriptsTest` class. |
| 69 | + |
| 70 | + `Josantonius\Asset\Tests\StylesTest` class. |
| 71 | + |
| 72 | + `Josantonius\Asset\Tests\UnifyFilesTest` class. |
| 73 | + |
| 74 | + `tests/assets` folder. |
| 75 | + |
| 76 | + `.travis.yml` file. |
| 77 | + |
| 78 | + `.editorconfig` file. |
| 79 | + |
| 80 | + `CONDUCT.MD` file. |
| 81 | + |
| 82 | + `README-ES.MD` file. |
| 83 | + |
| 84 | + `.php_cs.dist` file. |
| 85 | + |
| 86 | +## [1.1.7](https://github.com/josantonius/php-json/releases/tag/1.1.0) (2018-01-05) |
4 | 87 |
|
5 | 88 | * The tests were fixed. |
6 | 89 |
|
7 | 90 | * Changes in documentation. |
8 | 91 |
|
9 | | -## 1.1.6 - 2017-11-08 |
| 92 | +## [1.1.6](https://github.com/josantonius/php-json/releases/tag/1.1.6) (2017-11-08) |
10 | 93 |
|
11 | 94 | * Implemented `PHP Mess Detector` to detect inconsistencies in code styles. |
12 | 95 |
|
13 | 96 | * Implemented `PHP Code Beautifier and Fixer` to fixing errors automatically. |
14 | 97 |
|
15 | 98 | * Implemented `PHP Coding Standards Fixer` to organize PHP code automatically according to PSR standards. |
16 | 99 |
|
17 | | -## 1.1.5 - 2017-10-24 |
| 100 | +## [1.1.5](https://github.com/josantonius/php-json/releases/tag/1.1.5) (2017-10-24) |
18 | 101 |
|
19 | 102 | * Implemented `PSR-4 autoloader standard` from all library files. |
20 | 103 |
|
|
88 | 171 | * Added `Josantonius\Asset\UnifyFilesTest->testOutputStylesAndScripts()` method. |
89 | 172 | * Added `Josantonius\Asset\UnifyFilesTest->testIfUnifiedFilesWasCreated()` method. |
90 | 173 |
|
91 | | -## 1.1.4 - 2017-09-10 |
| 174 | +## [1.1.4](https://github.com/josantonius/php-json/releases/tag/1.1.4) (2017-09-10) |
92 | 175 |
|
93 | 176 | * Unit tests supported by `PHPUnit` were added. |
94 | 177 |
|
95 | 178 | * The repository was synchronized with `Travis CI` to implement continuous integration. |
96 | 179 |
|
97 | 180 | * Type attributes were deleted from HTML tags. Since HTML5 doesn't longer necessary. |
98 | | - |
| 181 | + |
99 | 182 | * Added `Asset/src/bootstrap.php` file |
100 | 183 |
|
101 | 184 | * Added `Asset/tests/bootstrap.php` file. |
|
122 | 205 | * Added `Josantonius\Asset\Test\AssetTest::testAddMultipleJsFileAttr()` method. |
123 | 206 | * Added `Josantonius\Asset\Test\AssetTest::testAddMultipleJsFileSameAttr()` method. |
124 | 207 |
|
125 | | -## 1.1.3 - 2017-07-15 |
| 208 | +## [1.1.3](https://github.com/josantonius/php-json/releases/tag/1.1.3) (2017-07-15) |
126 | 209 |
|
127 | 210 | * Deleted `Josantonius\Asset\Exception\AssetException` class. |
128 | 211 | * Deleted `Josantonius\Asset\Exception\Exceptions` abstract class. |
129 | 212 | * Deleted `Josantonius\Asset\Exception\AssetException->__construct()` method. |
130 | 213 |
|
131 | | -## 1.1.2 - 2017-03-18 |
| 214 | +## [1.1.2](https://github.com/josantonius/php-json/releases/tag/1.1.2) (2017-03-18) |
132 | 215 |
|
133 | 216 | * Some files were excluded from download and comments and readme files were updated. |
134 | 217 |
|
135 | | -## 1.1.1 - 2017-02-17 |
| 218 | +## [1.1.1](https://github.com/josantonius/php-json/releases/tag/1.1.1) (2017-02-17) |
136 | 219 |
|
137 | 220 | * Added `Josantonius\Asset\Tests\AssetTest::testAddOneJsFileAttr()` method. |
138 | 221 | * Added `Josantonius\Asset\Tests\AssetTest::testAddMultipleJsFileAttr()` method. |
139 | 222 | * Added `Josantonius\Asset\Tests\AssetTest::testAddMultipleJsFileSameAttr()` method. |
140 | 223 | * Added `$attr` parameter in `Josantonius\Asset\Asset::resource()` method. |
141 | 224 | * Added `$attr` parameter in `Josantonius\Asset\Asset::js()` method. |
142 | 225 |
|
143 | | -## 1.1.0 - 2017-01-30 |
| 226 | +## [1.1.0](https://github.com/josantonius/php-json/releases/tag/1.1.0) (2017-01-30) |
144 | 227 |
|
145 | 228 | * Compatible with PHP 5.6 or higher. |
146 | 229 |
|
147 | | -## 1.0.0 - 2017-01-30 |
| 230 | +## [1.0.0](https://github.com/josantonius/php-json/releases/tag/1.0.0) (2016-12-14) |
148 | 231 |
|
149 | 232 | * Compatible only with PHP 7.0 or higher. In the next versions, the library will be modified to make it compatible with PHP 5.6 or higher. |
150 | 233 |
|
151 | | -## 1.0.0 - 2016-12-14 |
152 | | - |
153 | 234 | * Added `Josantonius\Asset\Asset` class. |
154 | 235 | * Added `Josantonius\Asset\Asset::resource()` method. |
155 | 236 | * Added `Josantonius\Asset\Asset::js()` method. |
156 | 237 | * Added `Josantonius\Asset\Asset::css()` method. |
157 | 238 |
|
158 | | -## 1.0.0 - 2016-12-14 |
159 | | - |
160 | 239 | * Added `Josantonius\Asset\Exception\AssetException` class. |
161 | 240 | * Added `Josantonius\Asset\Exception\Exceptions` abstract class. |
162 | 241 | * Added `Josantonius\Asset\Exception\AssetException->__construct()` method. |
163 | 242 |
|
164 | | -## 1.0.0 - 2016-12-14 |
165 | | - |
166 | 243 | * Added `Josantonius\Asset\Tests\AssetTest` class. |
167 | 244 | * Added `Josantonius\Asset\Tests\AssetTest::testAddOneCssFile()` method. |
168 | 245 | * Added `Josantonius\Asset\Tests\AssetTest::testAddMultipleCssFile()` method. |
|
0 commit comments