Skip to content

Commit f56a0fc

Browse files
committed
docs: release notes for the v2.0.0 version
1 parent 726c2a3 commit f56a0fc

File tree

1 file changed

+63
-34
lines changed

1 file changed

+63
-34
lines changed

CHANGELOG.md

+63-34
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,70 @@
11
# CHANGELOG
22

3-
## 1.1.8 - 2018-01-06
3+
## [v2.0.0](https://github.com/josantonius/php-error/releases/tag/v2.0.0) (2022-08-10)
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+
---
11+
12+
* The library was completely refactored.
13+
14+
* Support for PHP version 8.1.
15+
16+
* Support for earlier versions of PHP **8.1** is discontinued.
17+
18+
* In this version exceptions are no longer handled.
19+
You can use [josantonius/exception-handler](https://github.com/josantonius/php-exception-handler)
20+
to handle them.
21+
22+
* HTML error rendering has also been discontinued.
23+
24+
* The package name was changed from `josantonius/errorhandler` to `josantonius/error-handler`.
25+
26+
* Improved documentation; `README.md`, `CODE_OF_CONDUCT.md`, `CONTRIBUTING.md` and `CHANGELOG.md`.
27+
28+
* Removed `Codacy`.
29+
30+
* Removed `PHP Coding Standards Fixer`.
31+
32+
* The `master` branch was renamed to `main`.
33+
34+
* The `develop` branch was added to use a workflow based on `Git Flow`.
35+
36+
* `Travis` is discontinued for continuous integration. `GitHub Actions` will be used from now on.
37+
38+
* Added `.github/CODE_OF_CONDUCT.md` file.
39+
* Added `.github/CONTRIBUTING.md` file.
40+
* Added `.github/FUNDING.yml` file.
41+
* Added `.github/workflows/ci.yml` file.
42+
* Added `.github/lang/es-ES/CODE_OF_CONDUCT.md` file.
43+
* Added `.github/lang/es-ES/CONTRIBUTING.md` file.
44+
* Added `.github/lang/es-ES/LICENSE` file.
45+
* Added `.github/lang/es-ES/README` file.
46+
47+
* Deleted `.travis.yml` file.
48+
* Deleted `.editorconfig` file.
49+
* Deleted `CONDUCT.MD` file.
50+
* Deleted `README-ES.MD` file.
51+
* Deleted `.php_cs.dist` file.
52+
53+
## [1.1.8](https://github.com/josantonius/php-error/releases/tag/1.1.8) (2018-01-06)
454

555
* The tests were fixed.
656

757
* Changes in documentation.
858

9-
## 1.1.7 - 2017-11-08
59+
## [1.1.7](https://github.com/josantonius/php-error/releases/tag/1.1.7) (2017-11-08)
1060

1161
* Implemented `PHP Mess Detector` to detect inconsistencies in code styles.
1262

1363
* Implemented `PHP Code Beautifier and Fixer` to fixing errors automatically.
1464

1565
* Implemented `PHP Coding Standards Fixer` to organize PHP code automatically according to PSR standards.
1666

17-
## 1.1.6 - 2017-10-27
67+
## [1.1.6](https://github.com/josantonius/php-error/releases/tag/1.1.6) (2017-10-27)
1868

1969
* Implemented `PSR-4 autoloader standard` from all library files.
2070

@@ -34,14 +84,12 @@
3484

3585
* Deleted `ErrorHandler/vendor` folder.
3686

37-
* Changed `Josantonius\ErrorHandler\Test\ErrorHandlerTest` class to `Josantonius\ErrorHandler\ErrorHandlerTest` class.
38-
39-
## 1.1.5 - 2017-09-13
87+
## [1.1.5](https://github.com/josantonius/php-error/releases/tag/1.1.5) (2017-09-13)
4088

4189
* Unit tests supported by `PHPUnit` were added.
4290

4391
* The repository was synchronized with Travis CI to implement continuous integration.
44-
92+
4593
* Added `ErrorHandler/src/bootstrap.php` file
4694

4795
* Added `ErrorHandler/tests/bootstrap.php` file.
@@ -64,24 +112,13 @@
64112
* Deleted `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSetCustomMethod()` method.
65113
* Deleted `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->_customMethodResponse()` method.
66114

67-
* Added `Josantonius\ErrorHandler\Test\ErrorHandlerTest` class.
68-
* Added `Josantonius\ErrorHandler\Test\ErrorHandlerTest->testIfCustomExceptionHandlerIsActivated()` method.
69-
* Added `Josantonius\ErrorHandler\Test\ErrorHandlerTest->testIfCustomErrorHandlerIsActivated()` method.
70-
* Added `Josantonius\ErrorHandler\Test\ErrorHandlerTest->testException()` method.
71-
* Added `Josantonius\ErrorHandler\Test\ErrorHandlerTest->testExceptionWithCustomMethodsWithoutShowDefaultView()` method.
72-
* Added `Josantonius\ErrorHandler\Test\ErrorHandlerTest->testExceptionWithCustomMethodsAndShowDefaultView()` method.
73-
* Added `Josantonius\ErrorHandler\Test\ErrorHandlerTest->testError()` method.
74-
* Added `Josantonius\ErrorHandler\Test\ErrorHandlerTest->testErrorWithCustomMethodsWithoutShowDefaultView()` method.
75-
* Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testErrorWithCustomMethodsAndShowDefaultView()` method.
76-
* Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testGetErrorType()` method.
77-
78-
## 1.1.4 - 2017-07-16
115+
## [1.1.4](https://github.com/josantonius/php-error/releases/tag/1.1.4) (2017-07-16)
79116

80117
* Deleted `Josantonius\ErrorHandler\Exception\ErrorHandlerException` class.
81118
* Deleted `Josantonius\ErrorHandler\Exception\Exceptions` abstract class.
82119
* Deleted `Josantonius\ErrorHandler\Exception\ErrorHandlerException->__construct()` method.
83120

84-
## 1.1.3 - 2017-05-15
121+
## [1.1.3](https://github.com/josantonius/php-error/releases/tag/1.1.3) (2017-05-15)
85122

86123
* You can now add custom methods to run instead of displaying the default view.
87124

@@ -92,28 +129,24 @@
92129
* Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSetCustomMethod()` method.
93130
* Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->_customMethodResponse()` method.
94131

95-
## 1.1.2 - 2017-03-18
132+
## [1.1.2](https://github.com/josantonius/php-error/releases/tag/1.1.2) (2017-03-18)
96133

97134
* Some files were excluded from download and comments and readme files were updated.
98135

99-
## 1.1.1 - 2017-02-21
136+
## [1.1.1](https://github.com/josantonius/php-error/releases/tag/1.1.1) (2017-02-21)
100137

101138
* Added `Josantonius\ErrorHandler\ErrorHandler->getPreviewCode()` method.
102139
* Deleted `Josantonius\ErrorHandler\ErrorHandler->catchThrowable()` method.
103140
* Deleted `Josantonius\ErrorHandler\ErrorHandler->catchException()` method.
104-
* Changed `Josantonius\ErrorHandler\ErrorHandler->catchError()` method to `Josantonius\ErrorHandler\ErrorHandler->error()`.
105-
* Changed `Josantonius\ErrorHandler\ErrorHandler->prepareException()` method to `Josantonius\ErrorHandler\ErrorHandler->exception()`.
106-
* Changed `Josantonius\ErrorHandler\ErrorHandler->show()` method to `Josantonius\ErrorHandler\ErrorHandler->render()`.
107141

108-
## 1.1.0 - 2017-01-30
142+
## [1.1.0](https://github.com/josantonius/php-error/releases/tag/1.1.0) (2017-01-30)
109143

110144
* Compatible with PHP 5.6 or higher.
111145

112-
## 1.0.0 - 2017-01-30
113-
114-
* 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.
146+
## [1.0.0](https://github.com/josantonius/php-error/releases/tag/1.0.0) (2016-12-14)
115147

116-
## 1.0.0 - 2016-12-14
148+
* Compatible only with PHP 7.0 or higher.
149+
In the next versions, the library will be modified to make it compatible with PHP 5.6 or higher.
117150

118151
* Added `Josantonius\ErrorHandler\ErrorHandler` class.
119152
* Added `Josantonius\ErrorHandler\ErrorHandler->__construct()` method.
@@ -125,14 +158,10 @@
125158
* Added `Josantonius\ErrorHandler\ErrorHandler->getErrorType()` method.
126159
* Added `Josantonius\ErrorHandler\ErrorHandler->show()` method.
127160

128-
## 1.0.0 - 2016-12-14
129-
130161
* Added `Josantonius\ErrorHandler\Exception\ErrorHandlerException` class.
131162
* Added `Josantonius\ErrorHandler\Exception\Exceptions` abstract class.
132163
* Added `Josantonius\ErrorHandler\Exception\ErrorHandlerException->__construct()` method.
133164

134-
## 1.0.0 - 2016-12-14
135-
136165
* Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest` class.
137166
* Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeException()` method.
138167
* Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeWarning()` method.

0 commit comments

Comments
 (0)