Upgrade to MinIO 5.0.0 and include built module

- Updated MinIO SDK from 3.1.13 to 5.0.0
- Fixed all compilation errors and warnings for MinIO 5.0.0 compatibility
- Updated API calls to use new Args-based patterns (PutObjectArgs, GetObjectArgs, etc.)
- Fixed type compatibility issues (DateTime, ulong conversions)
- Removed deprecated APIs (WithCancellation, ProgressReport)
- Updated System.Text.Json to 9.0.0 to resolve security vulnerabilities
- Added Module directory to repository with built PSMinIO.dll
- Module is now ready for distribution and testing
- All builds pass with 0 errors and 0 warnings
This commit is contained in:
PSMinIO Developer
2025-07-10 17:24:40 -04:00
parent 6c6db4fec0
commit 357c9a6437
35 changed files with 479 additions and 1364 deletions
+3 -3
View File
@@ -41,7 +41,7 @@ namespace PSMinIO.Cmdlets
protected override void ProcessRecord()
{
ValidateConnection();
ValidateBucketName(BucketName);
ValidateBucketNameForCreation(BucketName);
// Use region from parameter or configuration
var region = Region ?? Configuration.Region;
@@ -118,10 +118,10 @@ namespace PSMinIO.Cmdlets
}
/// <summary>
/// Validates the bucket name according to MinIO/S3 naming conventions
/// Validates the bucket name according to MinIO/S3 naming conventions for bucket creation
/// </summary>
/// <param name="bucketName">Bucket name to validate</param>
protected override void ValidateBucketName(string bucketName, string parameterName = "BucketName")
private void ValidateBucketNameForCreation(string bucketName, string parameterName = "BucketName")
{
base.ValidateBucketName(bucketName, parameterName);