Skip to content

Commit caa335d

Browse files
committed
docs: release notes for the v2.0.0 version
1 parent 32517d8 commit caa335d

File tree

1 file changed

+53
-17
lines changed

1 file changed

+53
-17
lines changed

CHANGELOG.md

+53-17
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,64 @@
11
# CHANGELOG
22

3-
## 1.1.6 - 2018-01-06
3+
## [v2.0.0](https://github.com/josantonius/php-language-code/releases/tag/v2.0.0) (2022-08-02)
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+
* Replaced all static methods in `Josantonius\LanguageCode\LanguageCode` class.
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 `.github/CODE_OF_CONDUCT.md` file.
33+
* Added `.github/CONTRIBUTING.md` file.
34+
* Added `.github/FUNDING.yml` file.
35+
* Added `.github/workflows/ci.yml` file.
36+
* Added `.github/lang/es-ES/CODE_OF_CONDUCT.md` file.
37+
* Added `.github/lang/es-ES/CONTRIBUTING.md` file.
38+
* Added `.github/lang/es-ES/LICENSE` file.
39+
* Added `.github/lang/es-ES/README` file.
40+
41+
* Deleted `.travis.yml` file.
42+
* Deleted `.editorconfig` file.
43+
* Deleted `CONDUCT.MD` file.
44+
* Deleted `README-ES.MD` file.
45+
* Deleted `.php_cs.dist` file.
46+
47+
## [1.1.6](https://github.com/josantonius/php-language-code/releases/tag/1.1.5) (2018-01-06)
448

549
* The tests were fixed.
650

751
* Changes in documentation.
852

9-
## 1.1.5 - 2017-11-08
53+
## [1.1.5](https://github.com/josantonius/php-language-code/releases/tag/1.1.5) (2017-11-08)
1054

1155
* Implemented `PHP Mess Detector` to detect inconsistencies in code styles.
1256

1357
* Implemented `PHP Code Beautifier and Fixer` to fixing errors automatically.
1458

1559
* Implemented `PHP Coding Standards Fixer` to organize PHP code automatically according to PSR standards.
1660

17-
## 1.1.4 - 2017-11-01
61+
## [1.1.4](https://github.com/josantonius/php-language-code/releases/tag/1.0.0) (2017-11-01)
1862

1963
* Implemented `PSR-4 autoloader standard` from all library files.
2064

@@ -46,12 +90,12 @@
4690

4791
* Added `Josantonius\LanguageCode\LanguageCode::get()` method.
4892

49-
## 1.1.3 - 2017-09-14
93+
## [1.1.3](https://github.com/josantonius/php-language-code/releases/tag/1.1.3) (2017-09-14)
5094

5195
* Unit tests supported by `PHPUnit` were added.
5296

5397
* The repository was synchronized with Travis CI to implement continuous integration.
54-
98+
5599
* Added `LanguageCode/src/bootstrap.php` file
56100

57101
* Added `LanguageCode/tests/bootstrap.php` file.
@@ -74,40 +118,32 @@
74118
* Added `Josantonius\LanguageCode\Test\LanguageCodeTest::testGetCodeFromLanguageUndefined()` method.
75119
* Added `Josantonius\LanguageCode\Test\LanguageCodeTest::testGetAll()` method.
76120

77-
## 1.1.2 - 2017-07-16
121+
## [1.1.2](https://github.com/josantonius/php-language-code/releases/tag/1.1.2) (2017-07-16)
78122

79123
* Deleted `Josantonius\LanguageCode\Exception\LanguageCodeException` class.
80124
* Deleted `Josantonius\LanguageCode\Exception\Exceptions` abstract class.
81125
* Deleted `Josantonius\LanguageCode\Exception\LanguageCodeException->__construct()` method.
82126

83-
## 1.1.1 - 2017-03-18
127+
## [1.1.1](https://github.com/josantonius/php-language-code/releases/tag/1.1.1) (2017-03-18)
84128

85129
* Some files were excluded from download and comments and readme files were updated.
86130

87-
## 1.1.0 - 2017-01-30
131+
## [1.1.0](https://github.com/josantonius/php-language-code/releases/tag/1.1.0) (2017-01-30)
88132

89133
* Compatible with PHP 5.6 or higher.
90134

91-
## 1.0.0 - 2017-01-30
135+
## [1.0.0](https://github.com/josantonius/php-language-code/releases/tag/1.0.0) (2017-01-12)
92136

93137
* 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.
94138

95-
## 1.0.0 - 2017-01-12
96-
97139
* Added `Josantonius\LanguageCode\LanguageCode` class.
98140
* Added `Josantonius\LanguageCode\LanguageCode::load()` method.
99141
* Added `Josantonius\LanguageCode\LanguageCode::getLanguageFromCode()` method.
100142
* Added `Josantonius\LanguageCode\LanguageCode::getCodeFromLanguage()` method.
101143
* Added `Josantonius\LanguageCode\LanguageCode::getAll()` method.
102-
103-
## 1.0.0 - 2017-01-12
104-
105144
* Added `Josantonius\LanguageCode\Exception\LanguageCodeException` class.
106145
* Added `Josantonius\LanguageCode\Exception\Exceptions` abstract class.
107146
* Added `Josantonius\LanguageCode\Exception\LanguageCodeException->__construct()` method.
108-
109-
## 1.0.0 - 2017-01-12
110-
111147
* Added `Josantonius\LanguageCode\Tests\LanguageCodeTest` class.
112148
* Added `Josantonius\LanguageCode\Tests\LanguageCodeTest::testGetLanguageFromCode()` method.
113149
* Added `Josantonius\LanguageCode\Tests\LanguageCodeTest::testGetLanguageFromCodeUndefined()` method.

0 commit comments

Comments
 (0)