|
1 | 1 | # CHANGELOG
|
2 | 2 |
|
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) |
4 | 48 |
|
5 | 49 | * The tests were fixed.
|
6 | 50 |
|
7 | 51 | * Changes in documentation.
|
8 | 52 |
|
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) |
10 | 54 |
|
11 | 55 | * Implemented `PHP Mess Detector` to detect inconsistencies in code styles.
|
12 | 56 |
|
13 | 57 | * Implemented `PHP Code Beautifier and Fixer` to fixing errors automatically.
|
14 | 58 |
|
15 | 59 | * Implemented `PHP Coding Standards Fixer` to organize PHP code automatically according to PSR standards.
|
16 | 60 |
|
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) |
18 | 62 |
|
19 | 63 | * Implemented `PSR-4 autoloader standard` from all library files.
|
20 | 64 |
|
|
46 | 90 |
|
47 | 91 | * Added `Josantonius\LanguageCode\LanguageCode::get()` method.
|
48 | 92 |
|
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) |
50 | 94 |
|
51 | 95 | * Unit tests supported by `PHPUnit` were added.
|
52 | 96 |
|
53 | 97 | * The repository was synchronized with Travis CI to implement continuous integration.
|
54 |
| - |
| 98 | + |
55 | 99 | * Added `LanguageCode/src/bootstrap.php` file
|
56 | 100 |
|
57 | 101 | * Added `LanguageCode/tests/bootstrap.php` file.
|
|
74 | 118 | * Added `Josantonius\LanguageCode\Test\LanguageCodeTest::testGetCodeFromLanguageUndefined()` method.
|
75 | 119 | * Added `Josantonius\LanguageCode\Test\LanguageCodeTest::testGetAll()` method.
|
76 | 120 |
|
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) |
78 | 122 |
|
79 | 123 | * Deleted `Josantonius\LanguageCode\Exception\LanguageCodeException` class.
|
80 | 124 | * Deleted `Josantonius\LanguageCode\Exception\Exceptions` abstract class.
|
81 | 125 | * Deleted `Josantonius\LanguageCode\Exception\LanguageCodeException->__construct()` method.
|
82 | 126 |
|
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) |
84 | 128 |
|
85 | 129 | * Some files were excluded from download and comments and readme files were updated.
|
86 | 130 |
|
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) |
88 | 132 |
|
89 | 133 | * Compatible with PHP 5.6 or higher.
|
90 | 134 |
|
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) |
92 | 136 |
|
93 | 137 | * 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.
|
94 | 138 |
|
95 |
| -## 1.0.0 - 2017-01-12 |
96 |
| - |
97 | 139 | * Added `Josantonius\LanguageCode\LanguageCode` class.
|
98 | 140 | * Added `Josantonius\LanguageCode\LanguageCode::load()` method.
|
99 | 141 | * Added `Josantonius\LanguageCode\LanguageCode::getLanguageFromCode()` method.
|
100 | 142 | * Added `Josantonius\LanguageCode\LanguageCode::getCodeFromLanguage()` method.
|
101 | 143 | * Added `Josantonius\LanguageCode\LanguageCode::getAll()` method.
|
102 |
| - |
103 |
| -## 1.0.0 - 2017-01-12 |
104 |
| - |
105 | 144 | * Added `Josantonius\LanguageCode\Exception\LanguageCodeException` class.
|
106 | 145 | * Added `Josantonius\LanguageCode\Exception\Exceptions` abstract class.
|
107 | 146 | * Added `Josantonius\LanguageCode\Exception\LanguageCodeException->__construct()` method.
|
108 |
| - |
109 |
| -## 1.0.0 - 2017-01-12 |
110 |
| - |
111 | 147 | * Added `Josantonius\LanguageCode\Tests\LanguageCodeTest` class.
|
112 | 148 | * Added `Josantonius\LanguageCode\Tests\LanguageCodeTest::testGetLanguageFromCode()` method.
|
113 | 149 | * Added `Josantonius\LanguageCode\Tests\LanguageCodeTest::testGetLanguageFromCodeUndefined()` method.
|
|
0 commit comments