Skip to content

Release 3.0.1 - #33

Merged
joel-james merged 6 commits into
masterfrom
dev
Jun 27, 2026
Merged

Release 3.0.1#33
joel-james merged 6 commits into
masterfrom
dev

Conversation

@joel-james

Copy link
Copy Markdown
Owner

Cuts the 3.0.1 release. Maintenance + extensibility — no schema or
behaviour changes for existing installs beyond the migration fix.

What's in this release

Added

  • loggedin.admin.tabs JS filter — addons can register a React
    component as a top-level tab in the Loggedin admin nav, with
    before / after positioning hints and same-key replacement of
    built-ins. Powers the new Active Sessions
    addon. (ddcfb14)
  • Force Logout cross-sell routed through a new
    loggedin.settings.force_logout.cross_sell filter — default banner
    promotes Active Sessions; the addon returns null to hide it once
    installed. (d9bec61)

Improved

  • Addon card layout aligned with the 404 to 301 plugin — primary CTA
    pinned to the left of the footer, More details link on the right,
    title-cased license button labels. (268181f)

Fixed

  • The v2 → v3 settings migration never ran on existing installs,
    leaving legacy option keys in place after the upgrade. (already on
    dev pre-bump, included here for completeness.)

Housekeeping

  • Removed a redundant WPINC guard comment. (afc4c7f)
  • Version bump across loggedin.php, class-plugin.php, package.json,
    and readme.txt (Stable tag + Changelog + Upgrade Notice). (982e0b9,
    eb10f85)

Verification

Check Result
npm run build ✓ 17 KiB JS / 4.4 KiB CSS, no warnings
composer phpcs ✓ 8 files, 0 issues
composer phpunit ✓ 10 tests, 15 assertions

Version pins all at 3.0.1:

  • loggedin.php Version: header
  • readme.txt Stable tag:
  • DuckDev\Loggedin\Plugin::VERSION
  • package.json

Docs

Companion changes already merged on docs/main:

  • Loggedin 3.0.1 changelog block
  • New Active Sessions page
  • New JS filter sections: loggedin.admin.tabs,
    loggedin.settings.force_logout.cross_sell
  • Renamed Manage Sessions page / URL to Force Logout

Post-merge

  1. Tag 3.0.1 on master.
  2. Push the tag; CI builds the release ZIP from bin/pack.sh.
  3. Deploy to WordPress.org (Stable tag is already 3.0.1).

Built-in tabs registry now exports a resolveTabs() function that
applies the loggedin.admin.tabs JS filter on each call. AdminApp
invokes it inside useMemo so the lookup runs after addon bundles
have had a chance to addFilter — same deferred pattern as the
existing loggedin.settings.panels.

Addons supply { key, label, component, wide?, before?, after? };
matching keys replace built-ins, and before/after position the
new tab relative to an existing one.
Footer now pins the primary CTA (Buy Now / Get it / Manage License)
on the left and the "More details" link on the right, inside an
explicit Flex wrapper so the order doesn't depend on CardFooter's
default justify. Title-cases the license button labels to match the
404 plugin's copy.

The link is now a Button variant="link" labelled "More details"
(was a plain <a> with "Learn more"), so its typography matches the
sibling product.
Promo Notice at the bottom of the Force Logout PanelBody, routed
through a new `loggedin.settings.force_logout.cross_sell` filter so
the Active Sessions addon (or any future replacement) can return
`null` to hide the banner once installed.

The wrapper class `loggedin-cross-sell` shares its spacing rules with
the 404 to 301 plugin's `d404-cross-sell` — same flat-title /
no-trailing-margin treatment so the notice reads the same across our
product family.
Add the 3.0.1 Changelog and Upgrade Notice blocks covering the
loggedin.admin.tabs filter, the Force Logout cross-sell slot, the
addon-card layout sync with 404 to 301, and the v2→v3 migration
fix. Also surface the new Active Sessions addon at the top of the
add-ons list.
@joel-james joel-james self-assigned this Jun 27, 2026
@joel-james joel-james added this to the v3.0.1 milestone Jun 27, 2026
@joel-james
joel-james merged commit 58591c6 into master Jun 27, 2026
14 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Merged in Loggedin — Development Jun 27, 2026
@joel-james joel-james moved this from Merged to Done in Loggedin — Development Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant