Skip to content

Bump Cratis from 19.7.2 to 19.9.1#423

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/nuget/Cratis-19.9.1
Closed

Bump Cratis from 19.7.2 to 19.9.1#423
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/nuget/Cratis-19.9.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 9, 2026

Updated Cratis from 19.7.2 to 19.9.1.

Release notes

Sourced from Cratis's releases.

19.9.1

Summary

Fixed

  • Resolved issues with incorrect import paths in generated TypeScript files and other issues when using single output file

19.9.0

Added

  • Added support for isInRole() for core TypeScript identity types and also what is returned by useIdentity() hook in React. This now gets roles that are populated by the backend and transferred to the identity.

  • Extension method IHostBuilder.UseInvariantCulture() in Arc.Core configures default thread cultures to InvariantCulture

  • Extension method WebApplicationBuilder.UseInvariantCulture() in Arc configures thread cultures and request localization to InvariantCulture only

  • Extension method WebApplication.UseInvariantCulture() in Arc applies invariant culture middleware to the request pipeline

    // ASP.NET Core
    var builder = WebApplication.CreateBuilder(args);
    builder.UseInvariantCulture();
    builder.AddCratisArc();
    
    var app = builder.Build();
    app.UseInvariantCulture();
    app.UseCratisArc();
    
    // Generic Host
    var builder = Host.CreateDefaultBuilder(args);
    builder.UseInvariantCulture();
    builder.AddCratisArcCore();
  • Hierarchical scope support - ICommandScope instances can be nested with parent property tracking the scope chain

  • Query tracking - Queries created via useQuery hook are automatically registered with nearest scope

  • isPerforming flag - Tracks real-time execution state for commands and queries

  • ViewModel DI integration - ICommandScope can be injected via tsyringe, receiving closest scope in component hierarchy

  • Status callbacks - CommandScope component accepts setIsPerforming and setHasChanges callbacks for state propagation

    // ViewModel injection
    @​injectable()
    export class MyViewModel {
        constructor(private readonly _commandScope: ICommandScope) {}
        
        get isLoading(): boolean {
            return this._commandScope.isPerforming;
        }
    }
    
    // Hierarchical scopes
    <CommandScope setHasChanges={setHasChanges} setIsPerforming={setIsPerforming}>
        <PageToolbar />
        <Section>
            <CommandScope>
                <SectionToolbar />
                <SectionContent />
            </CommandScope>
        </Section>
    </CommandScope>

... (truncated)

19.8.0

Added

  • Added support for isInRole() for core TypeScript identity types and also what is returned by useIdentity() hook in React. This now gets roles that are populated by the backend and transferred to the identity.

  • Extension method IHostBuilder.UseInvariantCulture() in Arc.Core configures default thread cultures to InvariantCulture

  • Extension method WebApplicationBuilder.UseInvariantCulture() in Arc configures thread cultures and request localization to InvariantCulture only

  • Extension method WebApplication.UseInvariantCulture() in Arc applies invariant culture middleware to the request pipeline

    // ASP.NET Core
    var builder = WebApplication.CreateBuilder(args);
    builder.UseInvariantCulture();
    builder.AddCratisArc();
    
    var app = builder.Build();
    app.UseInvariantCulture();
    app.UseCratisArc();
    
    // Generic Host
    var builder = Host.CreateDefaultBuilder(args);
    builder.UseInvariantCulture();
    builder.AddCratisArcCore();
  • Hierarchical scope support - ICommandScope instances can be nested with parent property tracking the scope chain

  • Query tracking - Queries created via useQuery hook are automatically registered with nearest scope

  • isPerforming flag - Tracks real-time execution state for commands and queries

  • ViewModel DI integration - ICommandScope can be injected via tsyringe, receiving closest scope in component hierarchy

  • Status callbacks - CommandScope component accepts setIsPerforming and setHasChanges callbacks for state propagation

    // ViewModel injection
    @​injectable()
    export class MyViewModel {
        constructor(private readonly _commandScope: ICommandScope) {}
        
        get isLoading(): boolean {
            return this._commandScope.isPerforming;
        }
    }
    
    // Hierarchical scopes
    <CommandScope setHasChanges={setHasChanges} setIsPerforming={setIsPerforming}>
        <PageToolbar />
        <Section>
            <CommandScope>
                <SectionToolbar />
                <SectionContent />
            </CommandScope>
        </Section>
    </CommandScope>

... (truncated)

19.7.3

Fixed

  • Updated the TypeScriptContentCombiner to ensure that per-type documentation is preserved and not mixed into the shared preamble section.

Commits viewable in compare view.

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: Cratis
  dependency-version: 19.9.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Mar 9, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 9, 2026

Looks like Cratis is updatable in another way, so this is no longer needed.

@dependabot dependabot bot closed this Mar 9, 2026
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.

0 participants