Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Package Dependencies and Startup Classes #209

Merged
merged 2 commits into from
Jan 6, 2025
Merged

Conversation

axunonb
Copy link
Member

@axunonb axunonb commented Jan 6, 2025

Update Package Dependencies and Startup Classes

1. Enhancements:

  • Updated the LeagueStartup and UnitTestHelpers class to improve initialization and configuration of services for unit tests.
  • Ensured the database connection is properly opened and closed during initialization.
  • Enhanced logging configuration to capture message templates and properties using NLog.
  • Added localization support to the service provider for better handling of localized strings in tests.
  • Improved the GetStandardServiceProvider method to include additional services required for testing.

2. Package Updates:

  • Updated Microsoft.Extensions.Logging from 5.0.0 to 6.0.0.
  • Updated NLog.Extensions.Logging from 5.0.0 to 6.0.0.
  • Updated Microsoft.AspNetCore.TestHost from 5.0.0 to 6.0.0.
  • Added reference to Microsoft.Data.SqlClient 5.2.2, replacing obsolete classes in System.Data.SqlClient.

3. Code Cleanup:

  • Removed unused namespaces and organized using directives for better readability.
  • Added XML documentation comments to public methods and properties for better code documentation.

Bump version to v7.2.4

This commit includes the following changes:

#### 1. Unit Test Helpers Enhancements:
- Updated the `LeagueStartup` and `UnitTestHelpers` class to improve initialization and configuration of services for unit tests.
- Ensured the database connection is properly opened and closed during initialization.
- Enhanced logging configuration to capture message templates and properties using NLog.
- Added localization support to the service provider for better handling of localized strings in tests.
- Improved the `GetStandardServiceProvider` method to include additional services required for testing.

#### 2. Package Updates:
- Updated `Microsoft.Extensions.Logging` from `5.0.0` to `6.0.0`.
- Updated `NLog.Extensions.Logging` from `5.0.0` to `6.0.0`.
- Updated `Microsoft.AspNetCore.TestHost` from `5.0.0` to `6.0.0`.
- Added reference to `Microsoft.Data.SqlClient` `5.2.2`, replacing obsolete classes in `System.Data.SqlClient`.

#### 3. Code Cleanup:
- Removed unused namespaces and organized using directives for better readability.
- Added XML documentation comments to public methods and properties for better code documentation.
@axunonb axunonb merged commit 65c3e8e into main Jan 6, 2025
3 checks passed
Copy link

sonarqubecloud bot commented Jan 6, 2025

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.

1 participant