Skip to content

Releases

v0.37.0 — Statamic 6.43.1 and Flat Term Re-import Fix

Choose a tag to compare

@joshdaugherty joshdaugherty released this 26 Nov 14:26
da65871

Statamic 6.43.1, flat re-imports that find their terms again, and the WXR cleaner's failures surfaced on the migration API path.

Breaking change: statamic/cms is now pinned exactly to 6.43.1 (was 6.41.0); uams-statamic must repin statamic/cms to 6.43.1 in the same change that adopts this release, since Composer cannot satisfy two different exact pins.

Breaking changes

  • Pin statamic/cms to 6.43.1 #617

What's fixed

  • Read terms from disk before the term store warm, so a flat re-import finds its terms under statamic/cms 6.43 #619
  • Surface the WXR cleaner's failure and its emptied bodies on the migration API path #615

Maintenance and tooling

  • Sync shared skills and rules from uams-claude-skills #606, #622, #633
  • Run ensure-patches-applied.php from composer install #623
  • Move the WXR cleaner to v2.2.1 and remove its PHPStan stub #620
  • Bump the composer-minor-and-patch group with 7 updates #609
  • Pin the importer behavior that the #609 dependency bump changes #613
  • Bump cspell from 10.4.1 to 10.5.2 in the npm-minor-and-patch group #608
  • Move the uams-ci-workflows pin to v0.17.0, keeping every runner leg #610

v0.36.0 — Migration API Duplicate Disposition and Value Table Defaults

Choose a tag to compare

@joshdaugherty joshdaugherty released this 22 Nov 22:18
0621cc9

Posts captured through the migration API get the news.uams.edu duplicate disposition, and a value table's default now applies wherever nothing matches, including a missing attribute's #not_set value.

What's new

  • Apply the news.uams.edu duplicate disposition to posts captured through the migration API #592

What's fixed

  • Write a fieldtype-specific #not_set for a missing attribute when the translation is kept whole #593
  • Apply the value_transformations default when a value table matches nothing #602
  • Transform a missing attribute's #not_set value like a value the data carries #603

Maintenance and tooling

  • Record the decision that a value table's default applies when nothing matches #600
  • Publish the wiki from docs/wiki/ #596
  • Sync shared skills and rules from uams-claude-skills #594, #597, #604

v0.35.0 — Redirect Domain References and Post Import Fixes

Choose a tag to compare

@joshdaugherty joshdaugherty released this 17 Nov 16:41
ecbd6ea

Redirect rules reference their domain records, imported posts get correct templates and unique slugs, and the importer's largest classes are split so each mutation run fits CI.

Breaking change: Entries\EntryCreator::hasShowPeople() is removed. Ask the creator that ran the import instead, through its own hasShowPeople(). uams-statamic does not call the removed method. Adopting this release means raising its pin from ^0.34 to ^0.35.

Breaking changes

  • Remove EntryCreator::hasShowPeople(), which has no caller left #527

What's new

  • Write each redirect rule's host as a reference to its domain record #545
  • Import a Formidable Forms address default state and country as their choice codes #514
  • Write the Gravity Forms State subfield settings under the preset handle once in the host app #516

What's fixed

  • Keep a post with no wp:post_name off a slug another post holds #590
  • Give imported audio posts the posts/audio template the host app resolves #589
  • Keep an off-site file link's own URL under LINK_DIFFERENT_SITE #529
  • Resolve a * in a statamic_attribute.specific_based_on_attribute_value target once #528
  • Write a missing attribute's #not_set translation once #523

Security

  • Guard the UAMS login check against non-public hosts #517

Maintenance and tooling

  • Split ImportWordPress into the command and six traits #554
  • Split BaseEntryCreator into the creator and five traits #566
  • Split KbEntryCreator into the creator and four traits #560
  • Split WxrMaterializer into the class and three traits #567
  • Split FieldtypeMappingTrait into traits so its mutation run fits the CI limit #574
  • Split the Gravity Forms FormConfigurationManager so a pull request's mutation run fits the CI limit #563
  • Split TextProcessor so a pull request's mutation run fits the CI limit #557
  • Split LinkProcessor into three traits so each file fits one mutation run #559
  • Move the Formidable Forms field mapping data out of src so its mutation run fits the CI limit #565
  • Move the Gravity Forms field mapping data out of src so its mutation run fits the CI limit #561
  • Read the slug pair by index in EntryCreator so its mutation run can finish #578
  • Run mutation testing on pull requests in CI #536
  • Move the uams-ci-workflows pin to v0.13.0 and raise the PR mutation timeout to 240 minutes #576
  • Move the pest-plugin-mutate patches to the shared uams-web/patches-pest-plugin-mutate package #524
  • Adopt uams-web/patches-pest-plugin-mutate v1.4.0 #572
  • Account for the last Utilities/Processors mutants #541
  • Kill the Forms mutation survivors outside FieldtypeMappingTrait #538
  • Kill the remaining table and shortcode mutation survivors #535
  • Assert what a non-default-site term holds instead of pinning an inert Term::in() call #539
  • Pin shared unwrapping processor behavior #469
  • Treat an unbuilt knowledge_bases index as empty in KbImportTest's pre-reindex probe #564
  • Make two standalone tests pass under Herd PHP on macOS #522
  • Keep the JIT off on the Windows Pest leg and record why #534
  • Pin the development PHP to 8.4.27 #530
  • Add .agents/setup.local and .agents/resume.local for the shared orb seeds #571
  • Say what a docs/DECISIONS.md heading date is #583
  • Date every docs/DECISIONS.md heading and order the entries oldest first #581
  • Bump the composer-minor-and-patch group with 3 updates #585
  • Bump cspell from 10.4.0 to 10.4.1 in the npm-minor-and-patch group #584
  • Sync shared skills and rules from uams-claude-skills #513, #520, #525, #531, #555, #569, #586, #591

v0.34.0 — Image and Link Reporting and Statamic 6.40.0

Choose a tag to compare

@joshdaugherty joshdaugherty released this 09 Nov 12:34
0efeb7b

Image and link reporting across imported content, Gravity Forms and Formidable address subfields, and Statamic 6.40.0.

Breaking change: statamic/cms is now pinned exactly to 6.40.0 (was 6.37.0); uams-statamic must repin statamic/cms to 6.40.0 in the same change that adopts this release, since Composer cannot satisfy two different exact pins.

Breaking changes

  • Pin statamic/cms to 6.40.0 in the composer minor-and-patch group bump #512

What's new

  • Map Formidable Forms address subfields, with the preset-specific handle #511
  • Report links to dropped name anchors and match more URL forms of a page #509
  • Match Gravity Forms State and ZIP address subfields by their decoded labels #508
  • Report a link to an id the import dropped #504
  • Import an image nested in content as an image set, and report the ones that cannot be #501
  • Import the photos in a table of photos #493
  • Warn of images in table cells #490

What's fixed

  • Keep the id of a paragraph split around an image #507
  • Read the array-form preset mapping when resolving address subfield handles #498
  • Leave out max_file_size when a Forms file-size limit cannot be read #488

Maintenance and tooling

  • Mirror the mutant-process launch patch for a forward-slashed vendor/bin/pest #506
  • Record that a quote or an image keeps no id on import, and pin it #503
  • Read the JSON decode error from the running PHP in the undecodable-payload tests #499
  • Load the lone-shortcode test fixture in a document so it parses the same on libxml 2.15 #495
  • Make the Forms value_calculation docblocks match the code #491
  • Sync shared skills and rules from uams-claude-skills #485, #486

v0.33.3 — Boundary Coverage and Mutation Reconciliation

Choose a tag to compare

@joshdaugherty joshdaugherty released this 06 Nov 16:05
a2eec9a

This release pins the importer's parser, block, shortcode, and form-processor behavior with boundary tests and mutation-score coverage, and tightens the CI and toolchain checks that report on it.

Maintenance and tooling

  • Sync shared skills and rules from uams-claude-skills #483
  • Cover parser boundaries and reconcile mutations #482
  • Cover table span and serialization boundaries #481
  • Cover gallery serialization and value boundaries #480
  • Cover quote serialization failure #478
  • Prepare cached toolchains and dependencies for Amp orbs #479
  • Cover nullable file comment values #477
  • Explain the caption serialization guard equivalent #476
  • Pin shortcode replacement boundaries and defaults #475
  • Report changed standalone tests against base #467
  • Pin accordion list case and nesting #474
  • Pin block traversal termination #473
  • Pin image text and traversal boundaries #472
  • Pin shortcode block content and diagnostics #471
  • Pin post audio content and metadata contracts #470
  • Cover shared form processor rendering contracts #468
  • Check mutation annotation breadth in CI #466

v0.33.2 — Stache Rebuild Guard and Forms Mapping Fixes

Choose a tag to compare

@joshdaugherty joshdaugherty released this 05 Nov 16:02
841b60a

Keeps an import running when a Stache rebuild is refused, lifts plain tables out of lists and details elements, and fixes a set of Forms mapping and link-resolution defects, alongside standalone coverage of the Forms mapping traits and a move to the shared CI workflow chain.

What's fixed

  • Skip a refused Stache rebuild instead of ending the import #465
  • Return the matched value from a returning modifier's attribute-value match #437
  • Resolve a modifier's attribute-value match to the value it maps to #434
  • Stop the positional nested-attribute matcher throwing on a plain-list item #431
  • Keep an imported value that looks like a placeholder as written, and test the Forms placeholders #430
  • Resolve deferred links in table cells, and stop replacing a URL by its prefix #427
  • Stop an empty nested attribute pattern from matching every array, and test the Forms presence checks #426
  • Drop empty pieces from exploded extension lists, and test the Forms string helpers #425
  • Number generated Forms choice keys by their own position #423
  • Cover the Forms complex-array transform and stop it failing on string keys #419
  • Lift plain tables out of lists and details elements #418

Maintenance and tooling

  • Remove the unused set_attributes.specific lookup from the Forms mappings #464
  • Call the shared CI chain from ci.yml #463
  • Cover the Gravity Forms product-field placeholder id with a standalone test #462
  • Cover the remaining Forms trait paths with standalone tests #461
  • Cover the last Forms missing-attribute pass with standalone tests #460
  • Cover the Forms mapping of missing attributes with standalone tests #459
  • Cover the Forms type and selected choice options with standalone tests #457
  • Cover the Forms attribute targets by value with standalone tests #456
  • Cover the Forms value calculation with standalone tests #454
  • Cover the Forms key translation with standalone tests #452
  • Cover the Forms attribute hierarchy with standalone tests #451
  • Cover the Forms subfield host-fieldtype path with standalone tests #450
  • Record the set_attributes specific decision #449
  • Cover the Formidable conditional logic with standalone tests #447
  • Cover the Forms field references, linked fields and set attributes with standalone tests #446
  • Cover the Forms value translation with standalone tests #444
  • Cover the Forms field-options mapping with standalone tests #443
  • Cover the Forms value-transformation resolution with standalone tests #442
  • Cover the Forms fieldtype resolution with standalone tests #441
  • Cover the Forms single-attribute mapping with standalone tests #440
  • Cover the Forms subfield attribute mapping with standalone tests #439
  • Cover the Forms attribute-value mapping with standalone tests #436
  • Cover the Forms per-fieldtype configuration resolution with standalone tests #435
  • Cover the Forms value-translation preparation with standalone tests #433
  • Cover Gravity Forms field conditional logic with standalone tests #432
  • Cover the Forms value converters, and correct the date converter's docblocks #428
  • Cover the Forms search-and-replace translation rules #424
  • Cover combining a Forms attribute with other attributes #422
  • Give each test process its own search index directory #420
  • Cover the Forms value transformations with standalone tests #417
  • Update the development tooling and fix what PHPStan 2.3 and Rector 2.8 report #416

v0.33.1 — Asset Cache and Forms Mapping Fixes

Choose a tag to compare

@joshdaugherty joshdaugherty released this 04 Nov 20:21
75cd991

Fixes for the asset file cache, the Formidable options transform, and the verification workspace, plus coverage and cleanup in the forms field-type mapping.

What's fixed

  • Read the file cache before the same-site policy in importFile() #407
  • Cover the Formidable options transform and fix its separate-value fallback #413
  • Normalize the verification workspace root when the temporary directory ends in a slash #406

Maintenance and tooling

  • Remove the unmapped-subfield warning that nothing triggers #412
  • Cover Ninja Forms payment settings that are not scalar, and remove two unused fieldtype helpers #411
  • Name the renamed package in the reusable-block test's run command #410
  • Carry the synced checks workflow and scope the mutation instrument #403
  • Sync shared skills and rules from uams-claude-skills #409, #414

v0.33.0 — wpautop Parity and Block Attribute Fixes

Choose a tag to compare

@joshdaugherty joshdaugherty released this 02 Nov 17:28
0118d23

A WordPress-exact wpautop() port, block attribute and Classic content fixes, and reusable-block blueprint and overwrite handling.

What's new

  • Choose a reusable block's blueprint by its content #397
  • Name Formidable email notifications after their view's title #386
  • Give reusable blocks the overwrite behavior chosen for the run #382
  • Register skipped reusable blocks in WpBlockRegistry #381

What's fixed

  • Port wpautop() from WordPress exactly, and skip it for block content #401
  • End a paragraph at a bare block tag that follows text, as wpautop() does #399
  • Keep plain HTML tables as table sets instead of flattening them to text #398
  • Stop empty markup outside blocks reading as Classic content #393
  • Refresh the entry a fresh slug lookup reads #392
  • Keep attributes beside a nested object at three more block comment readers #391
  • Keep a block's attributes when its JSON holds a nested object #390
  • Skip infinite face and hotspot coordinates so the focus keeps its default #385
  • Skip an ACF reference row so it cannot overwrite post_hide_author #384
  • Keep Classic text after a nested Gutenberg block #379

Maintenance and tooling

  • Read the statamic/cms pin from composer.json in the docs #400
  • Sync shared skills and rules from uams-claude-skills #383
  • Compare the assign-author condition with its shared template #388
  • Split the Pest job so the Windows leg stops setting the wall-clock time #380

v0.32.0 — Aether Package Rename

Choose a tag to compare

@joshdaugherty joshdaugherty released this 01 Nov 22:38
8c666bd

Renames the package to uams-web/aether-wordpress-importer, adds a --verify import run, and fixes content, shortcode, TablePress, term, and asset handling.

Breaking change: replace uams-web/wordpress-importer with uams-web/aether-wordpress-importer in the consumer's composer.json, replace UAMSWeb\WordPressImporter\ with UAMSWeb\Aether\WordPressImporter\ in imports, and replace vendor/uams-web/wordpress-importer/ in paths. The artisan command, its options, and the environment variables are unchanged.

Breaking changes

  • Rename the package and namespace to aether-wordpress-importer #377

What's new

  • Cover the caption shortcode processor #363
  • Cover the people shortcode processor #362
  • Cover the gallery and TablePress shortcode processors #359
  • Cover the quote and blogroll processors #361
  • Clear the PHPUnit mock notices from the parallel standalone suite #345
  • Assert the retry waits and block stray HTTP in LinkProcessorDeferredLinksTest #344
  • Add a --verify run to the import command #338
  • Run every CI job on Windows as well as Linux #326
  • Report unknown shortcodes left in imported content #320
  • End an entity-quoted URL at its closing quote in the attachment reference collector #311

What's fixed

  • Copy an unordered list's id onto its bulletList node #375
  • Keep a TablePress table's file when its export ID has a hyphen #373
  • Drop the people_groups gate for pages, which could never fire #372
  • End a kbtopic parent cycle instead of recursing forever #370
  • Number additional terms in a slug Statamic keeps #369
  • Recognize an existing audio series term instead of saving over it #368
  • Report the site being imported when a portrait is skipped #367
  • Keep content beside a shortcode, and wrap root text in Bard content #351
  • Store a TablePress excerpt that decodes as JSON as its text #365
  • Kill the continue mutants of switch breaks #364
  • Give an additional entry copy its own slug #360
  • Make SKIP_DIFFERENT_SITE skip the asset #354
  • Store a bare image's [caption] text without a <p> when WpAutoP runs #350
  • Store a TablePress description as block nodes on every libxml2 version #343
  • Give an additional TablePress table copy its own slug #342
  • Show import prompts after a nested command runs #331
  • Read imported audio series files from the file cache #339
  • Report a duplicate entry file that could not be deleted #337
  • Keep what surrounds a lone shortcode in a wp:shortcode block #336
  • Report failed search index rebuilds and scope a redirect run to the Control Panel index #334
  • Pin a quote in a [caption]'s text with a regression test #332
  • Keep accordions clean inside lists and on long pages #328
  • Convert untitled and unquoted [section] tags in an accordion #324
  • Read shortcode attribute lists without a backtracking pattern #323
  • Keep the text of a [caption] that holds no image #322
  • Hand a paired ACF block inside group HTML its inner content #314
  • Match URL lookups holding and or an apostrophe, and read no slug from a bare fragment #313
  • Resolve the deferred links of an entry whose ID is all digits #312
  • Leave a person's bio empty when it converts to no content #310
  • Decode HTML entities in the URLs the attachment reference collector reads from markup #308

Maintenance and tooling

  • Port the Windows pest-plugin-mutate patches #357
  • Bound the assign-author job at five minutes so check-workflow-copies.mjs passes #348
  • Tell a failed slot claim from a held slot in worktree-slots #346
  • Sync shared skills and rules from uams-claude-skills #318
  • Bring AGENTS.md's own text under the size the shared sync can write #316
  • Keep the last of the #101 population mutation-clean whatever test loads first #307

v0.31.2 — Silent Import Failures and Term Fixes

Choose a tag to compare

@joshdaugherty joshdaugherty released this 30 Oct 15:08
9bbaf2f

Import failures that used to pass silently now fail loudly, and the collection tree and taxonomy-term paths are corrected.

What's fixed

  • Report an export the reader cannot read as a parse failure #297
  • Fail a run whose destination collection or global set does not exist #298
  • Stop warning that a collection Stache store was not found after enabling a site #299
  • Make the memory check's Restart option print the rerun command instead of exiting #300
  • Keep the descendants of an orphaned page in the collection tree #302
  • Cover the taxonomy-term half of BaseEntryCreator to mutation-clean, and fix three term defects #305