Release v2.0.0-rc.1: Major modernization with .NET 9 support and secu… #34
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…rity improvements
This release candidate represents a comprehensive modernization of the Updown.io .NET Client.
Major Features
Added .NET 9 support (net9.0 target framework)
Enabled nullable reference types across entire codebase
Implemented all missing API endpoints (Downtimes, Metrics, Nodes)
Added custom exception types for better error handling
Created comprehensive documentation (Architecture, API Reference, Contributing)
API Improvements
All async methods now have 'Async' suffix and CancellationToken support
All model properties renamed to PascalCase (backward compatible)
Added UpdownClientBuilder for thread-safe HttpClient configuration
Improved error handling with specific exception types
Security Enhancements
Manual test files now use environment variables for API keys
Enhanced .gitignore to prevent secret leaks
Added .env.example template for secure local development
Updated SECURITY.md with comprehensive guidelines
Created test documentation with security best practices
Testing
All 49 tests passing on .NET 6, 8, and 9
Added comprehensive tests for new API endpoints
Added error scenario and edge case tests
Improved test quality and readability
Documentation
Enhanced README with real-world examples
Created docs/ARCHITECTURE.md
Created docs/API_REFERENCE.md
Created docs/CONTRIBUTING.md
Created test/UpdownDotNetTests/README.md
Added CHANGELOG.md with detailed release notes
Breaking Changes (Mitigated)
Old methods/properties marked [Obsolete] but still functional
Clear migration path documented
Backward compatibility maintained where possible
GitHub Actions
Updated workflows to support .NET 9
Both build-and-test.yml and build-test-nuget.yml updated