Skip to content

Release 4.2.10#962

Merged
thiagoralves merged 7 commits into
mainfrom
development
Jul 25, 2026
Merged

Release 4.2.10#962
thiagoralves merged 7 commits into
mainfrom
development

Conversation

@thiagoralves

Copy link
Copy Markdown
Contributor

Promote developmentmain for the 4.2.10 patch release.

  • fix(variables): accept %MX memory-bit locations for BOOL (forum regression "%MX locations now invalid - Runtime v4"). Browser-verified in openplc-web.
  • Version bumped to 4.2.10 (APP_VERSION + package.json, in sync).

After merge, tag v4.2.10 on main to trigger the Build and Release workflow.

🤖 Generated with Claude Code

emerson-d-lopes and others added 7 commits July 23, 2026 08:05
After any project search, the explorer tree displayed the matching
element name as literal markup ("<span class=...") because the
decorated HTML string from extractSearchQuery was passed as the leaf
label, which ProjectTreeLeaf renders as plain text. The decorated
string was also used as the element identity, so rename, duplicate,
and delete targeted a name that does not exist while highlighted.

Pass the plain name as the label everywhere and add a highlightQuery
prop to ProjectTreeLeaf/ProjectTreeExpandableLeaf, which render the
match safely through the existing HighlightedText atom - the same
approach the search results panel already uses.

Fixes #640

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U5TQ1y3yBEDx73tYTHoUBj
…ighted

Address review feedback: selection through a highlighted leaf must
record the real POU name, never the decorated display string.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U5TQ1y3yBEDx73tYTHoUBj
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Vq6oTRN4oMe9MUMDEn4c6H
…earch-highlight

fix(explorer): stop rendering search-highlight markup as tree labels
BOOL_LOCATION_REGEX only allowed %QX/%IX, so valid IEC memory bits
(%MX0.0 — e.g. Modbus coils) were rejected as "Location is invalid",
while the word-width regexes already accepted the memory (M) area.
Add M so every valid IEC area prefix (I/Q/M) is accepted for BOOL,
matching WORD/DWORD/LWORD, and update the BOOL hint to list %MX.

Reported: forum "%MX locations now invalid - Runtime v4". Verified in
openplc-web: %MX0.0 now accepted on a BOOL; %MZ0.0 still rejected.

Also bump APP_VERSION + package.json to 4.2.10 for the patch release.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
fix(variables): accept %MX memory-bit locations for BOOL (v4.2.10)
@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • development

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ea9e198e-31b9-4c3e-89ce-fa093a9d31fd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch development

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@thiagoralves
thiagoralves merged commit 40ca3b8 into main Jul 25, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants