|
1 | 1 | # CHANGELOG
|
2 | 2 |
|
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) |
4 | 54 |
|
5 | 55 | * The tests were fixed.
|
6 | 56 |
|
7 | 57 | * Changes in documentation.
|
8 | 58 |
|
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) |
10 | 60 |
|
11 | 61 | * Implemented `PHP Mess Detector` to detect inconsistencies in code styles.
|
12 | 62 |
|
13 | 63 | * Implemented `PHP Code Beautifier and Fixer` to fixing errors automatically.
|
14 | 64 |
|
15 | 65 | * Implemented `PHP Coding Standards Fixer` to organize PHP code automatically according to PSR standards.
|
16 | 66 |
|
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) |
18 | 68 |
|
19 | 69 | * Implemented `PSR-4 autoloader standard` from all library files.
|
20 | 70 |
|
|
34 | 84 |
|
35 | 85 | * Deleted `ErrorHandler/vendor` folder.
|
36 | 86 |
|
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) |
40 | 88 |
|
41 | 89 | * Unit tests supported by `PHPUnit` were added.
|
42 | 90 |
|
43 | 91 | * The repository was synchronized with Travis CI to implement continuous integration.
|
44 |
| - |
| 92 | + |
45 | 93 | * Added `ErrorHandler/src/bootstrap.php` file
|
46 | 94 |
|
47 | 95 | * Added `ErrorHandler/tests/bootstrap.php` file.
|
|
64 | 112 | * Deleted `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSetCustomMethod()` method.
|
65 | 113 | * Deleted `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->_customMethodResponse()` method.
|
66 | 114 |
|
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) |
79 | 116 |
|
80 | 117 | * Deleted `Josantonius\ErrorHandler\Exception\ErrorHandlerException` class.
|
81 | 118 | * Deleted `Josantonius\ErrorHandler\Exception\Exceptions` abstract class.
|
82 | 119 | * Deleted `Josantonius\ErrorHandler\Exception\ErrorHandlerException->__construct()` method.
|
83 | 120 |
|
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) |
85 | 122 |
|
86 | 123 | * You can now add custom methods to run instead of displaying the default view.
|
87 | 124 |
|
|
92 | 129 | * Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSetCustomMethod()` method.
|
93 | 130 | * Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->_customMethodResponse()` method.
|
94 | 131 |
|
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) |
96 | 133 |
|
97 | 134 | * Some files were excluded from download and comments and readme files were updated.
|
98 | 135 |
|
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) |
100 | 137 |
|
101 | 138 | * Added `Josantonius\ErrorHandler\ErrorHandler->getPreviewCode()` method.
|
102 | 139 | * Deleted `Josantonius\ErrorHandler\ErrorHandler->catchThrowable()` method.
|
103 | 140 | * 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()`. |
107 | 141 |
|
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) |
109 | 143 |
|
110 | 144 | * Compatible with PHP 5.6 or higher.
|
111 | 145 |
|
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) |
115 | 147 |
|
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. |
117 | 150 |
|
118 | 151 | * Added `Josantonius\ErrorHandler\ErrorHandler` class.
|
119 | 152 | * Added `Josantonius\ErrorHandler\ErrorHandler->__construct()` method.
|
|
125 | 158 | * Added `Josantonius\ErrorHandler\ErrorHandler->getErrorType()` method.
|
126 | 159 | * Added `Josantonius\ErrorHandler\ErrorHandler->show()` method.
|
127 | 160 |
|
128 |
| -## 1.0.0 - 2016-12-14 |
129 |
| - |
130 | 161 | * Added `Josantonius\ErrorHandler\Exception\ErrorHandlerException` class.
|
131 | 162 | * Added `Josantonius\ErrorHandler\Exception\Exceptions` abstract class.
|
132 | 163 | * Added `Josantonius\ErrorHandler\Exception\ErrorHandlerException->__construct()` method.
|
133 | 164 |
|
134 |
| -## 1.0.0 - 2016-12-14 |
135 |
| - |
136 | 165 | * Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest` class.
|
137 | 166 | * Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeException()` method.
|
138 | 167 | * Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeWarning()` method.
|
|
0 commit comments