Skip to content

chore(strucpp): pin v0.6.3 - #1020

Merged
thiagoralves merged 1 commit into
developmentfrom
chore/strucpp-0.6.3
Aug 18, 2026
Merged

thiagoralves merged 1 commit into
developmentfrom
chore/strucpp-0.6.3

Conversation

@thiagoralves

@thiagoralves thiagoralves commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Bumps the pinned STruC++ compiler from v0.6.2 to v0.6.3 in binary-versions.json.

-    "version": "v0.6.2",
+    "version": "v0.6.3",

scripts/download-binaries.ts resolves this to the release's npm-pack artifact, strucpp-0.6.3.tgz, which is published and reachable (verified HTTP 200 on the download URL). No other change is needed — the script derives the asset name from this field, and electron-builder.json references the extracted strucpp/runtime/include and strucpp/libs paths, which are version-agnostic.

What v0.6.3 brings

Structure & array initialization

  • STRUCT initializers in variable declarations
  • Array repetition initializer [N(value)]
  • 3D arrays, nested array initializers, function-block array invocation
  • Validation of array initializer shape and subscript count
  • Exact integer literal lowering (no precision loss into C++)
  • Array-literal defaults preserved on STRUCT elements, strings escaped
  • POU classes forward-declared ahead of user-defined types

Debug table

  • One member-mangling rule applied everywhere a member is named, replacing divergent per-site logic
  • Function-block parameters mangled at the invocation site
  • PROGRAM constructor initializer list mangled
  • Multi-dimensional arrays indexed with operator()

The debug-table mangling changes affect the debug map this repo generates and consumes for variable monitoring/forcing, so that path is worth a look during review.

Upstream release: strucpp v0.6.3 · PR #214 (2240 tests passing)

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the bundled strucpp binary to version v0.6.3.

Picks up structure/array initialization (STRUCT initializers, [N(value)]
repetition, 3D arrays, nested initializers, function-block array
invocation, exact integer literal lowering) and the unified debug-table
member-mangling rule.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f37053c7-5a67-443a-8be0-6d14301d67fb

📥 Commits

Reviewing files that changed from the base of the PR and between 8cfead2 and b2895c8.

📒 Files selected for processing (1)
  • binary-versions.json

Included review availability: Your plan includes up to 2 reviews per rolling hour; 1 remains after this review.


Walkthrough

The change updates the configured strucpp binary version from v0.6.2 to v0.6.3.

Changes

Binary version update

Layer / File(s) Summary
Update strucpp version
binary-versions.json
The configured strucpp version changes from v0.6.2 to v0.6.3.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to b2895

This localized dependency pin updates the compiler from v0.6.2 to v0.6.3 without other repository changes; no actionable merge-blocking risk remains beyond normal checks and review.

Suggested reviewers: dcoutinho1328

Poem

A rabbit checks the version line,
From six-two hops to six-three fine.
One small change in the JSON,
Keeps strucpp fresh and ready to run.
Hop, hop, update done!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the version pin update for the STruC++ compiler.
Description check ✅ Passed The description clearly explains the version update, affected behavior, artifact validation, upstream references, and review focus.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/strucpp-0.6.3

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.

@marconetsf
marconetsf self-requested a review August 18, 2026 10:58
@thiagoralves
thiagoralves merged commit 91a6375 into development Aug 18, 2026
13 checks passed
@thiagoralves
thiagoralves deleted the chore/strucpp-0.6.3 branch August 18, 2026 11:03
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.

2 participants