Legion AI Connect

Changelog

1.1.0

  • Added per-widget owner margin: set margin_pct on the shortcode, Gutenberg block, or Elementor widget, or a site-wide default in Settings > Legion AI.
  • Margin values are applied raise-only by Legion; anything below the app’s configured margin is ignored.

1.0.8

  • Replaced the disconnected chat composer with a Connect to AI button before visitors can type.
  • Preserved pending draft text if a stale saved token requires reauthorization.
  • Removed legacy billing wording from WordPress visitor-facing prompts.

1.0.7

  • Added enclosed shortcode context so long pasted article text and quotation marks work reliably.

1.0.6

  • Added per-widget context IDs for filtering app knowledge on a specific chat.
  • Added inline pasted context for article-specific chats without adding it to persistent Legion knowledge.
  • Added Gutenberg and Elementor controls for per-widget context.

1.0.5

  • Added explicit same-tab approval when an app needs a higher monthly spending cap.
  • Added same-tab payment-method setup and automatic return to the originating chat.
  • Kept expired and revoked sessions on the normal reauthorization flow.

1.0.4

  • Added an animated three-dot thinking indicator while AI responses are loading.
  • Added safe Markdown formatting for assistant responses, including emphasis, links, lists, quotes, and code blocks.
  • Added PKCE protection to OAuth authorization and code exchange.
  • Added silent access-token refresh without requiring visitors to sign in again.
  • Added automatic same-tab reauthorization and return when a saved connection has been revoked.
  • Changed all visitor authorization to same-tab authorization and added PKCE support for browsers without Web Crypto digest APIs.

1.0.3

  • Replaced invalid project links with the public Legion WordPress resource page.
  • Documented and bundled human-readable SDK source and build configuration.
  • Loaded OAuth callback styles through the WordPress enqueue API.
  • Added server-side WordPress nonce verification to the existing OAuth state checks.

1.0.2

  • Load chat assets only on pages that use the Legion widget.
  • Improved OAuth callback compatibility with WordPress script handling.
  • Added WordPress 7.0 block editor compatibility.

1.0.1

  • Fixed authorization on sites that use plain permalinks.
  • Strengthened OAuth state generation in the bundled browser SDK.
  • Fixed the default chat model when an app has no saved model selection.

1.0.0

  • Initial WordPress.org release.
  • Added Gutenberg, Elementor, shortcode, and article-button integrations.
  • Added configurable position, theme, greeting, and accent color.
  • Added OAuth state and callback-origin validation.

Plugin Website
Visit website

Author
legionai
Version:
1.1.0
Last Updated
July 7, 2026
Requires
WordPress 6.3
Tested Up To
WordPress 7.0
Requires PHP
7.4

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.