Skip to content

Commit 1e66d21

Browse files
committed
docs: release notes for the v2.0.0
1 parent 5c7c993 commit 1e66d21

File tree

1 file changed

+59
-19
lines changed

1 file changed

+59
-19
lines changed

CHANGELOG.md

Lines changed: 59 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,81 @@
11
# CHANGELOG
22

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

547
* Bug fixed in `setUrlParams` method.
648

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

951
* Bugs fixed in `getBaseUrl` and `setUrlParams` method.
1052

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

1355
* The tests were fixed.
1456

1557
* Changes in documentation.
1658

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

1961
* 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.
2264

2365
* Added `Josantonius\Url\Tests\UrlTest::testGetProtocolWithUrl()` method.
2466
* Added `Josantonius\Url\Tests\UrlTest::testGetDomainWithDomain()` method.
2567
* Added `Josantonius\Url\Tests\UrlTest::testGetDomainWithInvalidDomain()` method.
2668
* Added `Josantonius\Url\Tests\UrlTest::testAddBackSlashDefault()` method.
2769

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

3072
* Implemented `PHP Mess Detector` to detect inconsistencies in code styles.
3173

3274
* Implemented `PHP Code Beautifier and Fixer` to fixing errors automatically.
3375

3476
* Implemented `PHP Coding Standards Fixer` to organize PHP code automatically according to PSR standards.
3577

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

3880
* Implemented `PSR-4 autoloader standard` from all library files.
3981

@@ -55,12 +97,12 @@
5597

5698
* Changed `Josantonius\Url\Test\UrlTest` class to `Josantonius\Url\UrlTest` class.
5799

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

60102
* Unit tests supported by `PHPUnit` were added.
61103

62104
* The repository was synchronized with `Travis CI` to implement continuous integration.
63-
105+
64106
* Added `Url/src/bootstrap.php` file
65107

66108
* Added `Url/tests/bootstrap.php` file.
@@ -119,35 +161,33 @@
119161
* Added `Josantonius\Url\Test\UrlTest::testGetLastSegmentFromString()` method.
120162
* Added `Josantonius\Url\Test\UrlTest::testGetLastSegmentFromArray()` method.
121163

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

124166
* Deleted `Josantonius\Url\Exception\UrlException` class.
125167
* Deleted `Josantonius\Url\Exception\Exceptions` abstract class.
126168
* Deleted `Josantonius\Url\Exception\UrlException->__construct()` method.
127169

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

130172
* Added option to analyze concrete urls in some methods.
131173

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

134176
* Now you can choose to place backslash at the beginning, end or both ends in the addBackslash() method.
135177

136178
* The getUriMethods() method was improved to prevent it from replacing single characters that also matched.
137179

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

140182
* Some files were excluded from download and comments and readme files were updated.
141183

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

144186
* Added `Josantonius\Url\Url::getBaseUrl()` method.
145187

146-
## 1.1.0 - 2017-02-28
147-
148188
* Added `Josantonius\Url\Tests\UrlTest::testGetBaseUrl()` method.
149189

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

152192
* Added `Josantonius\Url\Url` class.
153193
* Added `Josantonius\Url\Url::getCurrentPage()` method.
@@ -185,4 +225,4 @@
185225
* Added `Josantonius\Url\Tests\UrlTest::testGenerateSafeSlug()` method.
186226
* Added `Josantonius\Url\Tests\UrlTest::testSegment()` method.
187227
* 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

Comments
 (0)