Releases: wearenolte/loader
CodeSniffer version update
Add PHP 8.0 support
- Update composer and PHP libraries
- Require PHP >=7.4 or >=8.0
Allow variable set of arguments
With the new change introduced on #13 it allows the option to send any number of sets of arguments to the partial every set is merged into a single set that is finally passed to the partial this can be helpful when you have automatic data from a field that you want to overwrite on the next set.
This also helps to close #12
Allow usage on child themes
-
Long story short make the initial path to match the child theme if that's the case otherwise it will keep working exactly the same if is not a child theme. (See #8).
-
Also fixes a small issue on the documentation missing a comma on the example.
-
Add mention of
autoload.php
before the usage of the loader.
Fix Exception error
There was an error when the file was not found and the Exception
was fired, it was looking for the Exception class inside of the Lean namespace
. Now it specify the usage of global Exceptiption
class.
Small improvements
- Documentation update
- Remove not required lines of code
- Fix #1
- Show more meaningful error messages if
WP_DEBUG
is enabled.
Fix dependency hell
Remove not required dependencies that was causing issues at the moment to load the dependency from another project, plus the conflict dependency was not even required for this project.
Project information updates
Updates on some information of the project:
- Homepage on
composer.json
Update namespaces
- Update namespaces form
Leean
toLean
- Update package name from
leean
tolean
.
Update namespace on composer.
Creates and updates the namespace of for the composer.json file.