Skip to content

Shift.Database.Infrastructure v1.0.1

Choose a tag to compare

@github-actions github-actions released this 12 Sep 11:07
3157089

Shift.Database.Infrastructure v1.0.1

This release contains the Shift Database Infrastructure package with:

  • Lightweight health checks that don't trigger schema validation
  • Automatic retry logic for migrations
  • Multi-tenant database support with fault isolation
  • Circuit breaker pattern for tenant migrations
  • Connection pooling optimization
  • Tenant health caching to prevent cascading failures

Usage

Single-Tenant Services

builder.Services.AddShiftDatabase<YourDbContext>(options =>
{
    options.ServiceName = "your-service";
    options.EnableMigrations = true;
    options.EnableHealthChecks = true;
});

Multi-Tenant Services

builder.Services.AddShiftMultiTenantDatabase<YourDbContext>(options =>
{
    options.ServiceName = "your-service";
    options.MaxConcurrentMigrations = 3;
    options.FailStartupOnMigrationError = false;
});

Package Registry

Published to: https://github.com/BTShift/shift-database-infrastructure/packages