Skip to content

Commit 5ce22fe

Browse files
committed
docs: release notes for the v2.0.0 version
1 parent 3ac8097 commit 5ce22fe

File tree

1 file changed

+93
-16
lines changed

1 file changed

+93
-16
lines changed

CHANGELOG.md

Lines changed: 93 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,103 @@
11
# CHANGELOG
22

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)
487

588
* The tests were fixed.
689

790
* Changes in documentation.
891

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)
1093

1194
* Implemented `PHP Mess Detector` to detect inconsistencies in code styles.
1295

1396
* Implemented `PHP Code Beautifier and Fixer` to fixing errors automatically.
1497

1598
* Implemented `PHP Coding Standards Fixer` to organize PHP code automatically according to PSR standards.
1699

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)
18101

19102
* Implemented `PSR-4 autoloader standard` from all library files.
20103

@@ -88,14 +171,14 @@
88171
* Added `Josantonius\Asset\UnifyFilesTest->testOutputStylesAndScripts()` method.
89172
* Added `Josantonius\Asset\UnifyFilesTest->testIfUnifiedFilesWasCreated()` method.
90173

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)
92175

93176
* Unit tests supported by `PHPUnit` were added.
94177

95178
* The repository was synchronized with `Travis CI` to implement continuous integration.
96179

97180
* Type attributes were deleted from HTML tags. Since HTML5 doesn't longer necessary.
98-
181+
99182
* Added `Asset/src/bootstrap.php` file
100183

101184
* Added `Asset/tests/bootstrap.php` file.
@@ -122,47 +205,41 @@
122205
* Added `Josantonius\Asset\Test\AssetTest::testAddMultipleJsFileAttr()` method.
123206
* Added `Josantonius\Asset\Test\AssetTest::testAddMultipleJsFileSameAttr()` method.
124207

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)
126209

127210
* Deleted `Josantonius\Asset\Exception\AssetException` class.
128211
* Deleted `Josantonius\Asset\Exception\Exceptions` abstract class.
129212
* Deleted `Josantonius\Asset\Exception\AssetException->__construct()` method.
130213

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)
132215

133216
* Some files were excluded from download and comments and readme files were updated.
134217

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)
136219

137220
* Added `Josantonius\Asset\Tests\AssetTest::testAddOneJsFileAttr()` method.
138221
* Added `Josantonius\Asset\Tests\AssetTest::testAddMultipleJsFileAttr()` method.
139222
* Added `Josantonius\Asset\Tests\AssetTest::testAddMultipleJsFileSameAttr()` method.
140223
* Added `$attr` parameter in `Josantonius\Asset\Asset::resource()` method.
141224
* Added `$attr` parameter in `Josantonius\Asset\Asset::js()` method.
142225

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)
144227

145228
* Compatible with PHP 5.6 or higher.
146229

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)
148231

149232
* 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.
150233

151-
## 1.0.0 - 2016-12-14
152-
153234
* Added `Josantonius\Asset\Asset` class.
154235
* Added `Josantonius\Asset\Asset::resource()` method.
155236
* Added `Josantonius\Asset\Asset::js()` method.
156237
* Added `Josantonius\Asset\Asset::css()` method.
157238

158-
## 1.0.0 - 2016-12-14
159-
160239
* Added `Josantonius\Asset\Exception\AssetException` class.
161240
* Added `Josantonius\Asset\Exception\Exceptions` abstract class.
162241
* Added `Josantonius\Asset\Exception\AssetException->__construct()` method.
163242

164-
## 1.0.0 - 2016-12-14
165-
166243
* Added `Josantonius\Asset\Tests\AssetTest` class.
167244
* Added `Josantonius\Asset\Tests\AssetTest::testAddOneCssFile()` method.
168245
* Added `Josantonius\Asset\Tests\AssetTest::testAddMultipleCssFile()` method.

0 commit comments

Comments
 (0)