1
ModuleTools 1.7.2
ModuleTools is the XOOPS Core-bundled successor to the mTools helper-host module. It provides reusable services under Xoops\ModuleTools\ without requiring an installed or active module.
Download: https://github.com/XOOPS/moduletools/releases
A maintenance release. It fixes block titles in module block admin pages and replaces the copy of 1.5.0 that the XOOPS 2.8 tree carried, so 2.8 can require the published package.
Fixed
- Block titles keep their language key. Saving a module's block order form, edit form or clone without touching the title replaced a title stored as a language key (
_MI_*) with the text it displayed, so the title stopped following the site language. On XOOPS 2.8 titles now go through XoopsBlock::setTitle(); on XOOPS 2.7.5 a title that comes back exactly as shown is left as stored. Common\Blocksadmin loads class/xoopsblock.php itself. A module admin/blocksadmin.php that did not load it failed with Class "XoopsBlock" not found.
Changed
- Requires
xoops/helpers ^1.1 and xoops/xmf ^1.3.3 (were ^1.0 and ^1.3), so Composer can no longer install releases without their security fixes. ConsumerBridgeGenerator marks each generated file that depends on Xmf\Bridge as requiring xoops/xmf ^2.0. ModuleTools itself still runs on XMF 1.3.
Compatibility
- PHP 8.2+, XOOPS 2.7.5+ and 2.8.
- No public signature changes; the API version stays 1.2.0.
Bootstrap::VERSION now reports the release correctly (the v1.7.1 tag reported 1.7.0).
Upgrade
composer require xoops/moduletools:^1.7.2
What's Changed
- chore: release 1.7.1 (1.7.0 withdrawn) by @mambax7 in #15
- docs(changelog): note the v1.7.1 VERSION constant by @mambax7 in #16
- chore(deps): require xoops/helpers ^1.1 and xoops/xmf ^1.3.3 by @mambax7 in #17
- docs(generator): mark generated Xmf\Bridge files as requiring xoops/xmf ^2.0 by @mambax7 in #18
- Release 1.7.2: keep block-title language keys by @mambax7 in #19
Full Changelog: v1.7.0...v1.7.2