Skip to content

Conversation

@danielmackay
Copy link
Member

@danielmackay danielmackay commented Dec 8, 2025

This pull request primarily updates several NuGet package dependencies to their latest versions and makes minor adjustments to the test database initialization logic to accommodate changes in the Respawn library. These updates help ensure compatibility, improve stability, and take advantage of the latest features and bug fixes.

Dependency updates:

  • Updated several core package versions in Directory.Packages.props, including FastEndpoints, FastEndpoints.Swagger, FluentValidation.DependencyInjectionExtensions, Vogen, Bogus, and multiple OpenTelemetry packages. This keeps the project up-to-date with the latest improvements and bug fixes. [1] [2]
  • Updated test/development dependencies, such as AwesomeAssertions, Respawn, Testcontainers.MsSql, and Polly, to their latest versions in Directory.Packages.props.

Test infrastructure adjustments:

  • Modified the TestDatabase class in tests/WebApi.IntegrationTests/Common/Infrastructure/Database/TestDatabase.cs to use an open SqlConnection instance when creating and resetting the Respawner checkpoint, aligning with the new Respawn API requirements.

@danielmackay danielmackay requested a review from Copilot December 8, 2025 12:12
@danielmackay danielmackay merged commit 083bcd8 into main Dec 8, 2025
6 checks passed
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates multiple NuGet packages to their latest versions and adapts the test database infrastructure to accommodate breaking API changes in Respawn 7.0.0, which now requires passing open database connections instead of connection strings.

  • Updated 13 NuGet packages including Respawn (6.2.1 → 7.0.0), FastEndpoints (7.0.1 → 7.1.1), and OpenTelemetry packages (1.13.x → 1.14.0)
  • Modified database connection handling in test infrastructure to pass open SqlConnection objects to Respawn methods
  • Implemented proper async resource disposal patterns with await using for connection management

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
Directory.Packages.props Updates 13 package versions including FastEndpoints, FluentValidation, Vogen, Bogus, OpenTelemetry instrumentation packages, AwesomeAssertions, Respawn, Testcontainers, and Polly
tests/WebApi.IntegrationTests/Common/Infrastructure/Database/TestDatabase.cs Adapts to Respawn 7.0.0 API by creating and opening SqlConnection objects before passing them to Respawner.CreateAsync() and ResetAsync() methods

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants