Skip to content

Bump Kamishibai.Hosting from 3.1.0 to 4.0.0 - #798

Merged
Freeesia merged 1 commit into
masterfrom
dependabot/nuget/Kamishibai.Hosting-4.0.0
Nov 17, 2026
Merged

Freeesia merged 1 commit into
masterfrom
dependabot/nuget/Kamishibai.Hosting-4.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Pinned Kamishibai.Hosting at 4.0.0.

Release notes

Sourced from Kamishibai.Hosting's releases.

4.0.0-for-WPF

KAMISHIBAI 4.0.0 for WPF

KAMISHIBAI 4.0.0 removes the mandatory Windows API Code Pack dependency and makes the file dialog implementation replaceable. This is a major release because the dependency injection graph and the default runtime implementation have changed.

Important compatibility information

Review these points before upgrading from KAMISHIBAI 3.x.

Existing file dialog interfaces remain unchanged

The following public interfaces and contexts retain their existing members:

  • IPresentationService
  • IPresentationServiceBase
  • IWindowService
  • OpenFileDialogContext
  • SaveFileDialogContext

Existing calls such as presentationService.OpenFile(context) and presentationService.SaveFile(context) do not need to be rewritten.

Dependency injection contains a breaking change

WindowService now requires an IFileDialogService. KamishibaiApplicationBuilder.Build() registers the default implementation automatically, but applications that instantiate WindowService directly or assemble the service graph themselves must register and supply IFileDialogService.

The default runtime implementation has changed

KAMISHIBAI 3.x used Microsoft-WindowsAPICodePack-Shell. KAMISHIBAI 4.0 uses the public Windows Common Item Dialog COM API directly. The standard open, multiple-selection, folder-selection, save, cancel, filter, custom-place, and extension behaviors are covered by integration tests, but applications can observe differences in native validation, exception details, or operating-system-dependent presentation.

Known limitations of the new default implementation:

  • AllowPropertyEditing has no corresponding public Common Item Dialog switch and is not applied.
  • IsExpandedMode maps to FOS_DEFAULTNOMINIMODE, which Windows 7 and later do not support.

The Code Pack is no longer transitively referenced by Kamishibai.View

Applications that used Code Pack APIs through KAMISHIBAI's transitive dependency must add an explicit dependency. Applications that require the exact KAMISHIBAI 3.1.0 dialog implementation should use the compatibility package.

Preserving the KAMISHIBAI 3.1.0 implementation

Install the new package:

dotnet add package Kamishibai.FileDialogs.WindowsApiCodePack --version 4.0.0

Register it before Build():

builder.Services.AddWindowsApiCodePackFileDialogs();
var app = builder.Build();
 ... (truncated)

Commits viewable in [compare view](https://github.com/nuitsjp/Kamishibai/commits).
</details>

@dependabot dependabot Bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Nov 13, 2026
---
updated-dependencies:
- dependency-name: Kamishibai.Hosting
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/nuget/Kamishibai.Hosting-4.0.0 branch from efb151e to 386bd96 Compare November 16, 2026 12:47
@Freeesia
Freeesia merged commit 7856da4 into master Nov 17, 2026
9 checks passed
@Freeesia
Freeesia deleted the dependabot/nuget/Kamishibai.Hosting-4.0.0 branch November 17, 2026 00:21
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