Skip to content

Bump WolverineFx and 5 others#34

Closed
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/nuget/wolverine-e3b7346c97
Closed

Bump WolverineFx and 5 others#34
dependabot[bot] wants to merge 3 commits into
mainfrom
dependabot/nuget/wolverine-e3b7346c97

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 26, 2026

Pinned WolverineFx at 6.0.2.

Release notes

Sourced from WolverineFx's releases.

6.0.0

Wolverine 6.0.0 — Critter Stack 2026

The messaging/orchestration release completing the Critter Stack 2026 wave, on the final foundation (JasperFx 2.0 / Weasel 9.0 / Marten 9.0 / Polecat 4.0).

Highlights

  • Foundation (final): JasperFx 2.0.0 / JasperFx.RuntimeCompiler 5.0.0 / Marten 9.0.0 / Polecat 4.0.0 / Weasel 9.0.0. Targets net9.0;net10.0.
  • Runtime codegen decoupled from core (BREAKING): WolverineFx no longer ships Roslyn. Apps in the default TypeLoadMode.Dynamic must add WolverineFx.RuntimeCompilation, or pre-generate via codegen write + TypeLoadMode.Static (the trimmer then drops Roslyn). See the migration guide.
  • ServiceLocationPolicy.NotAllowed is the default (BREAKING) — restructure registrations, allow-list per type, or call opts.RestoreV5Defaults() to revert.
  • AOT-clean (pillar #​213): every packaged library carries IsAotCompatible=true (except the intentional WolverineFx.RuntimeCompilation); Static-mode publish drops Roslyn.
  • Cold-start (pillar #​212): Tier-1 pre-generated static handler registry skips handler-discovery scanning in Static mode.
  • Newtonsoft extracted to WolverineFx.Newtonsoft / WolverineFx.Http.Newtonsoft; IForwardsTo<T> discovery now explicit; removed [Obsolete] APIs (EventForwardingToWolverine, RedisTransport.BuildRedisStreamUri, PulsarEndpoint.UriFor).

Migration guide: https://wolverinefx.net/guide/migration.html (or docs/guide/migration.md). Master plan: wolverine#​2715. Remaining release-cut comms items tracked in #​2745.

5.39.1

Fixed a regression problem reported here JasperFx/wolverine#2739

Full Changelog: JasperFx/wolverine@V5.39.0...V5.39.1

5.39.0

What's Changed

New Contributors

Full Changelog: JasperFx/wolverine@V5.38.0...V5.39.0

5.38.0

What's Changed

Full Changelog: JasperFx/wolverine@V5.37.2...V5.38.0

5.37.2

What's Changed

Full Changelog: JasperFx/wolverine@V5.37.0...V5.37.2

5.37.0

What's Changed

Full Changelog: JasperFx/wolverine@v5.36.1...V5.37.0

Commits viewable in compare view.

Pinned WolverineFx.AzureServiceBus at 6.0.2.

Release notes

Sourced from WolverineFx.AzureServiceBus's releases.

6.0.0

Wolverine 6.0.0 — Critter Stack 2026

The messaging/orchestration release completing the Critter Stack 2026 wave, on the final foundation (JasperFx 2.0 / Weasel 9.0 / Marten 9.0 / Polecat 4.0).

Highlights

  • Foundation (final): JasperFx 2.0.0 / JasperFx.RuntimeCompiler 5.0.0 / Marten 9.0.0 / Polecat 4.0.0 / Weasel 9.0.0. Targets net9.0;net10.0.
  • Runtime codegen decoupled from core (BREAKING): WolverineFx no longer ships Roslyn. Apps in the default TypeLoadMode.Dynamic must add WolverineFx.RuntimeCompilation, or pre-generate via codegen write + TypeLoadMode.Static (the trimmer then drops Roslyn). See the migration guide.
  • ServiceLocationPolicy.NotAllowed is the default (BREAKING) — restructure registrations, allow-list per type, or call opts.RestoreV5Defaults() to revert.
  • AOT-clean (pillar #​213): every packaged library carries IsAotCompatible=true (except the intentional WolverineFx.RuntimeCompilation); Static-mode publish drops Roslyn.
  • Cold-start (pillar #​212): Tier-1 pre-generated static handler registry skips handler-discovery scanning in Static mode.
  • Newtonsoft extracted to WolverineFx.Newtonsoft / WolverineFx.Http.Newtonsoft; IForwardsTo<T> discovery now explicit; removed [Obsolete] APIs (EventForwardingToWolverine, RedisTransport.BuildRedisStreamUri, PulsarEndpoint.UriFor).

Migration guide: https://wolverinefx.net/guide/migration.html (or docs/guide/migration.md). Master plan: wolverine#​2715. Remaining release-cut comms items tracked in #​2745.

5.39.1

Fixed a regression problem reported here JasperFx/wolverine#2739

Full Changelog: JasperFx/wolverine@V5.39.0...V5.39.1

5.39.0

What's Changed

New Contributors

Full Changelog: JasperFx/wolverine@V5.38.0...V5.39.0

5.38.0

What's Changed

Full Changelog: JasperFx/wolverine@V5.37.2...V5.38.0

5.37.2

What's Changed

Full Changelog: JasperFx/wolverine@V5.37.0...V5.37.2

5.37.0

What's Changed

Full Changelog: JasperFx/wolverine@v5.36.1...V5.37.0

Commits viewable in compare view.

Pinned WolverineFx.EntityFrameworkCore at 6.0.2.

Release notes

Sourced from WolverineFx.EntityFrameworkCore's releases.

6.0.0

Wolverine 6.0.0 — Critter Stack 2026

The messaging/orchestration release completing the Critter Stack 2026 wave, on the final foundation (JasperFx 2.0 / Weasel 9.0 / Marten 9.0 / Polecat 4.0).

Highlights

  • Foundation (final): JasperFx 2.0.0 / JasperFx.RuntimeCompiler 5.0.0 / Marten 9.0.0 / Polecat 4.0.0 / Weasel 9.0.0. Targets net9.0;net10.0.
  • Runtime codegen decoupled from core (BREAKING): WolverineFx no longer ships Roslyn. Apps in the default TypeLoadMode.Dynamic must add WolverineFx.RuntimeCompilation, or pre-generate via codegen write + TypeLoadMode.Static (the trimmer then drops Roslyn). See the migration guide.
  • ServiceLocationPolicy.NotAllowed is the default (BREAKING) — restructure registrations, allow-list per type, or call opts.RestoreV5Defaults() to revert.
  • AOT-clean (pillar #​213): every packaged library carries IsAotCompatible=true (except the intentional WolverineFx.RuntimeCompilation); Static-mode publish drops Roslyn.
  • Cold-start (pillar #​212): Tier-1 pre-generated static handler registry skips handler-discovery scanning in Static mode.
  • Newtonsoft extracted to WolverineFx.Newtonsoft / WolverineFx.Http.Newtonsoft; IForwardsTo<T> discovery now explicit; removed [Obsolete] APIs (EventForwardingToWolverine, RedisTransport.BuildRedisStreamUri, PulsarEndpoint.UriFor).

Migration guide: https://wolverinefx.net/guide/migration.html (or docs/guide/migration.md). Master plan: wolverine#​2715. Remaining release-cut comms items tracked in #​2745.

5.39.1

Fixed a regression problem reported here JasperFx/wolverine#2739

Full Changelog: JasperFx/wolverine@V5.39.0...V5.39.1

5.39.0

What's Changed

New Contributors

Full Changelog: JasperFx/wolverine@V5.38.0...V5.39.0

5.38.0

What's Changed

Full Changelog: JasperFx/wolverine@V5.37.2...V5.38.0

5.37.2

What's Changed

Full Changelog: JasperFx/wolverine@V5.37.0...V5.37.2

5.37.0

What's Changed

Full Changelog: JasperFx/wolverine@v5.36.1...V5.37.0

Commits viewable in compare view.

Pinned WolverineFx.FluentValidation at 6.0.2.

Release notes

Sourced from WolverineFx.FluentValidation's releases.

6.0.0

Wolverine 6.0.0 — Critter Stack 2026

The messaging/orchestration release completing the Critter Stack 2026 wave, on the final foundation (JasperFx 2.0 / Weasel 9.0 / Marten 9.0 / Polecat 4.0).

Highlights

  • Foundation (final): JasperFx 2.0.0 / JasperFx.RuntimeCompiler 5.0.0 / Marten 9.0.0 / Polecat 4.0.0 / Weasel 9.0.0. Targets net9.0;net10.0.
  • Runtime codegen decoupled from core (BREAKING): WolverineFx no longer ships Roslyn. Apps in the default TypeLoadMode.Dynamic must add WolverineFx.RuntimeCompilation, or pre-generate via codegen write + TypeLoadMode.Static (the trimmer then drops Roslyn). See the migration guide.
  • ServiceLocationPolicy.NotAllowed is the default (BREAKING) — restructure registrations, allow-list per type, or call opts.RestoreV5Defaults() to revert.
  • AOT-clean (pillar #​213): every packaged library carries IsAotCompatible=true (except the intentional WolverineFx.RuntimeCompilation); Static-mode publish drops Roslyn.
  • Cold-start (pillar #​212): Tier-1 pre-generated static handler registry skips handler-discovery scanning in Static mode.
  • Newtonsoft extracted to WolverineFx.Newtonsoft / WolverineFx.Http.Newtonsoft; IForwardsTo<T> discovery now explicit; removed [Obsolete] APIs (EventForwardingToWolverine, RedisTransport.BuildRedisStreamUri, PulsarEndpoint.UriFor).

Migration guide: https://wolverinefx.net/guide/migration.html (or docs/guide/migration.md). Master plan: wolverine#​2715. Remaining release-cut comms items tracked in #​2745.

5.39.1

Fixed a regression problem reported here JasperFx/wolverine#2739

Full Changelog: JasperFx/wolverine@V5.39.0...V5.39.1

5.39.0

What's Changed

New Contributors

Full Changelog: JasperFx/wolverine@V5.38.0...V5.39.0

5.38.0

What's Changed

Full Changelog: JasperFx/wolverine@V5.37.2...V5.38.0

5.37.2

What's Changed

Full Changelog: JasperFx/wolverine@V5.37.0...V5.37.2

5.37.0

What's Changed

Full Changelog: JasperFx/wolverine@v5.36.1...V5.37.0

Commits viewable in compare view.

Updated WolverineFx.Postgresql from 5.36.2 to 6.0.2.

Release notes

Sourced from WolverineFx.Postgresql's releases.

6.0.0

Wolverine 6.0.0 — Critter Stack 2026

The messaging/orchestration release completing the Critter Stack 2026 wave, on the final foundation (JasperFx 2.0 / Weasel 9.0 / Marten 9.0 / Polecat 4.0).

Highlights

  • Foundation (final): JasperFx 2.0.0 / JasperFx.RuntimeCompiler 5.0.0 / Marten 9.0.0 / Polecat 4.0.0 / Weasel 9.0.0. Targets net9.0;net10.0.
  • Runtime codegen decoupled from core (BREAKING): WolverineFx no longer ships Roslyn. Apps in the default TypeLoadMode.Dynamic must add WolverineFx.RuntimeCompilation, or pre-generate via codegen write + TypeLoadMode.Static (the trimmer then drops Roslyn). See the migration guide.
  • ServiceLocationPolicy.NotAllowed is the default (BREAKING) — restructure registrations, allow-list per type, or call opts.RestoreV5Defaults() to revert.
  • AOT-clean (pillar #​213): every packaged library carries IsAotCompatible=true (except the intentional WolverineFx.RuntimeCompilation); Static-mode publish drops Roslyn.
  • Cold-start (pillar #​212): Tier-1 pre-generated static handler registry skips handler-discovery scanning in Static mode.
  • Newtonsoft extracted to WolverineFx.Newtonsoft / WolverineFx.Http.Newtonsoft; IForwardsTo<T> discovery now explicit; removed [Obsolete] APIs (EventForwardingToWolverine, RedisTransport.BuildRedisStreamUri, PulsarEndpoint.UriFor).

Migration guide: https://wolverinefx.net/guide/migration.html (or docs/guide/migration.md). Master plan: wolverine#​2715. Remaining release-cut comms items tracked in #​2745.

5.39.1

Fixed a regression problem reported here JasperFx/wolverine#2739

Full Changelog: JasperFx/wolverine@V5.39.0...V5.39.1

5.39.0

What's Changed

New Contributors

Full Changelog: JasperFx/wolverine@V5.38.0...V5.39.0

5.38.0

What's Changed

Full Changelog: JasperFx/wolverine@V5.37.2...V5.38.0

5.37.2

What's Changed

Full Changelog: JasperFx/wolverine@V5.37.0...V5.37.2

5.37.0

What's Changed

Full Changelog: JasperFx/wolverine@v5.36.1...V5.37.0

Commits viewable in compare view.

Pinned WolverineFx.SqlServer at 6.0.2.

Release notes

Sourced from WolverineFx.SqlServer's releases.

6.0.0

Wolverine 6.0.0 — Critter Stack 2026

The messaging/orchestration release completing the Critter Stack 2026 wave, on the final foundation (JasperFx 2.0 / Weasel 9.0 / Marten 9.0 / Polecat 4.0).

Highlights

  • Foundation (final): JasperFx 2.0.0 / JasperFx.RuntimeCompiler 5.0.0 / Marten 9.0.0 / Polecat 4.0.0 / Weasel 9.0.0. Targets net9.0;net10.0.
  • Runtime codegen decoupled from core (BREAKING): WolverineFx no longer ships Roslyn. Apps in the default TypeLoadMode.Dynamic must add WolverineFx.RuntimeCompilation, or pre-generate via codegen write + TypeLoadMode.Static (the trimmer then drops Roslyn). See the migration guide.
  • ServiceLocationPolicy.NotAllowed is the default (BREAKING) — restructure registrations, allow-list per type, or call opts.RestoreV5Defaults() to revert.
  • AOT-clean (pillar #​213): every packaged library carries IsAotCompatible=true (except the intentional WolverineFx.RuntimeCompilation); Static-mode publish drops Roslyn.
  • Cold-start (pillar #​212): Tier-1 pre-generated static handler registry skips handler-discovery scanning in Static mode.
  • Newtonsoft extracted to WolverineFx.Newtonsoft / WolverineFx.Http.Newtonsoft; IForwardsTo<T> discovery now explicit; removed [Obsolete] APIs (EventForwardingToWolverine, RedisTransport.BuildRedisStreamUri, PulsarEndpoint.UriFor).

Migration guide: https://wolverinefx.net/guide/migration.html (or docs/guide/migration.md). Master plan: wolverine#​2715. Remaining release-cut comms items tracked in #​2745.

5.39.1

Fixed a regression problem reported here JasperFx/wolverine#2739

Full Changelog: JasperFx/wolverine@V5.39.0...V5.39.1

5.39.0

What's Changed

New Contributors

Full Changelog: JasperFx/wolverine@V5.38.0...V5.39.0

5.38.0

What's Changed

Full Changelog: JasperFx/wolverine@V5.37.2...V5.38.0

5.37.2

What's Changed

Full Changelog: JasperFx/wolverine@V5.37.0...V5.37.2

5.37.0

What's Changed

Full Changelog: JasperFx/wolverine@v5.36.1...V5.37.0

Commits viewable in compare view.

Summary by CodeRabbit

  • Chores
    • Upgraded WolverineFx framework and all related integration packages including Azure Service Bus, Entity Framework Core, Fluent Validation, SQL Server, and PostgreSQL connectors from version 5.36.2 to 6.0.2. This ensures consistent version management and feature alignment across all core services and data access layers.

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 26, 2026

Labels

The following labels could not be found: dependencies, nuget. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot requested a review from emeraldleaf as a code owner May 26, 2026 05:18
@codecov
Copy link
Copy Markdown

codecov Bot commented May 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Bumps WolverineFx from 5.36.2 to 6.0.2
Bumps WolverineFx.AzureServiceBus from 5.36.2 to 6.0.2
Bumps WolverineFx.EntityFrameworkCore from 5.36.2 to 6.0.2
Bumps WolverineFx.FluentValidation from 5.36.2 to 6.0.2
Bumps WolverineFx.Postgresql from 5.36.2 to 6.0.2
Bumps WolverineFx.SqlServer from 5.36.2 to 6.0.2

---
updated-dependencies:
- dependency-name: WolverineFx
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: wolverine
- dependency-name: WolverineFx.AzureServiceBus
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: wolverine
- dependency-name: WolverineFx.EntityFrameworkCore
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: wolverine
- dependency-name: WolverineFx.FluentValidation
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: wolverine
- dependency-name: WolverineFx.Postgresql
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: wolverine
- dependency-name: WolverineFx.SqlServer
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: wolverine
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump the wolverine group with 6 updates Bump WolverineFx and 5 others May 26, 2026
@dependabot dependabot Bot force-pushed the dependabot/nuget/wolverine-e3b7346c97 branch from 67501b5 to 26ffe5e Compare May 26, 2026 05:37
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 1, 2026

Review Change Stack

Walkthrough

This PR updates centrally managed WolverineFx package versions from 5.36.2 to 6.0.2. The core WolverineFx package and all six related integration packages (Azure Service Bus, Entity Framework Core, FluentValidation, SQL Server, and PostgreSQL) are upgraded uniformly in the Directory.Packages.props file.

Changes

WolverineFx Version Upgrade

Layer / File(s) Summary
Package version update
Directory.Packages.props
WolverineFx core package and related integration packages (AzureServiceBus, EntityFrameworkCore, FluentValidation, SqlServer, Postgresql) are updated from version 5.36.2 to 6.0.2 in the Messaging section of centrally managed package versions.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • emeraldleaf
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Bump WolverineFx and 5 others' directly and clearly summarizes the main change—a version upgrade of six WolverineFx-related packages from 5.36.2 to 6.0.2.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/nuget/wolverine-e3b7346c97

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

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@Directory.Packages.props`:
- Around line 26-31: Wolverine 6 defaults to TypeLoadMode.Dynamic and
ServiceLocationPolicy.NotAllowed which risks runtime codegen failure; either add
the WolverineFx.RuntimeCompilation package (add PackageVersion
Include="WolverineFx.RuntimeCompilation" Version="6.0.x") or explicitly
configure Wolverine to use TypeLoadMode.Static in your startup configuration
(where Wolverine is configured), and also audit any usages that assume the
previous ServiceLocationPolicy default and update them to work with
ServiceLocationPolicy.NotAllowed or explicitly set ServiceLocationPolicy to the
desired value; finally verify you only add Newtonsoft integration packages
(WolverineFx.Newtonsoft / WolverineFx.Http.Newtonsoft) if actually needed.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: eb54aa8c-21e7-4cea-9b42-2235b58b12fc

📥 Commits

Reviewing files that changed from the base of the PR and between f114811 and 568e62d.

📒 Files selected for processing (1)
  • Directory.Packages.props

Comment thread Directory.Packages.props
Comment on lines +26 to +31
<PackageVersion Include="WolverineFx" Version="6.0.2" />
<PackageVersion Include="WolverineFx.AzureServiceBus" Version="6.0.2" />
<PackageVersion Include="WolverineFx.EntityFrameworkCore" Version="6.0.2" />
<PackageVersion Include="WolverineFx.FluentValidation" Version="6.0.2" />
<PackageVersion Include="WolverineFx.SqlServer" Version="6.0.2" />
<PackageVersion Include="WolverineFx.Postgresql" Version="6.0.2" />
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical | 🏗️ Heavy lift

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Check for TypeLoadMode.Dynamic usage that would require WolverineFx.RuntimeCompilation

echo "=== Checking for TypeLoadMode.Dynamic usage ==="
rg -n 'TypeLoadMode\.Dynamic' --type=cs

echo -e "\n=== Checking if WolverineFx.RuntimeCompilation is referenced ==="
rg -n 'WolverineFx\.RuntimeCompilation' --glob '*.csproj'

echo -e "\n=== Checking for explicit TypeLoadMode configuration ==="
rg -n 'TypeLoadMode' --type=cs -C3

Repository: emeraldleaf/NextAurora

Length of output: 238


🏁 Script executed:

#!/bin/bash
# Description: Check for Newtonsoft.Json usage with Wolverine and verify target frameworks

echo "=== Checking for Newtonsoft.Json usage in Wolverine configuration ==="
rg -n 'Newtonsoft|JsonConvert' --type=cs --glob '**/Program.cs' -C3

echo -e "\n=== Checking target frameworks in consuming projects ==="
fd -e csproj --exec sh -c 'echo "File: {}" && grep -n "TargetFramework" {}'

echo -e "\n=== Checking for ServiceLocationPolicy usage ==="
rg -n 'ServiceLocationPolicy' --type=cs -C3

Repository: emeraldleaf/NextAurora

Length of output: 1572


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== TargetFramework / TargetFrameworks in all csproj ==="
python3 - <<'PY'
import pathlib, xml.etree.ElementTree as ET, re
root = pathlib.Path(".")
paths = list(root.glob("**/*.csproj"))
def norms(v):
    return [x.strip() for x in re.split(r"[;,\s]+", v.strip()) if x.strip()]
for p in sorted(paths):
    try:
        txt = p.read_text(encoding="utf-8", errors="ignore")
        # Quick prune: skip if neither tag appears
        if "TargetFrameworks" not in txt and "TargetFramework" not in txt:
            continue
        tree = ET.parse(p)
        r = tree.getroot()
        # Default namespace handling
        ns = ""
        if r.tag.startswith("{"):
            ns = r.tag.split("}")[0][1:]
        def findall(tag):
            if ns:
                return r.findall(f".//{{{ns}}}{tag}")
            return r.findall(f".//{tag}")
        vals=[]
        # Prefer TargetFrameworks
        for el in findall("TargetFrameworks"):
            if el.text and el.text.strip():
                vals += norms(el.text)
        if not vals:
            for el in findall("TargetFramework"):
                if el.text and el.text.strip():
                    vals += norms(el.text)
        if vals:
            print(f"{p}: {','.join(vals)}")
    except Exception as e:
        print(f"{p}: ERROR {e}")
PY

echo "=== Any TypeLoadMode / ServiceLocationPolicy mentions anywhere (cs only) ==="
rg -n 'TypeLoadMode|ServiceLocationPolicy' --type=cs || true

echo "=== WolverineFx.RuntimeCompilation package refs ==="
rg -n 'WolverineFx\.RuntimeCompilation' --glob '*.csproj' --glob '!**/bin/**' --glob '!**/obj/**' || true

echo "=== WolverineFx.Newtonsoft package refs (Directory.Packages.props + csproj) ==="
rg -n 'WolverineFx\.(Newtonsoft|Http\.Newtonsoft)' Directory.Packages.props --glob '*.csproj' || true

Repository: emeraldleaf/NextAurora

Length of output: 403


🌐 Web query:

WolverineFx 6.0 TypeLoadMode default Static or Dynamic ServiceLocationPolicy default NotAllowed TypeLoadMode.Dynamic requires WolverineFx.RuntimeCompilation

💡 Result:

In WolverineFx 6.0, the configuration defaults are as follows: TypeLoadMode Default: The default is TypeLoadMode.Dynamic [1][2]. ServiceLocationPolicy Default: The default is ServiceLocationPolicy.NotAllowed [3][4]. WolverineFx.RuntimeCompilation Requirement: Yes, TypeLoadMode.Dynamic (as well as TypeLoadMode.Auto) requires the WolverineFx.RuntimeCompilation package [1][2]. In Wolverine 6.0, the core WolverineFx library no longer includes the Roslyn-based compiler or registers a default IAssemblyGenerator [1][2]. Referencing the WolverineFx.RuntimeCompilation package is sufficient to enable this, as it contains a [WolverineModule] that Wolverine auto-discovers at startup to register the necessary compiler [1][2]. Conversely, if you use TypeLoadMode.Static—where all generated code is pre-built into the application assembly—you do not need the WolverineFx.RuntimeCompilation package, allowing your application to ship without a dependency on Roslyn [1][2].

Citations:


Fix WolverineFx 6.0 upgrade risk: default Dynamic codegen + NotAllowed service location

  • No TypeLoadMode or ServiceLocationPolicy configuration is present in the repo, so Wolverine 6 defaults apply (TypeLoadMode.Dynamic, ServiceLocationPolicy.NotAllowed).
  • Wolverine 6 requires WolverineFx.RuntimeCompilation when using TypeLoadMode.Dynamic; the repo has no WolverineFx.RuntimeCompilation package reference, so startup/runtime codegen can fail.
  • TargetFramework is net10.0 across projects, which is compatible with Wolverine 6’s supported targets.

Action:

  • Add WolverineFx.RuntimeCompilation or configure Wolverine to use TypeLoadMode.Static.
  • Audit/adjust any behavior relying on the old ServiceLocationPolicy default.
  • Ensure Newtonsoft integration packages are only added if needed (no WolverineFx.Newtonsoft / WolverineFx.Http.Newtonsoft references found).
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@Directory.Packages.props` around lines 26 - 31, Wolverine 6 defaults to
TypeLoadMode.Dynamic and ServiceLocationPolicy.NotAllowed which risks runtime
codegen failure; either add the WolverineFx.RuntimeCompilation package (add
PackageVersion Include="WolverineFx.RuntimeCompilation" Version="6.0.x") or
explicitly configure Wolverine to use TypeLoadMode.Static in your startup
configuration (where Wolverine is configured), and also audit any usages that
assume the previous ServiceLocationPolicy default and update them to work with
ServiceLocationPolicy.NotAllowed or explicitly set ServiceLocationPolicy to the
desired value; finally verify you only add Newtonsoft integration packages
(WolverineFx.Newtonsoft / WolverineFx.Http.Newtonsoft) if actually needed.

@emeraldleaf
Copy link
Copy Markdown
Owner

Closing — Wolverine 6.0 is a major version bump with breaking changes (the runtime code generator was split into a separate `WolverineFx.RuntimeCompilation` package per GH-2876). Every integration test fails at host startup with `No IAssemblyGenerator (Roslyn) is registered`.

The migration shouldn't ride on a Dependabot bump — it needs a dedicated PR that:

  • Adds WolverineFx.RuntimeCompilation OR switches to TypeLoadMode.Static + a codegen write CI step
  • Reads the rest of the 6.0 release notes for other breaking changes
  • Verifies the saga path, outbox, and AddConcurrencyRetry still behave

Reopen as a tracked issue when ready. Will also add a Dependabot ignore rule for WolverineFx major versions so future weekly runs only suggest 5.x patches.

@emeraldleaf emeraldleaf closed this Jun 1, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Jun 1, 2026

This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests.

To ignore these dependencies, configure ignore rules in dependabot.yml

@dependabot dependabot Bot deleted the dependabot/nuget/wolverine-e3b7346c97 branch June 1, 2026 01:02
emeraldleaf added a commit that referenced this pull request Jun 1, 2026
Wolverine 6.0 (PR #34) split the runtime code generator into a separate
WolverineFx.RuntimeCompilation package (GH-2876). Every integration test
in PR #34 failed at host startup with "no IAssemblyGenerator (Roslyn) is
registered" — a major-version migration, not a Dependabot pickup.

Stay on 5.x until the project does a dedicated 6.0 migration PR (read
release notes end-to-end, choose dynamic-compilation package vs.
TypeLoadMode.Static + codegen-write CI step, verify saga + outbox +
AddConcurrencyRetry paths). Dependabot will continue suggesting 5.x
minor/patch bumps via the existing wolverine group.

Adding majors to ignore is the pattern for any package whose major
versions ship known migration surface area; add others as they break
the build under a Dependabot rebase.

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
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.

1 participant