- Added: usage instruction to
mtxpc --helpoutput. - Added: line-feed (
LF) at the end of the standard output when runningmtxpcwith--outdiroption.
- Fixed: PHP >= 8.0 compatibility.
- Due to compatibility changes,
\Rah\Mtxpc\Pluginclass no longer implements\JsonSerializableinterface, and can no longer be directly encoded with\json_encode(). Encoding thePluginas JSON is still possible by passing the object to\Rah\Mtxpc\Api\Converter\PluginDataConverterInterface::convert()and passing its array-map result to\json_encode(). This wasn't part of the interface, but was only in the implementation, and doesn't affect normal usage.
- Added:
composer.jsonPSR-4 and PSR-0 autoloader definition support. - Added:
--versionoption tomtxpccommand line application. - Added: released as pre-built phar.
- Added:
\Rah\Mtxpc\Api\PluginInterfacethat is then returned by the\Rah\Mtxpc\Api\PackageInterface::getUnpacked(). - Added:
\Rah\Mtxpc\Api\PackagerInterfaceand implemented separate packagers for compressed and uncompressed plugin packages.
- Added:
\Rah\Mtxpc\Api\PackageInterface::getUnpacked()returns unpacked plugin package contents. - Changed: Packed
allow_html_helpis set with a booleantrueorfalserather than integer1or0.
- Added: Made the compiler available as a GitHub action.
- Added:
--outdiroption tomtxpccommand line application. - Internal: Unit tests are now ran on Travis CI.
- Added:
\Rah\Mtxpc\Api\PackageInterfacethat is then returned by the\Rah\Mtxpc\Api\CompilerInterface::compile().
- Complete refactoring and modernization.
- Released as a Composer library.
- XML based plugin manifest file support.
- Initial release.