Releases: josantonius/php-language-code
v2.0.2
What's Changed
-
pre-release/v2.0.2 by @josantonius in #2
-
Release/v2.0.2 by @josantonius in #3
-
The notation type in the test function names has been changed from camel to snake case for readability.
-
Functions were added to document the methods and avoid confusion.
-
Disabled the ´CamelCaseMethodName´ rule in ´phpmd.xml´ to avoid warnings about function names in tests.
-
The alignment of the asterisks in the comments has been fixed.
-
Tests for Windows have been added.
-
Tests for PHP 8.2 have been added.
Full Changelog: v2.0.1...v2.0.2
v2.0.1
v2.0.0
What's Changed
- pre-release/v2.0.0 in #1
Version 1.x is considered as deprecated and unsupported. In this version (2.x) the library was completely restructured. It is recommended to review the documentation for this version and make the necessary changes before starting to use it, as it not be compatible with version 1.x.
-
The library was completely refactored.
-
Support for PHP version 8.1.
-
Support for earlier versions of PHP 8.1 is discontinued.
-
Replaced all static methods in
Josantonius\LanguageCode\LanguageCode
class. -
Improved documentation;
README.md
,CODE_OF_CONDUCT.md
,CONTRIBUTING.md
andCHANGELOG.md
. -
Removed
Codacy
. -
Removed
PHP Coding Standards Fixer
. -
The
master
branch was renamed tomain
. -
The
develop
branch was added to use a workflow based onGit Flow
. -
Travis
is discontinued for continuous integration.GitHub Actions
will be used from now on. -
Added
.github/CODE_OF_CONDUCT.md
file. -
Added
.github/CONTRIBUTING.md
file. -
Added
.github/FUNDING.yml
file. -
Added
.github/workflows/ci.yml
file. -
Added
.github/lang/es-ES/CODE_OF_CONDUCT.md
file. -
Added
.github/lang/es-ES/CONTRIBUTING.md
file. -
Added
.github/lang/es-ES/LICENSE
file. -
Added
.github/lang/es-ES/README
file. -
Deleted
.travis.yml
file. -
Deleted
.editorconfig
file. -
Deleted
CONDUCT.MD
file. -
Deleted
README-ES.MD
file. -
Deleted
.php_cs.dist
file.
Full Changelog: 1.1.6...v2.0.0
1.1.6
1.1.5
What's Changed
-
Implemented
PHP Mess Detector
to detect inconsistencies in code styles. -
Implemented
PHP Code Beautifier and Fixer
to fixing errors automatically. -
Implemented
PHP Coding Standards Fixer
to organize PHP code automatically according to PSR standards.
Full Changelog: 1.1.4...1.1.5
1.1.4
What's Changed
-
Implemented
PSR-4 autoloader standard
from all library files. -
Implemented
PSR-2 coding standard
from all library PHP files. -
Implemented
PHPCS
to ensure that PHP code complies withPSR2
code standards. -
Implemented
Codacy
to automates code reviews and monitors code quality over time. -
Implemented
Codecov
to coverage reports. -
Added
LanguageCode/phpcs.ruleset.xml
file. -
Deleted
LanguageCode/src/bootstrap.php
file. -
Deleted
LanguageCode/tests/bootstrap.php
file. -
Deleted
LanguageCode/vendor
folder. -
Deleted
LanguageCode/resources/languageCodes.jsond
file. -
Changed
Josantonius\LanguageCode\Test\LanguageCodeTest
class toJosantonius\LanguageCode\LanguageCodeTest
class. -
Added
Josantonius\LanguageCode\LanguageCodeCollection
class. -
Added
Josantonius\LanguageCode\LanguageCodeCollection::all()
method. -
Added
Josantonius\LanguageCode\LanguageCodeCollection::get()
method. -
Deleted
Josantonius\LanguageCode\LanguageCode::getAll()
method. -
Added
Josantonius\LanguageCode\LanguageCode::get()
method.
Full Changelog: 1.1.3...1.1.4
1.1.3
What's Changed
-
Unit tests supported by
PHPUnit
were added. -
The repository was synchronized with Travis CI to implement continuous integration.
-
Added
LanguageCode/src/bootstrap.php
file -
Added
LanguageCode/tests/bootstrap.php
file. -
Added
LanguageCode/phpunit.xml.dist
file. -
Added
LanguageCode/_config.yml
file. -
Added
LanguageCode/.travis.yml
file. -
Deleted
Josantonius\LanguageCode\Tests\LanguageCodeTest
class. -
Deleted
Josantonius\LanguageCode\Tests\LanguageCodeTest::testGetLanguageFromCode()
method. -
Deleted
Josantonius\LanguageCode\Tests\LanguageCodeTest::testGetLanguageFromCodeUndefined()
method. -
Deleted
Josantonius\LanguageCode\Tests\LanguageCodeTest::testGetCodeFromLanguage()
method. -
Deleted
Josantonius\LanguageCode\Tests\LanguageCodeTest::testGetCodeFromLanguageUndefined()
method. -
Deleted
Josantonius\LanguageCode\Tests\LanguageCodeTest::testGetAll()
method. -
Added
Josantonius\LanguageCode\Test\LanguageCodeTest
class. -
Added
Josantonius\LanguageCode\Test\LanguageCodeTest::testGetLanguageFromCode()
method. -
Added
Josantonius\LanguageCode\Test\LanguageCodeTest::testGetLanguageFromCodeUndefined()
method. -
Added
Josantonius\LanguageCode\Test\LanguageCodeTest::testGetCodeFromLanguage()
method. -
Added
Josantonius\LanguageCode\Test\LanguageCodeTest::testGetCodeFromLanguageUndefined()
method. -
Added
Josantonius\LanguageCode\Test\LanguageCodeTest::testGetAll()
method.
Full Changelog: 1.1.2...1.1.3
1.1.2
What's Changed
- Deleted
Josantonius\LanguageCode\Exception\LanguageCodeException
class. - Deleted
Josantonius\LanguageCode\Exception\Exceptions
abstract class. - Deleted
Josantonius\LanguageCode\Exception\LanguageCodeException->__construct()
method.
Full Changelog: 1.1.1...1.1.2
1.1.1
What's Changed
- Some files were excluded from download and comments and readme files were updated.
Full Changelog: 1.1.0...1.1.1