Plugin Directory

Changeset 3778091


Ignore:
Timestamp:
11/01/2026 01:39:09 PM (3 weeks ago)
Author:
gauravtiwari
Message:

Show the last 5 releases in the readme changelog and link to the full changelog

Location:
gt-link-manager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gt-link-manager/tags/1.12.0/readme.txt

    r3778087 r3778091  
    362362* Harden protected WordPress routes, CSV upload storage, and spreadsheet exports.
    363363
    364 = 1.8.1 =
    365 * New: a copy button on the Branded URL column. It appears when you hover the row or focus it with the keyboard, copies the full branded link, and confirms with an inline Copied badge that clears itself.
    366 * New: the plugin's own icon now appears in the admin menu, replacing the generic WordPress link dashicon. It is painted as a mask filled with the menu's own text colour, so it matches the icons beside it in every state and every admin colour scheme, staying light on dark sidebars and dark on light ones.
    367 * Updated: refreshed the WordPress.org plugin icon.
    368 
    369 = 1.8.0 =
    370 * Fixed: the links table collapsed narrow columns when many were shown at once. With every column visible, Mode and Clicks were squeezed to a few pixels and their values wrapped one character per line. Every column now has a minimum width, the wide ones wrap instead of being clipped, and the table scrolls sideways on its own rather than stretching the admin page.
    371 * New: Optional click counting, off by default. Turn it on under Settings and each link gets a running total of how many times it has been followed, shown as a sortable Clicks column and included in CSV export. It stores one number per link and nothing else -- no IP address, user agent, referrer, or timestamp -- and the count is written after the redirect has already been sent, so the redirect itself is not slowed down. The plugin's suggested privacy-policy text updates itself to match whichever setting you choose. Use `gtlm_count_click` to skip clicks you do not want counted.
    372 * Fixed: a deleted, trashed, or deactivated short link returned HTTP 200 with the site's front page instead of a 404. The prefix rewrite rule matches the whole namespace, so an unresolved slug fell through to the home page, and search engines could index every dead link as duplicate front-page content. Unresolved prefixed links now return a real 404 rendered by the theme's own template. Direct and regex mode still fall through untouched, and the `gtlm_404_on_missing_link` filter restores the old behaviour.
    373 * Fixed: `rel` values separated by spaces were silently discarded. The plugin writes space-separated rel into Link headers and core Button blocks, but only accepted commas on input, so round-tripping a value emptied it. Commas, spaces, and arrays are all accepted now, and the allowed-token validation is unchanged.
    374 * Fixed: the Active, Inactive, and Trash views were implemented but never rendered, leaving them reachable only by typing the URL by hand. They now appear above the links table.
    375 * Fixed: bulk actions ran while the page rendered, which gave no confirmation message and re-ran the action on a browser refresh. They now run before output and redirect to a clean URL with a result message.
    376 * New: Undo. Trashing, restoring, activating, and deactivating a link now offer a one-click Undo in the success notice, for single links and bulk selections alike.
    377 * New: Trash retention. Links left in the Trash can be permanently deleted after a configurable number of days, set under Settings. New installs start at 30 days. **Existing sites are left at 0 (keep forever) on upgrade**, so nothing already sitting in your Trash is deleted because you updated; switch it on yourself when you want it.
    378 * New: Empty Trash button on the Trash view.
    379 * Improved: the admin screens now inherit the WordPress admin surface instead of painting over it. Custom admin colour schemes, high-contrast mode, and reduced-motion preferences are all respected.
    380 * Improved: accessibility. Row checkboxes and every filter dropdown have proper labels, keyboard focus is visible, and the notice area sits where WordPress expects it.
    381 * Improved: long URLs no longer break across three lines in the links table. The Branded URL column shows the readable path, with the full URL on hover and in the Copy URL action.
    382 * Improved: a fresh install now records its schema version during activation instead of re-running the migration on the first admin page load.
    383 * Compatibility: Tested against WordPress 7.1. Verified on a WordPress 7.1 and PHP 8.4 install: redirects, geolocation targeting, the REST API, CSV import and export, the links list table, and both block editor inserters all behave as before, with no deprecation notices raised.
    384 * Compatibility: Confirmed the GT Link format and the core Button control still work inside the iframed block editor canvas, including search, insertion, and rel handling.
    385 
    386 = 1.7.1 =
    387 * Fixed: The GT Link toolbar now works with the core Button block by updating the Button's native URL and rel attributes.
    388 * Improved: Rich text and Button controls now share the same GT Link search popover, normalize rel attributes, and preserve `noopener` for buttons that open in a new tab.
    389 
    390 = 1.7.0 =
    391 * New: Geolocation targeting. Any link can route visitors to a different destination based on their country, with rules evaluated in order and the first country match winning.
    392 * New: Country detection with zero dependencies. The country is read from request variables your CDN or web server already provides — Cloudflare (`CF-IPCountry`), CloudFront, Vercel, Google App Engine, nginx GeoIP2, Apache mod_geoip, mod_maxminddb, or a custom header you name. No GeoIP database file, no third-party API, no outbound request.
    393 * New: `EU` country group expands to all 27 member states in a single rule; extendable via `gtlm_geo_country_groups`.
    394 * New: Per-rule status codes, and a "show a 404" fallback for visitors matching no rule.
    395 * New: Geolocation settings section with a live "Detected Now" readout showing which country and source resolved for the current request — the fastest way to confirm your CDN is forwarding a country header.
    396 * New: "Check Detection" button. Lists every country header present on the request with its raw value, and runs a loopback self-test — it sends the site a request carrying a country header and reports what the plugin detected at the other end. That proves detection works even on a local or staging install with no CDN in front, where "no country on this request" is correct rather than a fault. Also validates a country code you type before you use it in a rule.
    397 * New: The detection readout distinguishes "nothing is proxying this site, so no country is expected" from "your CDN is in front but sent no country header" — only the second is a misconfiguration, and it now says how to fix it.
    398 * New: Rule builder in the link editor. Numbered rows show match precedence, rules can be reordered, one-click picks cover common markets (US + CA, EU, UK, India, AU + NZ), the long country list is filterable, selections show as removable chips, and the "Everyone else" fallback reads as the final row. It warns when a country is listed twice (only the highest rule can ever match) or when a rule has countries but no URL.
    399 * New: Rule preview. Pick a country and see exactly which rule wins and where it sends — evaluated in the browser against your unsaved edits, with no request made.
    400 * New: Privacy disclosure. The plugin registers a suggested privacy-policy section under Settings → Privacy → Policy Guide, and states inline that country detection reads only a CDN-provided header — never the visitor's IP address, never an external service, and the country is never stored or logged.
    401 * Fixed: a partial REST update (PATCH) of one field silently reset every field that was not included, because each write argument declared a schema default that WP_REST_Request materialises into the request. Sending only `geo_rules` would reset `redirect_type` to 301 — which quietly breaks geo targeting — and blank `tags`, `notes`, and `rel`. Omitted fields now keep their stored values. Create defaults are unchanged.
    402 * New: Optional `X-GTLM-Country` debug response header showing the detected country, its source, and whether a rule matched.
    403 * New: Geo rules are exposed in the REST API on `/links` (create, read, update) with a self-describing schema, so links can be geo-targeted programmatically. Posting `geo_rules` without `geo_mode` opts the link in automatically.
    404 * New: Geo rules round-trip through CSV import and export; a malformed rules cell is dropped without failing the row.
    405 * New: Geo column in the links list table, and geolocation status in Diagnostics.
    406 * Performance: geolocation costs nothing on links that do not use it — the check is a single array read, and country detection is never invoked unless a matched link opts in. Detection and settings are resolved once per request.
    407 * Note: geo-targeted links should use 302, not 301. A 301 is cached by the browser permanently, which pins a visitor to whichever country they were in on their first click. The link editor warns when a geo link is set to 301.
    408 * Note: a country header can be forged on requests that reach your site without passing through your CDN, so the 404 fallback is not a security control. Behind Cloudflare, `CF-IPCountry` is rewritten at the edge and cannot be spoofed; the "Cloudflare only" detection method is the strictest setting.
    409 
    410 = 1.6.1 =
    411 * Fixed nonce mismatch bug — trash, restore, and permanent delete actions were failing due to inconsistent nonce prefixes.
    412 * Fixed potential ReDoS vulnerability — removed error suppression on regex pattern matching, added pattern length validation.
    413 * Standardized all nonce prefixes to `gtlm_` across admin actions and list table.
    414 * Added REST API route descriptions to all endpoints for better discoverability.
    415 * Added object caching for admin category dropdown with proper invalidation on create, update, and delete.
    416 * Updated readme with free training course, developer reference, REST API guide, and new FAQ entries.
    417 
    418 = 1.6.0 =
    419 * Added advanced redirects: Direct (prefix-free) and Regex (pattern-based) link modes.
    420 * Direct links redirect without the prefix — e.g., `yoursite.com/my-page` instead of `yoursite.com/go/my-page`.
    421 * Regex links match request paths against patterns with capture group substitution in destination URLs.
    422 * New "Enable Advanced Redirects" toggle in Settings (off by default) to opt in.
    423 * Link edit form shows mode selector (Standard / Direct / Regex) with contextual fields.
    424 * Conflict detection warns when direct link paths match existing WordPress posts or pages.
    425 * Regex patterns are validated on save; invalid patterns are rejected.
    426 * List table shows link mode with filter support.
    427 * REST API accepts and returns `link_mode`, `regex_replacement`, and `priority` fields.
    428 * New database columns: `link_mode`, `regex_replacement`, `priority` — fully backwards compatible.
    429 
    430 = 1.5.3 =
    431 * Fixed plugin zip size bloat — excluded .wordpress-org assets directory from distribution package.
    432 
    433 = 1.5.2 =
    434 * Added "Delete Data on Uninstall" setting — data is now preserved by default when the plugin is deleted.
    435 * Uninstall only removes tables and options if the user explicitly opts in via Settings.
    436 
    437 = 1.5.1 =
    438 * Fixed CSS custom properties not resolving on some admin pages — all values are now hardcoded.
    439 * Fixed form-table double-card styling when rendered inside a card container.
    440 * Improved edit form submit buttons layout — buttons now display in a single horizontal row.
    441 * Improved branded URL preview styling with distinct blue tint.
    442 * Added subtle row separators inside card form tables.
    443 * Added WordPress.org SVN deploy to release workflow.
    444 * Added plugin banner and icon assets for WordPress.org listing.
    445 
    446 = 1.4.0 =
    447 * Renamed internal code prefix from `gt_` to `gtlm_` (4+ characters) per WordPress.org guidelines.
    448 * Fixed nonce verification order in CSV import handler — nonce is now checked before reading POST data.
    449 * Fixed SQL injection vector — `$orderby` now uses `%i` identifier placeholder in prepared queries.
    450 * Added Source Code section to readme for compiled block editor assets.
    451 * Added card-based UI styling to all admin pages (edit link, categories, settings, import/export).
    452 * Settings page reorganized into General, Tools, and Diagnostics cards.
    453 * Clean uninstall now removes both old (`gt_`) and new (`gtlm_`) prefix options and tables.
    454 
    455 = 1.3.1 =
    456 * Block editor: aligned GT Link popover anchoring with core rich text behavior using selection-based anchor.
    457 
    458 = 1.3.0 =
    459 * Refactored admin into separate actions and rendering classes for maintainability.
    460 * Added Pretty Links CSV import preset alongside Generic and LinkCentral.
    461 * Improved input sanitization on redirect URI parsing.
    462 * Added PHPCS configuration and Composer dev tooling.
    463 * Added uninstall.php for clean plugin removal (drops tables and options).
    464 * Improved build.sh with .distignore support and critical file verification.
    465 * Improved release workflow with version verification, checksums, and distribution validation.
    466 * Block editor popover anchor now uses bounding rect snapshot for reliable positioning.
    467 * Button primary color now follows WordPress admin theme color.
    468 * Lowered PHP requirement from 8.2 to 8.0.
    469 * Tested up to WordPress 6.9.
    470 
    471 = 1.2.3 =
    472 * Fixed release packaging bug that accidentally removed `blocks/link-inserter/build/*` from zip assets.
    473 * GitHub release workflow now compiles block editor assets before zipping and verifies build files exist.
    474 
    475 = 1.2.2 =
    476 * Fixed block editor link inserter not appearing on WordPress 6.8+.
    477 * Removed deprecated useAnchor hook that crashed the toolbar button on render.
    478 * Eliminated react-jsx-runtime dependency that prevented the script from loading on some WordPress versions.
    479 * Popover now anchors to the toolbar button for reliable positioning.
    480 
    481 = 1.2.0 =
    482 * Fixed critical bug: links disappeared after 1.1.9 update because new DB columns were not added on plugin update (only on fresh activation).
    483 * Added automatic DB migration that runs on update to add missing columns and backfill existing rows.
    484 * Fixed WordPress admin sidebar menu getting unintended card styles on the Settings page.
    485 * Improved Settings page: Flush Permalinks and Run Diagnostics buttons are now inline, diagnostics output uses a clean table layout with status badges.
    486 
    487 = 1.1.9 =
    488 * Added link activate/deactivate toggle. Inactive links stop redirecting but remain in the database.
    489 * Delete now moves links to trash instead of permanent deletion. Links can be restored from trash.
    490 * Trash view with restore and permanent delete actions.
    491 * New bulk actions: Activate, Deactivate, Move to Trash, Restore, Delete Permanently.
    492 * REST API: DELETE defaults to trash (use `?force=true` for permanent). New `/restore` and `/toggle-active` endpoints.
    493 * Status column and views (All / Active / Inactive / Trash) in the links list table.
    494 * New `is_active` and `trashed_at` columns added to the links table on upgrade.
    495 
    496 = 1.1.8 =
    497 * Maintenance release.
    498 
    499 = 1.1.7 =
    500 * Block editor: Fixed editor scroll jump when opening GT Link popover from the toolbar.
    501 * Block editor: Improved search input focus behavior so opening popover does not move viewport.
    502 
    503 = 1.1.6 =
    504 * REST API: Added full pagination (page, per_page, category_id, orderby, order) to GET /links endpoint.
    505 * REST API: Added args schema validation to all write endpoints (links, categories, bulk-category).
    506 * Security: Replaced innerHTML with DOM methods in admin quick edit to prevent XSS.
    507 * DB: Added rel whitelist validation on filter queries.
    508 * Build: build.sh now compiles block editor assets before packaging.
    509 
    510 = 1.1.5 =
    511 * Maintenance release.
    512 
    513 = 1.1.4 =
    514 * Anchor popover to selected text using useAnchor from @wordpress/rich-text.
    515 
    516 = 1.1.3 =
    517 * Fixed format registration conflict with core/underline on WP 6.9+ (both used bare span tag).
    518 * Added unique className to avoid tagName collision.
    519 
    520 = 1.1.2 =
    521 * Switch to RichTextToolbarButton for standard format toolbar integration.
    522 
    523 = 1.1.1 =
    524 * Force-inject format into RichText allowedFormats for reliable toolbar display.
    525 
    526 = 1.1.0 =
    527 * Rebuilt block editor link inserter with @wordpress/scripts build pipeline.
    528 * Fixed toolbar button not appearing in block editor.
    529 * Proper dependency resolution via index.asset.php.
    530 
    531 = 1.0.4 =
    532 * Fixed toolbar button registration in block editor for GT Link inserter.
    533 * Added selected-text autofill in GT Link inserter search field.
    534 * Improved redirect detection for WordPress installs in subdirectories.
    535 
    536 = 1.0.3 =
    537 * Enhance block editor integration with additional dependencies and improved format registration
    538 
    539 = 1.0.2 =
    540 * Minor internal hardening and cleanup.
    541 
    542 = 1.0.1 =
    543 * Fixed uninstall to preserve links and settings data across reinstalls.
    544 
    545 = 1.0.0 =
    546 * Initial release.
     364Older releases are on the [GT Link Manager changelog](https://gauravtiwari.org/changelogs/gt-link-manager/).
    547365
    548366== Upgrade Notice ==
  • gt-link-manager/trunk/readme.txt

    r3778087 r3778091  
    362362* Harden protected WordPress routes, CSV upload storage, and spreadsheet exports.
    363363
    364 = 1.8.1 =
    365 * New: a copy button on the Branded URL column. It appears when you hover the row or focus it with the keyboard, copies the full branded link, and confirms with an inline Copied badge that clears itself.
    366 * New: the plugin's own icon now appears in the admin menu, replacing the generic WordPress link dashicon. It is painted as a mask filled with the menu's own text colour, so it matches the icons beside it in every state and every admin colour scheme, staying light on dark sidebars and dark on light ones.
    367 * Updated: refreshed the WordPress.org plugin icon.
    368 
    369 = 1.8.0 =
    370 * Fixed: the links table collapsed narrow columns when many were shown at once. With every column visible, Mode and Clicks were squeezed to a few pixels and their values wrapped one character per line. Every column now has a minimum width, the wide ones wrap instead of being clipped, and the table scrolls sideways on its own rather than stretching the admin page.
    371 * New: Optional click counting, off by default. Turn it on under Settings and each link gets a running total of how many times it has been followed, shown as a sortable Clicks column and included in CSV export. It stores one number per link and nothing else -- no IP address, user agent, referrer, or timestamp -- and the count is written after the redirect has already been sent, so the redirect itself is not slowed down. The plugin's suggested privacy-policy text updates itself to match whichever setting you choose. Use `gtlm_count_click` to skip clicks you do not want counted.
    372 * Fixed: a deleted, trashed, or deactivated short link returned HTTP 200 with the site's front page instead of a 404. The prefix rewrite rule matches the whole namespace, so an unresolved slug fell through to the home page, and search engines could index every dead link as duplicate front-page content. Unresolved prefixed links now return a real 404 rendered by the theme's own template. Direct and regex mode still fall through untouched, and the `gtlm_404_on_missing_link` filter restores the old behaviour.
    373 * Fixed: `rel` values separated by spaces were silently discarded. The plugin writes space-separated rel into Link headers and core Button blocks, but only accepted commas on input, so round-tripping a value emptied it. Commas, spaces, and arrays are all accepted now, and the allowed-token validation is unchanged.
    374 * Fixed: the Active, Inactive, and Trash views were implemented but never rendered, leaving them reachable only by typing the URL by hand. They now appear above the links table.
    375 * Fixed: bulk actions ran while the page rendered, which gave no confirmation message and re-ran the action on a browser refresh. They now run before output and redirect to a clean URL with a result message.
    376 * New: Undo. Trashing, restoring, activating, and deactivating a link now offer a one-click Undo in the success notice, for single links and bulk selections alike.
    377 * New: Trash retention. Links left in the Trash can be permanently deleted after a configurable number of days, set under Settings. New installs start at 30 days. **Existing sites are left at 0 (keep forever) on upgrade**, so nothing already sitting in your Trash is deleted because you updated; switch it on yourself when you want it.
    378 * New: Empty Trash button on the Trash view.
    379 * Improved: the admin screens now inherit the WordPress admin surface instead of painting over it. Custom admin colour schemes, high-contrast mode, and reduced-motion preferences are all respected.
    380 * Improved: accessibility. Row checkboxes and every filter dropdown have proper labels, keyboard focus is visible, and the notice area sits where WordPress expects it.
    381 * Improved: long URLs no longer break across three lines in the links table. The Branded URL column shows the readable path, with the full URL on hover and in the Copy URL action.
    382 * Improved: a fresh install now records its schema version during activation instead of re-running the migration on the first admin page load.
    383 * Compatibility: Tested against WordPress 7.1. Verified on a WordPress 7.1 and PHP 8.4 install: redirects, geolocation targeting, the REST API, CSV import and export, the links list table, and both block editor inserters all behave as before, with no deprecation notices raised.
    384 * Compatibility: Confirmed the GT Link format and the core Button control still work inside the iframed block editor canvas, including search, insertion, and rel handling.
    385 
    386 = 1.7.1 =
    387 * Fixed: The GT Link toolbar now works with the core Button block by updating the Button's native URL and rel attributes.
    388 * Improved: Rich text and Button controls now share the same GT Link search popover, normalize rel attributes, and preserve `noopener` for buttons that open in a new tab.
    389 
    390 = 1.7.0 =
    391 * New: Geolocation targeting. Any link can route visitors to a different destination based on their country, with rules evaluated in order and the first country match winning.
    392 * New: Country detection with zero dependencies. The country is read from request variables your CDN or web server already provides — Cloudflare (`CF-IPCountry`), CloudFront, Vercel, Google App Engine, nginx GeoIP2, Apache mod_geoip, mod_maxminddb, or a custom header you name. No GeoIP database file, no third-party API, no outbound request.
    393 * New: `EU` country group expands to all 27 member states in a single rule; extendable via `gtlm_geo_country_groups`.
    394 * New: Per-rule status codes, and a "show a 404" fallback for visitors matching no rule.
    395 * New: Geolocation settings section with a live "Detected Now" readout showing which country and source resolved for the current request — the fastest way to confirm your CDN is forwarding a country header.
    396 * New: "Check Detection" button. Lists every country header present on the request with its raw value, and runs a loopback self-test — it sends the site a request carrying a country header and reports what the plugin detected at the other end. That proves detection works even on a local or staging install with no CDN in front, where "no country on this request" is correct rather than a fault. Also validates a country code you type before you use it in a rule.
    397 * New: The detection readout distinguishes "nothing is proxying this site, so no country is expected" from "your CDN is in front but sent no country header" — only the second is a misconfiguration, and it now says how to fix it.
    398 * New: Rule builder in the link editor. Numbered rows show match precedence, rules can be reordered, one-click picks cover common markets (US + CA, EU, UK, India, AU + NZ), the long country list is filterable, selections show as removable chips, and the "Everyone else" fallback reads as the final row. It warns when a country is listed twice (only the highest rule can ever match) or when a rule has countries but no URL.
    399 * New: Rule preview. Pick a country and see exactly which rule wins and where it sends — evaluated in the browser against your unsaved edits, with no request made.
    400 * New: Privacy disclosure. The plugin registers a suggested privacy-policy section under Settings → Privacy → Policy Guide, and states inline that country detection reads only a CDN-provided header — never the visitor's IP address, never an external service, and the country is never stored or logged.
    401 * Fixed: a partial REST update (PATCH) of one field silently reset every field that was not included, because each write argument declared a schema default that WP_REST_Request materialises into the request. Sending only `geo_rules` would reset `redirect_type` to 301 — which quietly breaks geo targeting — and blank `tags`, `notes`, and `rel`. Omitted fields now keep their stored values. Create defaults are unchanged.
    402 * New: Optional `X-GTLM-Country` debug response header showing the detected country, its source, and whether a rule matched.
    403 * New: Geo rules are exposed in the REST API on `/links` (create, read, update) with a self-describing schema, so links can be geo-targeted programmatically. Posting `geo_rules` without `geo_mode` opts the link in automatically.
    404 * New: Geo rules round-trip through CSV import and export; a malformed rules cell is dropped without failing the row.
    405 * New: Geo column in the links list table, and geolocation status in Diagnostics.
    406 * Performance: geolocation costs nothing on links that do not use it — the check is a single array read, and country detection is never invoked unless a matched link opts in. Detection and settings are resolved once per request.
    407 * Note: geo-targeted links should use 302, not 301. A 301 is cached by the browser permanently, which pins a visitor to whichever country they were in on their first click. The link editor warns when a geo link is set to 301.
    408 * Note: a country header can be forged on requests that reach your site without passing through your CDN, so the 404 fallback is not a security control. Behind Cloudflare, `CF-IPCountry` is rewritten at the edge and cannot be spoofed; the "Cloudflare only" detection method is the strictest setting.
    409 
    410 = 1.6.1 =
    411 * Fixed nonce mismatch bug — trash, restore, and permanent delete actions were failing due to inconsistent nonce prefixes.
    412 * Fixed potential ReDoS vulnerability — removed error suppression on regex pattern matching, added pattern length validation.
    413 * Standardized all nonce prefixes to `gtlm_` across admin actions and list table.
    414 * Added REST API route descriptions to all endpoints for better discoverability.
    415 * Added object caching for admin category dropdown with proper invalidation on create, update, and delete.
    416 * Updated readme with free training course, developer reference, REST API guide, and new FAQ entries.
    417 
    418 = 1.6.0 =
    419 * Added advanced redirects: Direct (prefix-free) and Regex (pattern-based) link modes.
    420 * Direct links redirect without the prefix — e.g., `yoursite.com/my-page` instead of `yoursite.com/go/my-page`.
    421 * Regex links match request paths against patterns with capture group substitution in destination URLs.
    422 * New "Enable Advanced Redirects" toggle in Settings (off by default) to opt in.
    423 * Link edit form shows mode selector (Standard / Direct / Regex) with contextual fields.
    424 * Conflict detection warns when direct link paths match existing WordPress posts or pages.
    425 * Regex patterns are validated on save; invalid patterns are rejected.
    426 * List table shows link mode with filter support.
    427 * REST API accepts and returns `link_mode`, `regex_replacement`, and `priority` fields.
    428 * New database columns: `link_mode`, `regex_replacement`, `priority` — fully backwards compatible.
    429 
    430 = 1.5.3 =
    431 * Fixed plugin zip size bloat — excluded .wordpress-org assets directory from distribution package.
    432 
    433 = 1.5.2 =
    434 * Added "Delete Data on Uninstall" setting — data is now preserved by default when the plugin is deleted.
    435 * Uninstall only removes tables and options if the user explicitly opts in via Settings.
    436 
    437 = 1.5.1 =
    438 * Fixed CSS custom properties not resolving on some admin pages — all values are now hardcoded.
    439 * Fixed form-table double-card styling when rendered inside a card container.
    440 * Improved edit form submit buttons layout — buttons now display in a single horizontal row.
    441 * Improved branded URL preview styling with distinct blue tint.
    442 * Added subtle row separators inside card form tables.
    443 * Added WordPress.org SVN deploy to release workflow.
    444 * Added plugin banner and icon assets for WordPress.org listing.
    445 
    446 = 1.4.0 =
    447 * Renamed internal code prefix from `gt_` to `gtlm_` (4+ characters) per WordPress.org guidelines.
    448 * Fixed nonce verification order in CSV import handler — nonce is now checked before reading POST data.
    449 * Fixed SQL injection vector — `$orderby` now uses `%i` identifier placeholder in prepared queries.
    450 * Added Source Code section to readme for compiled block editor assets.
    451 * Added card-based UI styling to all admin pages (edit link, categories, settings, import/export).
    452 * Settings page reorganized into General, Tools, and Diagnostics cards.
    453 * Clean uninstall now removes both old (`gt_`) and new (`gtlm_`) prefix options and tables.
    454 
    455 = 1.3.1 =
    456 * Block editor: aligned GT Link popover anchoring with core rich text behavior using selection-based anchor.
    457 
    458 = 1.3.0 =
    459 * Refactored admin into separate actions and rendering classes for maintainability.
    460 * Added Pretty Links CSV import preset alongside Generic and LinkCentral.
    461 * Improved input sanitization on redirect URI parsing.
    462 * Added PHPCS configuration and Composer dev tooling.
    463 * Added uninstall.php for clean plugin removal (drops tables and options).
    464 * Improved build.sh with .distignore support and critical file verification.
    465 * Improved release workflow with version verification, checksums, and distribution validation.
    466 * Block editor popover anchor now uses bounding rect snapshot for reliable positioning.
    467 * Button primary color now follows WordPress admin theme color.
    468 * Lowered PHP requirement from 8.2 to 8.0.
    469 * Tested up to WordPress 6.9.
    470 
    471 = 1.2.3 =
    472 * Fixed release packaging bug that accidentally removed `blocks/link-inserter/build/*` from zip assets.
    473 * GitHub release workflow now compiles block editor assets before zipping and verifies build files exist.
    474 
    475 = 1.2.2 =
    476 * Fixed block editor link inserter not appearing on WordPress 6.8+.
    477 * Removed deprecated useAnchor hook that crashed the toolbar button on render.
    478 * Eliminated react-jsx-runtime dependency that prevented the script from loading on some WordPress versions.
    479 * Popover now anchors to the toolbar button for reliable positioning.
    480 
    481 = 1.2.0 =
    482 * Fixed critical bug: links disappeared after 1.1.9 update because new DB columns were not added on plugin update (only on fresh activation).
    483 * Added automatic DB migration that runs on update to add missing columns and backfill existing rows.
    484 * Fixed WordPress admin sidebar menu getting unintended card styles on the Settings page.
    485 * Improved Settings page: Flush Permalinks and Run Diagnostics buttons are now inline, diagnostics output uses a clean table layout with status badges.
    486 
    487 = 1.1.9 =
    488 * Added link activate/deactivate toggle. Inactive links stop redirecting but remain in the database.
    489 * Delete now moves links to trash instead of permanent deletion. Links can be restored from trash.
    490 * Trash view with restore and permanent delete actions.
    491 * New bulk actions: Activate, Deactivate, Move to Trash, Restore, Delete Permanently.
    492 * REST API: DELETE defaults to trash (use `?force=true` for permanent). New `/restore` and `/toggle-active` endpoints.
    493 * Status column and views (All / Active / Inactive / Trash) in the links list table.
    494 * New `is_active` and `trashed_at` columns added to the links table on upgrade.
    495 
    496 = 1.1.8 =
    497 * Maintenance release.
    498 
    499 = 1.1.7 =
    500 * Block editor: Fixed editor scroll jump when opening GT Link popover from the toolbar.
    501 * Block editor: Improved search input focus behavior so opening popover does not move viewport.
    502 
    503 = 1.1.6 =
    504 * REST API: Added full pagination (page, per_page, category_id, orderby, order) to GET /links endpoint.
    505 * REST API: Added args schema validation to all write endpoints (links, categories, bulk-category).
    506 * Security: Replaced innerHTML with DOM methods in admin quick edit to prevent XSS.
    507 * DB: Added rel whitelist validation on filter queries.
    508 * Build: build.sh now compiles block editor assets before packaging.
    509 
    510 = 1.1.5 =
    511 * Maintenance release.
    512 
    513 = 1.1.4 =
    514 * Anchor popover to selected text using useAnchor from @wordpress/rich-text.
    515 
    516 = 1.1.3 =
    517 * Fixed format registration conflict with core/underline on WP 6.9+ (both used bare span tag).
    518 * Added unique className to avoid tagName collision.
    519 
    520 = 1.1.2 =
    521 * Switch to RichTextToolbarButton for standard format toolbar integration.
    522 
    523 = 1.1.1 =
    524 * Force-inject format into RichText allowedFormats for reliable toolbar display.
    525 
    526 = 1.1.0 =
    527 * Rebuilt block editor link inserter with @wordpress/scripts build pipeline.
    528 * Fixed toolbar button not appearing in block editor.
    529 * Proper dependency resolution via index.asset.php.
    530 
    531 = 1.0.4 =
    532 * Fixed toolbar button registration in block editor for GT Link inserter.
    533 * Added selected-text autofill in GT Link inserter search field.
    534 * Improved redirect detection for WordPress installs in subdirectories.
    535 
    536 = 1.0.3 =
    537 * Enhance block editor integration with additional dependencies and improved format registration
    538 
    539 = 1.0.2 =
    540 * Minor internal hardening and cleanup.
    541 
    542 = 1.0.1 =
    543 * Fixed uninstall to preserve links and settings data across reinstalls.
    544 
    545 = 1.0.0 =
    546 * Initial release.
     364Older releases are on the [GT Link Manager changelog](https://gauravtiwari.org/changelogs/gt-link-manager/).
    547365
    548366== Upgrade Notice ==
Note: See TracChangeset for help on using the changeset viewer.