Skip to content

Conversation

@WeihanLi
Copy link
Owner

This pull request introduces several key improvements to documentation, dependency management, and project setup for the dotnet-httpie project. The most significant changes are a comprehensive rewrite of the README.md to better showcase features and usage, updates to package dependencies for stability and compatibility, and the addition of new workflow and agent configuration files to support development and Copilot integration.

Documentation and Usage Improvements

  • Major rewrite of README.md with clearer feature highlights, improved quick start instructions, expanded examples, advanced usage, Docker integration, and contribution guidelines. The new documentation is more user-friendly and covers all major aspects of the tool.
  • Added .github/copilot-instructions.md to provide detailed instructions for building, testing, validating, and troubleshooting dotnet-httpie, including recommended workflows and environment setup steps.

Dependency and Build Updates

  • Updated package versions in Directory.Packages.props for improved stability and compatibility, including upgrades to System.CommandLine, WeihanLi.Common, Microsoft.NET.Test.Sdk, xunit.v3, and Xunit.DependencyInjection.
  • Bumped the minor version in build/version.props from 14 to 15 to reflect the new release.

Workflow and Agent Configuration

  • Added .github/workflows/copilot-setup-steps.yml to automate Copilot environment setup, including multi-version .NET SDK installation and repository checkout for improved CI/CD integration.
  • Added .github/agents/dotnet-agent.md to define a dotnet expert agent, outlining guidance and best practices for C# development and testing.
  • Updated the Create Pull Request step in .github/workflows/dotnet-outdated.yml to use a newer version of the action (v7), and changed PR labels from automated pr to dependencies for better tracking.

WeihanLi and others added 30 commits September 12, 2025 00:29
…g for Basic Auth vs JSON login data

Co-authored-by: WeihanLi <[email protected]>
Add comprehensive GitHub Copilot instructions for dotnet-httpie repository
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 pull request introduces version 0.15.0 of dotnet-httpie, delivering significant improvements in documentation, dependency management, streaming support, and developer tooling. The release focuses on enhancing user experience through comprehensive documentation rewrites and adding new HTTP streaming capabilities.

  • Enhanced Documentation: Complete rewrite of README.md and addition of extensive documentation covering installation, usage patterns, Docker integration, CI/CD, authentication, and troubleshooting
  • Streaming Support: New --stream flag implementation for real-time response body streaming (text responses only)
  • Dependency Updates: Upgraded to stable versions of System.CommandLine (2.0.0), WeihanLi.Common (1.0.84), and updated test frameworks
  • Developer Experience: Added Copilot integration files and improved build automation

Reviewed changes

Copilot reviewed 29 out of 30 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
src/HTTPie/Implement/RequestExecutor.cs Adds streaming mode support with new --stream option and InvokeStreamingRequest method for real-time response output
src/HTTPie/Utilities/Helpers.cs Updates HTTP version formatting and adds early streaming mode detection for test scenarios
src/HTTPie/Utilities/Constants.cs Adds flag constants for streaming mode tracking
src/HTTPie/Models/HttpResponseModel.cs Changes Bytes property from init to set to support streaming scenarios
src/HTTPie/Middleware/RequestDataMiddleware.cs Adds AOT compilation attributes for JSON operations
src/HTTPie/Implement/OutputFormatter.cs Updates verbose option description and HTTP version output formatting
tests/HTTPie.UnitTest/Utilities/HelpersTest.cs Adds unit tests for streaming option recognition
tests/Directory.Build.props Comments out Microsoft Testing Platform runner
Directory.Packages.props Updates dependencies to stable versions
build/version.props Bumps version from 0.14 to 0.15
build.sh New build script using dotnet-execute tool
README.md Complete restructuring with modern formatting, comprehensive examples, and better organization
docs/articles/*.md Extensive new documentation files covering all aspects of the tool
.github/workflows/dotnet-outdated.yml Updates to create-pull-request action v7 and changes PR labels
.github/workflows/copilot-setup-steps.yml New workflow for Copilot environment setup
.github/copilot-instructions.md Comprehensive instructions for GitHub Copilot integration
.github/agents/dotnet-agent.md Agent definition for dotnet expertise
src/Directory.Build.props Simplifies CI build detection to use CI environment variable

WeihanLi and others added 3 commits November 23, 2025 00:15
Co-authored-by: Copilot <[email protected]>
Removed  duplicate bash code block markers from examples.
@WeihanLi WeihanLi marked this pull request as draft November 22, 2025 16:23
@WeihanLi
Copy link
Owner Author

WeihanLi commented Dec 3, 2025

@copilot keep it aot-compatible

Copy link
Contributor

Copilot AI commented Dec 3, 2025

@WeihanLi I've opened a new pull request, #128, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI commented Dec 3, 2025

@WeihanLi I've opened a new pull request, #129, to work on those changes. Once the pull request is ready, I'll request review from you.

@WeihanLi WeihanLi marked this pull request as ready for review December 3, 2025 12:03
Copy link
Owner Author

@WeihanLi WeihanLi left a comment

Choose a reason for hiding this comment

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

LGTM

@WeihanLi WeihanLi merged commit 82f0b7b into main Dec 3, 2025
7 checks passed
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