|
1 | 1 | # CHANGELOG
|
2 | 2 |
|
3 |
| -## 1.2.1 - 2018-04-17 |
| 3 | +## [v2.0.0](https://github.com/josantonius/php-url/releases/tag/v2.0.0) (2022-08-17) |
| 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 | +* Improved documentation; `README.md`, `CODE_OF_CONDUCT.md`, `CONTRIBUTING.md` and `CHANGELOG.md`. |
| 19 | + |
| 20 | +* Removed `Codacy`. |
| 21 | + |
| 22 | +* Removed `PHP Coding Standards Fixer`. |
| 23 | + |
| 24 | +* The `master` branch was renamed to `main`. |
| 25 | + |
| 26 | +* The `develop` branch was added to use a workflow based on `Git Flow`. |
| 27 | + |
| 28 | +* `Travis` is discontinued for continuous integration. `GitHub Actions` will be used from now on. |
| 29 | + |
| 30 | +* Added `.github/CODE_OF_CONDUCT.md` file. |
| 31 | +* Added `.github/CONTRIBUTING.md` file. |
| 32 | +* Added `.github/FUNDING.yml` file. |
| 33 | +* Added `.github/workflows/ci.yml` file. |
| 34 | +* Added `.github/lang/es-ES/CODE_OF_CONDUCT.md` file. |
| 35 | +* Added `.github/lang/es-ES/CONTRIBUTING.md` file. |
| 36 | +* Added `.github/lang/es-ES/LICENSE` file. |
| 37 | +* Added `.github/lang/es-ES/README` file. |
| 38 | + |
| 39 | +* Deleted `.travis.yml` file. |
| 40 | +* Deleted `.editorconfig` file. |
| 41 | +* Deleted `CONDUCT.MD` file. |
| 42 | +* Deleted `README-ES.MD` file. |
| 43 | +* Deleted `.php_cs.dist` file. |
| 44 | + |
| 45 | +## [1.2.1](https://github.com/josantonius/php-url/releases/tag/1.2.1) (2018-04-17) |
4 | 46 |
|
5 | 47 | * Bug fixed in `setUrlParams` method.
|
6 | 48 |
|
7 |
| -## 1.2.0 - 2018-02-22 |
| 49 | +## [1.2.0](https://github.com/josantonius/php-url/releases/tag/1.2.0) (2018-02-22) |
8 | 50 |
|
9 | 51 | * Bugs fixed in `getBaseUrl` and `setUrlParams` method.
|
10 | 52 |
|
11 |
| -## 1.1.9 - 2018-01-07 |
| 53 | +## [1.1.9](https://github.com/josantonius/php-url/releases/tag/1.1.9) (2018-01-07) |
12 | 54 |
|
13 | 55 | * The tests were fixed.
|
14 | 56 |
|
15 | 57 | * Changes in documentation.
|
16 | 58 |
|
17 |
| -## 1.1.8 - 2017-11-12 |
| 59 | +## [1.1.8](https://github.com/josantonius/php-url/releases/tag/1.1.8) (2017-11-12) |
18 | 60 |
|
19 | 61 | * Do more testings.
|
20 |
| -* Change the `addBackslash` method to `addBackSlash` method and refactorize. |
21 |
| -* Fix command in composer.json will output the ERROR: The file "src,tests" does not exist. Change this to the `vendor/bin/phpcbf src tests` command. |
| 62 | +* Change the `addBackslash` method to `addBackSlash` method and refactoring. |
| 63 | +* Fix command in composer.json will output the ERROR: The file "src,tests" does not exist. |
22 | 64 |
|
23 | 65 | * Added `Josantonius\Url\Tests\UrlTest::testGetProtocolWithUrl()` method.
|
24 | 66 | * Added `Josantonius\Url\Tests\UrlTest::testGetDomainWithDomain()` method.
|
25 | 67 | * Added `Josantonius\Url\Tests\UrlTest::testGetDomainWithInvalidDomain()` method.
|
26 | 68 | * Added `Josantonius\Url\Tests\UrlTest::testAddBackSlashDefault()` method.
|
27 | 69 |
|
28 |
| -## 1.1.7 - 2017-11-09 |
| 70 | +## [1.1.7](https://github.com/josantonius/php-url/releases/tag/1.1.7) (2017-11-09) |
29 | 71 |
|
30 | 72 | * Implemented `PHP Mess Detector` to detect inconsistencies in code styles.
|
31 | 73 |
|
32 | 74 | * Implemented `PHP Code Beautifier and Fixer` to fixing errors automatically.
|
33 | 75 |
|
34 | 76 | * Implemented `PHP Coding Standards Fixer` to organize PHP code automatically according to PSR standards.
|
35 | 77 |
|
36 |
| -## 1.1.6 - 2017-11-02 |
| 78 | +## [1.1.6](https://github.com/josantonius/php-url/releases/tag/1.1.6) (2017-11-02) |
37 | 79 |
|
38 | 80 | * Implemented `PSR-4 autoloader standard` from all library files.
|
39 | 81 |
|
|
55 | 97 |
|
56 | 98 | * Changed `Josantonius\Url\Test\UrlTest` class to `Josantonius\Url\UrlTest` class.
|
57 | 99 |
|
58 |
| -## 1.1.5 - 2017-09-17 |
| 100 | +## [1.1.5](https://github.com/josantonius/php-url/releases/tag/1.1.5) (2017-09-17) |
59 | 101 |
|
60 | 102 | * Unit tests supported by `PHPUnit` were added.
|
61 | 103 |
|
62 | 104 | * The repository was synchronized with `Travis CI` to implement continuous integration.
|
63 |
| - |
| 105 | + |
64 | 106 | * Added `Url/src/bootstrap.php` file
|
65 | 107 |
|
66 | 108 | * Added `Url/tests/bootstrap.php` file.
|
|
119 | 161 | * Added `Josantonius\Url\Test\UrlTest::testGetLastSegmentFromString()` method.
|
120 | 162 | * Added `Josantonius\Url\Test\UrlTest::testGetLastSegmentFromArray()` method.
|
121 | 163 |
|
122 |
| -## 1.1.4 - 2017-07-16 |
| 164 | +## [1.1.4](https://github.com/josantonius/php-url/releases/tag/1.1.4) (2017-07-16) |
123 | 165 |
|
124 | 166 | * Deleted `Josantonius\Url\Exception\UrlException` class.
|
125 | 167 | * Deleted `Josantonius\Url\Exception\Exceptions` abstract class.
|
126 | 168 | * Deleted `Josantonius\Url\Exception\UrlException->__construct()` method.
|
127 | 169 |
|
128 |
| -## 1.1.3 - 2017-07-09 |
| 170 | +## [1.1.3](https://github.com/josantonius/php-url/releases/tag/1.1.3) (2017-07-09) |
129 | 171 |
|
130 | 172 | * Added option to analyze concrete urls in some methods.
|
131 | 173 |
|
132 |
| -## 1.1.2 - 2017-05-08 |
| 174 | +## [1.1.2](https://github.com/josantonius/php-url/releases/tag/1.1.2) (2017-05-08) |
133 | 175 |
|
134 | 176 | * Now you can choose to place backslash at the beginning, end or both ends in the addBackslash() method.
|
135 | 177 |
|
136 | 178 | * The getUriMethods() method was improved to prevent it from replacing single characters that also matched.
|
137 | 179 |
|
138 |
| -## 1.1.1 - 2017-03-18 |
| 180 | +## [1.1.1](https://github.com/josantonius/php-url/releases/tag/1.1.1) (2017-03-18) |
139 | 181 |
|
140 | 182 | * Some files were excluded from download and comments and readme files were updated.
|
141 | 183 |
|
142 |
| -## 1.1.0 - 2017-02-28 |
| 184 | +## [1.1.0](https://github.com/josantonius/php-url/releases/tag/1.1.0) (2017-02-28) |
143 | 185 |
|
144 | 186 | * Added `Josantonius\Url\Url::getBaseUrl()` method.
|
145 | 187 |
|
146 |
| -## 1.1.0 - 2017-02-28 |
147 |
| - |
148 | 188 | * Added `Josantonius\Url\Tests\UrlTest::testGetBaseUrl()` method.
|
149 | 189 |
|
150 |
| -## 1.0.0 - 2017-02-02 |
| 190 | +## [1.0.0](https://github.com/josantonius/php-url/releases/tag/1.0.0) (2017-02-02) |
151 | 191 |
|
152 | 192 | * Added `Josantonius\Url\Url` class.
|
153 | 193 | * Added `Josantonius\Url\Url::getCurrentPage()` method.
|
|
185 | 225 | * Added `Josantonius\Url\Tests\UrlTest::testGenerateSafeSlug()` method.
|
186 | 226 | * Added `Josantonius\Url\Tests\UrlTest::testSegment()` method.
|
187 | 227 | * Added `Josantonius\Url\Tests\UrlTest::testGetFirstSegment()` method.
|
188 |
| -* Added `Josantonius\Url\Tests\UrlTest::testGetLastSegment()` method. |
| 228 | +* Added `Josantonius\Url\Tests\UrlTest::testGetLastSegment()` method. |
0 commit comments