Bump MediatR from 12.5.0 to 14.1.0#33
Conversation
--- updated-dependencies: - dependency-name: MediatR dependency-version: 14.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
|
@claude review pr |
|
Claude finished @flydyk's task in 2m 43s —— View job PR Review: Bump MediatR 12.5.0 → 14.1.0
SummaryDo not merge this PR as-is. The version jump from 12.5.0 → 14.1.0 skips MediatR 13.0.0, which introduced a mandatory license key and a new CI Status
Issue 1 — Unit test failure (blocking) ❌Test: Error: MediatR 13.0+ introduced a license-checking mechanism that requires
var services = new ServiceCollection();
// ← Missing: services.AddLogging();
services.AddApplication();The integration tests pass (5/5) because Fix is a one-liner, but it's moot until the licensing question below is resolved. Fix this → Issue 2 — License key not configured (blocking)
|
|
Closing — not upgrading MediatR. MediatR moved to a commercial license at v13+ (the The consolidated dependency PR #36:
If a MediatR commercial license is acquired later, lift that ignore rule. |
|
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 If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
…license) (#36) * chore(deps): bump backend NuGet packages (MediatR held at 12.x) Consolidates Dependabot backend PRs: - FluentValidation + DI ext 11.11 -> 12.1.1 (#31) - Mapster 7.4 -> 10.0.7 (#32) - AwesomeAssertions 8.0 -> 9.4.0 (#28) — namespace moved FluentAssertions -> AwesomeAssertions; updated GlobalUsings - Microsoft.NET.Test.Sdk 17.12 -> 18.6.0 (#34) - xunit.runner.visualstudio 2.8.2 -> 3.1.5 (#35) - coverlet.collector 6.0.2 -> 10.0.1 (#29) - xunit 2.9.2 -> 2.9.3, Microsoft.* runtime 10.0.0 -> 10.0.8 (#27) MediatR deliberately NOT bumped: v13+ is commercially licensed; the project pins 12.x to stay OSS-free (see dependabot.yml ignore rule). Verified: dotnet test -c Release -> 31 + 5 pass; no vulnerable packages. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * chore(deps): bump frontend toolchain + runtime majors (Vite 8, Vitest 4) Consolidates Dependabot frontend PRs: - vite 5 -> 8.0.16 (#25, now bundles via rolldown) - vitest 1 -> 4.1.8 (#22) - @vitejs/plugin-vue 5 -> 6.0.7 (#23) - vue-tsc 2 -> 3.3.3 (#20) - typescript 5.5 -> 6.0.3 (#18) - vue-router 4 -> 5.1.0 (#21) - pinia 2 -> 3.0.4 (#24) - @vue/test-utils 2.4.6 -> 2.4.11 (#17) - jsdom 24 -> 29.1.1 (#19) Code fixes required by the toolchain majors: - Add src/vite-env.d.ts (/// <reference types="vite/client" />): vue-tsc 3 / TS 6 now type-check side-effect CSS/SCSS imports in main.ts. - OakTree.vue: wire the <svg> through a stable function ref. vue-tsc 3 no longer counts a string ref="svgRef" (composable-owned) as a read, and a dynamic :ref auto-unwraps to the element; the function form is correct. - vite.config.ts: pin Vitest's worker pool to 'threads' (its Vitest-1 default); Vitest 4 changed it to 'forks', which times out spawning many child processes. Lockfile regenerated under Node 22 / npm 10 so platform-native rolldown bindings (incl. linux-x64-gnu/musl for CI) resolve. MediatR-equivalent licensing concern N/A here. Verified on Node 22.22.3: npm run build OK; vitest 21 files / 132 tests pass; npm audit -> 0 vulnerabilities. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * ci: codeql-action v4, pin MediatR (ignore majors), full npm audit - codeql.yml: github/codeql-action init+analyze v3 -> v4 (#16) - dependabot.yml: ignore MediatR semver-major bumps (v13+ is commercially licensed); 12.x minor/patch still flow. Closes the loop on #33. - ci.yml: drop `--omit=dev` from the npm audit gate now that the Vite 8 / Vitest 4 upgrade cleared the dev-toolchain advisories (full tree is clean). - docs/ci-cd/pr-quality-gates.md: document the full-tree audit + MediatR pin. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * chore(deps): upgrade MediatR 12.5.0 -> 14.1.0 (community license) A Lucky Penny Software community license was obtained, so MediatR is no longer held at the OSS 12.x line. - Directory.Packages.props: MediatR 14.1.0; add Microsoft.Extensions.Logging 10.0.8 (v14's license check resolves ILoggerFactory). - AddApplication: register AddLogging() so MediatR's license check works on a bare ServiceCollection (unit tests), and apply the license key when supplied. - Program.cs: pass MediatR:LicenseKey from configuration. - appsettings.json: document the MediatR:LicenseKey slot (blank; real key via user-secrets or MediatR__LicenseKey env var — never committed). - dependabot.yml: drop the MediatR semver-major ignore (now licensed). - Docs (runbook, design spec, CLAUDE.md): reflect MediatR 14.x + licensing. Verified: dotnet test -c Release -> 31 + 5 pass; no vulnerable packages. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> * chore: add UserSecretsId for MediatR license key (local dev) Enables `dotnet user-secrets set "MediatR:LicenseKey" "<key>"` so the Lucky Penny community license key is supplied locally without committing it. The id is not a secret. (Also tidies the csproj formatting that `user-secrets init` collapsed.) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Updated MediatR from 12.5.0 to 14.1.0.
Release notes
Sourced from MediatR's releases.
14.1.0
What's Changed
New Contributors
Full Changelog: LuckyPennySoftware/MediatR@v14.0.0...v14.1.0
14.0.0
What's Changed
Full Changelog: LuckyPennySoftware/MediatR@v13.1.0...v14.0.0
14.0.0-beta-1
What's Changed
Full Changelog: LuckyPennySoftware/MediatR@v13.1.0...v14.0.0-beta-1
This release is a beta release that introduces .NET 10 support and package signing. Signed packages means going forward packages can be validated against trusted authorities that the package has been published by Lucky Penny Software and not tampered with.
13.1.0
What's Changed
LightInject,StashBox,Lamarby @jithu7432 in Add DI tests forLightInject,StashBox,LamarLuckyPennySoftware/MediatR#1137New Contributors
Full Changelog: LuckyPennySoftware/MediatR@v13.0.0...v13.1.0
13.0.0
Full Changelog: LuckyPennySoftware/MediatR@v12.5.0...v13.0.0
To set your license key:
You can obtain your license key at MediatR.io
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)