Repository navigation
Releases
v1.3.44: official status Supported
explayouts_ui_api 1.3.43
explayouts_ui_api 1.3.43 merges pull request #26 by ekke (admin4 palette tokens and action icons) and completes it across the extension.
Changes
- Updated: The editor, mobile and Tiptap stylesheets take their colours from the Tailwind CSS 3.4 palette through their
own tokens, with a dark value for each;EditorStylesPaletteTestchecks it (pull request #26 by ekke). - Updated: The preview, mappings and rules pages and the new layout dialog carry no
<style>block any more: the rules
are in the newexplayouts-pages.cssand inexplayouts-editor.css, with tokens; the chosen layout type shows a
focus ring.
Verified
php -l and the extension's tests on PHP 8.5: 194 tests pass, EditorStylesPaletteTest covering the new explayouts-pages.css.
ezinfo.php and extension.xml carry the version 1.3.43.
Commits
00f9237Updated: Version 1.3.43 (7x)bfab989Updated: the editor's stand-alone pages and the new layout dialog carry no <style> block (7x)c3a1feeMerge pull request #26 from ekked/admin4-palette-icons: admin4: palette tokens in the layout editor (7x)fc2f907Updated: Tailwind palette colours in the layout editor stylesheets (ekke)
v1.3.42 — Composer type exponential-extension
The Composer type exponential-extension
The package type is now exponential-extension, and the package requires
se7enxweb/exponential-legacy-installer: ^2.2.6, the installer that places both exponential-extension and the
original ezpublish-legacy-extension in extension/. A project with an older installer gets 2.2.6 with this
release, in the same composer require or composer update. The extension folder name is unchanged.
ezinfo.php and extension.xml carry the version 1.3.42.
Commits
b94e4eaUpdated: Version 1.3.42, with the Composer type exponential-extension
explayouts_ui_api 1.3.41
- Added: The layout group
mailof explayouts (1.4.54 or later) in the editor:group=maillists the mail layouts, mail
layout types and shared mail layouts; withoutgroupthe lists hold none of them, as before. The block types, the
layout types and the shared layouts follow the layout the editor opens (a mail layout gets the mail lists), and the
page asks for them with?layout=<id>of its route. - Added: A mail layout offers only the blocks with a mail rendering and their view types offered for mail; a site
layout offers no mail-only block and no admin block. Adding a block a layout does not offer is refused (422), and a
view type not offered for mail is refused as unknown. - Added: A rule that names a mail layout is listed with the site's rules with
"applicable": false, and the rules
page marks it ("Mail layout: not applied to pages"). - Added: The editor's page takes
?group=mailfor its lists and the new layout form, next toreturn_to, the
path of this installation it returns to. README: "Mail layouts in the editor". - Updated: With an explayouts that knows no mail group nothing is offered for mail, and the site's block list leaves
out the blocks whose definition saysGroup=mail, as it left outGroup=admin. - Added:
tests/MailGroupTest.phpandtests/js/mail-group.test.mjs.
explayouts_ui_api 1.3.40
The release of pull requests 23 and 24. The tag v1.3.39 was set by mistake on a commit outside main that holds
the same code (both pull requests merged) but neither this changelog, nor the CI workflow, nor the version 1.3.39 in
ezinfo.php and extension.xml (they still say 1.3.38). Tags are permanent, so 1.3.39 stays as it is; use 1.3.40.
- Updated: The layout editor reads the block definitions of the site the layout belongs to (explayouts 1.4.52 resolveForLayout()), so an administration serving several sites offers each layout its own site's blocks (pull request #23).
- Updated: The Design tab offers a view type only its own item view types where the settings list them, and leaves hidden parameters out; the layout editor draws placeholder rows for a query on the page the layout is shown on; the template block's parameter is called Template block name (pull request #24).
- Verified: design/standard/javascript/netgen-layouts.js is rebuilt byte for byte from src/app-patches (node src/app-patches/apply.mjs) after both pull requests.
- Added: A CI workflow (php -l on PHP 7.4 and 8.0 to 8.5, extension.xml, version parity, PHPUnit on 8.4 and 8.5).
explayouts_ui_api 1.3.39
v1.3.39 explayouts_ui_api 1.3.39
explayouts_ui_api 1.3.38
- Fixed: The layout editor asks for a layout's draft once per opening. It read the layout again right after creating the draft, the browser could answer that read with its copy of the published layout, and the editor then asked for the draft again: three to six draft requests per opening on some layouts. It keeps the draft the request answered with now; a layout that has a draft opens as before, without a draft request.
- Fixed: Every answer of the API is sent with
Cache-Control: no-storeand withoutLast-Modified, so a browser never shows an earlier copy of an answer (a repeated read within the same second was answered with 304). - Added:
tests/js/draft-once.test.mjscounts the draft requests of an opening.
explayouts_ui_api 1.3.37
1.3.37
- Updated: The block editor offers every item view type of a definition (the handler's list and
ItemViewTypes[]) for every view type, with "Default of the view type" first, and keeps a stored one the list does not offer (from Marco-JAC's pull request #20). - Updated: The layout editor reads the block definitions of the site it previews in, in an administration.
- Updated: The block type list reads a definition's group (
Group=admin) from the same settings. - Fixed: The block API stores only an item view type of the block's definition, none or the one the block has; anything else answers 400 "Unknown item view type for this block.". The block JSON carries
item_view_type. - Fixed: The layout editor finds its icons, favicons and preview images when the installation is served from a sub path; the favicon manifest and browserconfig.xml name their icons beside them (from Marco-JAC's pull request #22).
- Fixed: The tests run under PHPUnit 9, the last PHPUnit for PHP 8.0, as under PHPUnit 10 and later, and HTML escaping gives the same output on PHP 8.0 as on 8.1+ (from Marco-JAC's pull request #21).
- Fixed: The settings files close their PHP comment (from Marco-JAC's pull request #19; the change itself shipped in 1.3.36).
- Updated: The documentation describes item view types in the editor and its API, the settings of the previewed site, sub paths and the tests; README and INSTALL name PHP 8.0 as the lowest PHP.
explayouts_ui_api 1.3.36
1.3.36
- Updated: Every settings file closes its PHP comment, so php -l passes on PHP 8.0 and later and a direct request no longer answers with a server error.
- Updated: The product is called Exponential Layouts in the documentation.