Skip to content

Commit

Permalink
docs: release notes for the v2.0.0 version
Browse files Browse the repository at this point in the history
Closes #3
  • Loading branch information
josantonius committed Jul 30, 2022
1 parent 46ce486 commit 955099e
Showing 1 changed file with 65 additions and 28 deletions.
93 changes: 65 additions & 28 deletions CHANGELOG.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,20 +1,64 @@
# CHANGELOG

## 1.1.0 - 2018-01-06
## [2.0.0](https://github.com/josantonius/php-hook/releases/tag/2.0.0) (2022-07-30)

> 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\Hook\Hook` class.

* Improved documentation; `README.md`, `CODE_OF_CONDUCT.md`, `CONTRIBUTING.md` and `CHANGELOG.md`.

* Removed `Codacy`.

* Removed `PHP Coding Standards Fixer`.

* The `master` branch was renamed to `main`.

* The `develop` branch was added to use a workflow based on `Git 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.

## [1.1.0](https://github.com/josantonius/php-hook/releases/tag/1.1.0) (2018-01-06)

* The tests were fixed.

* Changes in documentation.

## 1.0.9 - 2017-11-08
## [1.0.9](https://github.com/josantonius/php-hook/releases/tag/1.0.9) (2017-11-08)

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

## 1.0.8 - 2017-10-30
## [1.0.8](https://github.com/josantonius/php-hook/releases/tag/1.0.8) (2017-10-30)

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

Expand All @@ -36,20 +80,19 @@

* Changed `Josantonius\Hook\Test\HookTest` class to `Josantonius\Hook\HookTest` class.


## 1.0.7 - 2017-10-18
## [1.0.7](https://github.com/josantonius/php-hook/releases/tag/1.0.7) (2017-10-18)

* Added `Josantonius\Hook\Hook::isAction()` method.

* Added `Josantonius\Hook\Test\HookTest::testIsAction()` method.
* Added `Josantonius\Hook\Test\HookTest::testIsNotAction()` method.

## 1.0.6 - 2017-09-13
## [1.0.6](https://github.com/josantonius/php-hook/releases/tag/1.0.6) (2017-09-13)

* Unit tests supported by `PHPUnit` were added.

* The repository was synchronized with Travis CI to implement continuous integration.

* Added `Hook/src/bootstrap.php` file

* Added `Hook/tests/bootstrap.php` file.
Expand Down Expand Up @@ -90,11 +133,11 @@
* Added `Josantonius\Hook\Test\Example::article()` method.
* Added `Josantonius\Hook\Test\Example::footer()` method.

## 1.0.5 - 2017-06-24
## [1.0.5](https://github.com/josantonius/php-hook/releases/tag/1.0.5) (2017-06-24)

* The class was improved to work with different instances and some static methods were changed to dynamic ones.

## 1.0.4 - 2017-06-02
## [1.0.4](https://github.com/josantonius/php-hook/releases/tag/1.0.4) (2017-06-02)

Return was added in the doAction method. Useful for receiving actions that are only executed once.

Expand All @@ -106,7 +149,7 @@ Return was added in the doAction method. Useful for receiving actions that are o
* Deleted `Josantonius\Hook\Hook::run()` method.
* Deleted `Josantonius\Hook\Hook::collectHook()` method.

## 1.0.3 - 2017-05-31
## [1.0.3](https://github.com/josantonius/php-hook/releases/tag/1.0.3) (2017-05-31)

These deprecated methods will be removed as of version 1.0.4:

Expand Down Expand Up @@ -140,37 +183,31 @@ These deprecated methods will be removed as of version 1.0.4:
* Added `$actions` property.
* Added `$current` property.

## 1.0.2 - 2017-05-19
## [1.0.2](https://github.com/josantonius/php-hook/releases/tag/1.0.2) (2017-05-19)

* Added option to remove custom function to hook.

* Added `Josantonius\Hook\Hook::resetHook()` method.

## 1.0.1 - 2017-03-18
## [1.0.1](https://github.com/josantonius/php-hook/releases/tag/1.0.1) (2017-03-18)

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

## 1.0.0 - 2017-03-15
## [1.0.0](https://github.com/josantonius/php-hook/releases/tag/1.0.0) (2017-03-15)

* Added `Josantonius\Hook\Tests\HookTest` class.
* Added `Josantonius\Hook\Tests\HookTest::testAddHooks()` method.
* Added `Josantonius\Hook\Tests\HookTest::testSetSingletonName()` method.
* Added `Josantonius\Hook\Tests\HookTest::testExecuteHooks()` method.
* Added `Josantonius\Hook\Tests\HookTest::testSetOneHook()` method.
* Added `Josantonius\Hook\Tests\HookTest::testSetMultipleHooks()` method.
* Added `Josantonius\Hook\Exception\HookException` class.
* Added `Josantonius\Hook\Exception\Exceptions` abstract class.
* Added `Josantonius\Hook\Exception\HookException->__construct()` method.
* Added `Josantonius\Hook\Hook` class.
* Added `Josantonius\Hook\Hook::getInstance()` method.
* Added `Josantonius\Hook\Hook::setSingletonName()` method.
* Added `Josantonius\Hook\Hook::setHook()` method.
* Added `Josantonius\Hook\Hook::addHook()` method.
* Added `Josantonius\Hook\Hook::run()` method.
* Added `Josantonius\Hook\Hook->collectHook()` method.

## 1.0.0 - 2017-03-15

* Added `Josantonius\Hook\Exception\HookException` class.
* Added `Josantonius\Hook\Exception\Exceptions` abstract class.
* Added `Josantonius\Hook\Exception\HookException->__construct()` method.

## 1.0.0 - 2017-03-15

* Added `Josantonius\Hook\Tests\HookTest` class.
* Added `Josantonius\Hook\Tests\HookTest::testAddHooks()` method.
* Added `Josantonius\Hook\Tests\HookTest::testSetSingletonName()` method.
* Added `Josantonius\Hook\Tests\HookTest::testExecuteHooks()` method.
* Added `Josantonius\Hook\Tests\HookTest::testSetOneHook()` method.
* Added `Josantonius\Hook\Tests\HookTest::testSetMultipleHooks()` method.

0 comments on commit 955099e

Please sign in to comment.