Skip to content

V2.5.1 - #17

Merged
kampute merged 7 commits into
masterfrom
v2.5.1
Jul 7, 2026
Merged

V2.5.1#17
kampute merged 7 commits into
masterfrom
v2.5.1

Conversation

@kampute

@kampute kampute commented Jul 7, 2026

Copy link
Copy Markdown
Owner

This pull request introduces several documentation improvements, version bumps for serializer extension packages, and a minor reliability fix in the HTTP client core. The main highlights are the addition of a comprehensive documentation homepage, improved and corrected links in the README.md, and updated package versions for all serializer extensions to 2.5.1. Additionally, a cancellation check was added to the HTTP retry logic for better responsiveness.

Documentation and User Guidance Improvements:

  • Added a new docs/welcome.md file providing an in-depth overview, quick start, and usage examples for Kampute.HttpClient, including explanations of core features, serializer packages, retry strategies, error handling, and extensibility.
  • Updated README.md to correct and improve links to documentation and serializer extension packages, ensuring users are directed to the correct HTML documentation pages. [1] [2]

Build and Packaging Updates:

  • Bumped version numbers for all serializer extension packages (Kampute.HttpClient.Json, Kampute.HttpClient.NewtonsoftJson, Kampute.HttpClient.Xml, Kampute.HttpClient.DataContract) from 2.5.0 to 2.5.1 to reflect recent changes. [1] [2] [3] [4]

Documentation Build System Enhancements:

  • Updated kampose.json to include documentation topics, adjust asset paths, and improve footer information for the generated documentation site. [1] [2]

Khojasteh added 7 commits July 7, 2026 18:36
Treat non-caller TaskCanceledException failures as request timeouts and route them through the existing backoff retry flow.

Keep caller cancellation behavior unchanged so explicitly canceled requests are not retried.

Add tests for retrying timed-out requests and for avoiding retries when cancellation comes from the caller.
Cover JSON, Newtonsoft.Json, XML, and DataContract XML requests using gzip and deflate content.

Verify retries preserve compressed serialized request bodies after connection failures and request timeouts.

Verify caller cancellation does not retry compressed serialized requests.
Test helper utilities have been moved from individual test projects to a new shared Kampute.HttpClient.TestSupport project. All test projects now reference this shared library. Test code has been updated to use the new helpers for mocking, compressed content, and retry strategies, improving maintainability and consistency. Some test assertions were refined for clarity and reliability.
@kampute
kampute merged commit 2eb29f1 into master Jul 7, 2026
1 check passed
@kampute
kampute deleted the v2.5.1 branch July 7, 2026 13:13
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