- Added: usage instruction to
mtxpc --help
output. - Added: line-feed (
LF
) at the end of the standard output when runningmtxpc
with--outdir
option.
- Fixed: PHP >= 8.0 compatibility.
- Due to compatibility changes,
\Rah\Mtxpc\Plugin
class no longer implements\JsonSerializable
interface, and can no longer be directly encoded with\json_encode()
. Encoding thePlugin
as 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.json
PSR-4 and PSR-0 autoloader definition support. - Added:
--version
option tomtxpc
command line application. - Added: released as pre-built phar.
- Added:
\Rah\Mtxpc\Api\PluginInterface
that is then returned by the\Rah\Mtxpc\Api\PackageInterface::getUnpacked()
. - Added:
\Rah\Mtxpc\Api\PackagerInterface
and implemented separate packagers for compressed and uncompressed plugin packages.
- Added:
\Rah\Mtxpc\Api\PackageInterface::getUnpacked()
returns unpacked plugin package contents. - Changed: Packed
allow_html_help
is set with a booleantrue
orfalse
rather than integer1
or0
.
- Added: Made the compiler available as a GitHub action.
- Added:
--outdir
option tomtxpc
command line application. - Internal: Unit tests are now ran on Travis CI.
- Added:
\Rah\Mtxpc\Api\PackageInterface
that 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.