Repository navigation
Release 3.0.0 - #1
Merged
Merged
Conversation
framework ^5 || ^6 on PHP ^8.1, vendor-plugin ^2 || ^3 to match. Correct the composer description and keywords (they described a cookie notice), add PSR-4 autoload, recipe-testing as a dev requirement, and the funding property.
Set the composer.json license field and add the licence text.
InfoField returned object content (a DBHTMLText from DBField::create_field() or renderWith()) bare, as LiteralField does, so the info box went missing; it is now rendered and then boxed like string content. InlineInfoField wrote the target field name into the data-target attribute unescaped. It is now attribute-escaped; the content stays raw HTML by contract.
Covers both fields' markup (the contract with the CMS script and stylesheet), HTML content, extra classes, readonly transformation and rendering in a form; the LeftAndMain requirements, that each resolves to a file inside an exposed directory, including the icon the stylesheet references; and a real CMS page edit form rendered as an admin. Regression tests for both fixes in the previous commit.
One job per supported major at the PHP floor and ceiling used with it, with a consumer-shape database test, plus a lint job. Keep tests and dev files out of dist installs.
The README described a different field (a help question mark); it now says what InfoField and InlineInfoField do, how to use them, the assets they load and where the inline field works. Add requirements, installation, the compatibility table, test instructions, the sponsorship line, a changelog and upgrade notes.
This reverts commit 2041ee6.
Drop the composer.json license key that came with the SS5/6 retarget: the first commits are by another author and InlineInfoField derives from nathancox/silverstripe-helpfield, which declares no licence, so choosing one is left to the owner. Restore the README credit for helpfield that 2.1 dropped.
_config/config.yml configures LeftAndMain unconditionally and both fields exist for CMS forms, so the admin is a real dependency, not an optional one.
A silverstripe-vendormodule is installed under vendor/ by vendor-plugin; installer-name only applied to the composer/installers module-dir installs of Silverstripe 3.
The stub page was listed in extra_dataobjects statically, so the temp database build in setUpBeforeClass() errored on the missing class before setUp() could skip. List it only when SiteTree exists.
CMSEditLink() is deprecated in Silverstripe 6; Silverstripe 5 pages only have CMSEditLink().
DBHTMLText renders the same through forTemplate() as through a string cast, so the object branch could be narrowed or dropped without a test failing. A stub whose two outputs differ pins it, and the customise() of FieldHolder() properties with it.
Copy the module's phpunit.xml.dist and append only the consumer suite instead of keeping a second copy of the same settings. Check the module suite reports the expected number of tests, and fail an SS6 suite that ran nothing.
….0.0 The "OK (N tests" guard failed passing runs whenever PHPUnit printed "OK, but there were issues!" or "OK, but some tests were skipped!" (exit 0), and never covered the consumer suite. Every leg now runs with --fail-on-empty-test-suite, which PHPUnit 9.6 accepts as well as 11. CHANGELOG: 3.0.0 dated 2026-09-25.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See CHANGELOG.md.