Skip to content

Bump Scrutor from 6.1.0 to 7.0.0 - #20

Closed
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/nuget/src/Scrutor-7.0.0
Closed

Bump Scrutor from 6.1.0 to 7.0.0#20
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/nuget/src/Scrutor-7.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 8, 2026

Copy link
Copy Markdown
Contributor

Updated Scrutor from 6.1.0 to 7.0.0.

Release notes

Sourced from Scrutor's releases.

7.0.0

What's Changed

New Contributors

Full Changelog: khellang/Scrutor@v6.1.0...v7.0.0

Commits viewable in compare view.

@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Aug 8, 2026
drusteeby and others added 2 commits August 12, 2026 15:32
#21)

* Fix CWD-relative resource paths; add screenshot and docker quick start

The simulator resolved its four .uanodes files relative to the working
directory, so `dotnet run --project src` only worked when started from
src/ even though the README says to run it from the repo root. The
loaders now anchor to AppContext.BaseDirectory (where the build copies
the files), keeping the SNAP override.

The browser's PkiRoot used GetFolderPath(LocalApplicationData) with the
default SpecialFolderOption.None, which returns "" when ~/.local/share
does not exist — as in the published container image — turning PkiRoot
into a CWD-relative path under the root-owned /app and breaking Connect
with "Access to the path '/app/DruOPC' is denied". SpecialFolderOption.Create
resolves and creates the folder instead.

README: front-page screenshot under the badges, and a Docker subsection
at the top of Quick start matching compose.yaml.

Verified: `dotnet run --project src` from the repo root starts clean,
and `docker compose up` with a locally built browser image connects to
opc.tcp://simulator:50000 and browses the address space.

* Move simulator pn.json host port in compose to 5840

Host port 8080 is a popular dev port and frequently taken; 5840 rides
alongside the OPC UA convention (4840 default, 50000 here) and stays
conflict-free. Container port is unchanged.

* Restore original line endings on untouched lines

The previous commit normalized Boiler2PluginNodes.cs and
SimpleEventsNodeManager.cs to CRLF throughout, making dozens of
untouched lines show as changed. Both files now differ from main only
in the uanodes path fix.

* Extract AppFilesHelper for output-relative resource paths

The SNAP-or-BaseDirectory resolution was duplicated across the four
uanodes loaders; each is now a single AppFilesHelper.GetPath call.
Drops the System.IO usings that became dead.

* Embed .uanodes models instead of copying loose files

LoadFromBinaryResource reads from the assembly's embedded resources
before falling back to the filesystem, so embedding the four compiled
information models removes the runtime dependency on file layout
entirely. The CWD-sensitive path resolution, the SNAP special case,
and AppFilesHelper all go away; the loaders pass a plain resource name
(LogicalName in opc-plc.csproj keeps the slash-style names).

* Rename embedded model resources to single-word names

BoilerModel1, BoilerModel2, OpcUaDi, SimpleEvents — the slash-style
names looked like directory paths, which the embedded resources
specifically are not.
---
updated-dependencies:
- dependency-name: Scrutor
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@drusteeby

Copy link
Copy Markdown
Owner

Closing in favor of #27: this branch conflicts with main (stale copies of #21's files collide with #25's port changes), so the same Scrutor 6.1.0 → 7.0.0 bump was applied there on a clean branch, verified with a Debug+Release build and the full test suite.

@drusteeby drusteeby closed this Aug 13, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/nuget/src/Scrutor-7.0.0 branch August 13, 2026 23:16
drusteeby added a commit that referenced this pull request Aug 13, 2026
Scrutor 7 replaces the conflicted dependabot PR #20; the only usage is
the basic assembly scan in Program.cs, unaffected by the major bump.
All 74 tests pass.

The claude-review job fails on every dependabot PR because
dependabot-triggered runs only receive Dependabot secrets, so
CLAUDE_CODE_OAUTH_TOKEN is empty. Skip the job for the bot - version
bumps don't need an AI review.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant