Version 3.0 will include a few crucial deprecations. This commit adds
some soft deprecations to warn users about these changes.
Some of the biggest changes are:
* The method `validate()` will be renamed to `isValid()`.
* The method `validate()` will be repurposed to return an object with
failures.
* It won't be possible to handle rules directly; users will need to use
the `Validator` class to validate with any rule.
There will some more changes, but those are some of the most important
ones, and are the ones that are easy to deprecate right now.
Since we already have that library as a dependency of our repository, it
makes sense to use it as a source of language codes instead of keeping a
list of currencies ourselves.
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
The current documentation is hosted via GitHub pages rendered by
"Couscous". Every time we need a new version of the documentation
published we need to manually execute the "couscous".
This commit reorganize the documentation to be published to
"Read the Docs" because it will also allow us to have documentations per
version of the library most importantly provider a search field for the
documentation.
The documentation will be then published on:
https://respect-validation.readthedocs.io/
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>