Skip to content

Commit

Permalink
Prepare files for version 0.10 (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnperfors authored Dec 3, 2022
1 parent f05bdd4 commit 372121c
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 14 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to TestableHttpClient will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and
this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.10] - unplanned
## [0.10] - 2022-12-03
### Deprecated
- `ShouldHaveMadeRequestsTo(this TestableHttpMessageHandler, string, bool)` and `ShouldHaveMadeRequestsTo(this TestableHttpMessageHandler, string, bool, int)` have been deprecated. CaseInsensitivity is controlled by the `UriPatternMatchingOptions` that can be set on the `TestableHttpMessageHandler`.
- `WithRequestUri(this IHttpRequestMessagesCheck, string, bool)` and `WithRequestUri(this IHttpRequestMessagesCheck, string, bool, int)` have been deprecated. CaseInsensitivity is controlled by the `UriPatternMatchingOptions` that can be set on the `TestableHttpMessageHandler`.
Expand Down Expand Up @@ -269,6 +269,7 @@ this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Automatically build project when pushing changes to github and when creating a pull request
- Automatically deploy to NuGet when creating a tag in github

[0.10]: https://github.com/testablehttpclient/TestableHttpClient/compare/v0.9...v0.10
[0.9]: https://github.com/testablehttpclient/TestableHttpClient/compare/v0.8...v0.9
[0.8]: https://github.com/testablehttpclient/TestableHttpClient/compare/v0.7...v0.8
[0.7]: https://github.com/testablehttpclient/TestableHttpClient/compare/v0.6...v0.7
Expand Down
4 changes: 1 addition & 3 deletions docs/release-process.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ The documentation for the specific library should be placed in a `README.md` fil

## Changelog

Currently no official changelog is kept. The changelog described in the github release is manually created based on the commits since the last release.
The Changelog is kept in CHANGELOG.md and should be updated with every PR. On release a summary and the most important parts are mentioned.

For every release a milestone is created and all issues and PullRequests are linked to the milestone where they will appear in. This can than act as the official changelog.

Note that we currently don't use the changelog functionality of nuget itself, to prevent merge conflicts when multiple PR's need to be merged.

## Versioning

All packages in this repository use the same version, mainly because the libraries are meant as framework specific extensions of the `TestableHttpClient` library. Therefore it would only lead to confusion when version numbers differ from each other.
10 changes: 10 additions & 0 deletions src/TestableHttpClient/PublicAPI.Shipped.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#nullable enable
TestableHttpClient.TestableHttpMessageHandler
TestableHttpClient.TestableHttpMessageHandler.ClearRequests() -> void
TestableHttpClient.TestableHttpMessageHandler.Options.get -> TestableHttpClient.TestableHttpMessageHandlerOptions!
TestableHttpClient.TestableHttpMessageHandler.Requests.get -> System.Collections.Generic.IEnumerable<System.Net.Http.HttpRequestMessage!>!
TestableHttpClient.TestableHttpMessageHandler.RespondWith(TestableHttpClient.IResponse! response) -> void
Expand All @@ -10,6 +11,7 @@ TestableHttpClient.TestableHttpMessageHandlerOptions
TestableHttpClient.TestableHttpMessageHandlerOptions.JsonSerializerOptions.get -> System.Text.Json.JsonSerializerOptions!
TestableHttpClient.TestableHttpMessageHandlerOptions.TestableHttpMessageHandlerOptions() -> void
TestableHttpClient.TestableHttpMessageHandlerOptions.RoutingOptions.get -> TestableHttpClient.RoutingOptions!
TestableHttpClient.TestableHttpMessageHandlerOptions.UriPatternMatchingOptions.get -> TestableHttpClient.UriPatternMatchingOptions!

TestableHttpClient.RoutingOptions
TestableHttpClient.RoutingOptions.HostCaseInsensitive.get -> bool
Expand All @@ -20,6 +22,13 @@ TestableHttpClient.RoutingOptions.RoutingOptions() -> void
TestableHttpClient.RoutingOptions.SchemeCaseInsensitive.get -> bool
TestableHttpClient.RoutingOptions.SchemeCaseInsensitive.set -> void

TestableHttpClient.UriPatternMatchingOptions
TestableHttpClient.UriPatternMatchingOptions.DefaultQueryFormat.get -> System.UriFormat
TestableHttpClient.UriPatternMatchingOptions.DefaultQueryFormat.set -> void
TestableHttpClient.UriPatternMatchingOptions.QueryCaseInsensitive.get -> bool
TestableHttpClient.UriPatternMatchingOptions.QueryCaseInsensitive.set -> void
TestableHttpClient.UriPatternMatchingOptions.UriPatternMatchingOptions() -> void

TestableHttpClient.IRoutingResponseBuilder
TestableHttpClient.IRoutingResponseBuilder.Map(string! route, TestableHttpClient.IResponse! response) -> void
TestableHttpClient.IRoutingResponseBuilder.MapFallBackResponse(TestableHttpClient.IResponse! fallBackResponse) -> void
Expand All @@ -43,6 +52,7 @@ static TestableHttpClient.Responses.Timeout() -> TestableHttpClient.IResponse!

TestableHttpClient.HttpResponseContext
TestableHttpClient.HttpResponseContext.HttpRequestMessage.get -> System.Net.Http.HttpRequestMessage!
TestableHttpClient.HttpResponseContext.HttpRequestMessages.get -> System.Collections.Generic.IReadOnlyCollection<System.Net.Http.HttpRequestMessage!>!
TestableHttpClient.HttpResponseContext.HttpResponseMessage.get -> System.Net.Http.HttpResponseMessage!
TestableHttpClient.HttpResponseContext.Options.get -> TestableHttpClient.TestableHttpMessageHandlerOptions!

Expand Down
10 changes: 1 addition & 9 deletions src/TestableHttpClient/PublicAPI.Unshipped.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
TestableHttpClient.HttpResponseContext.HttpRequestMessages.get -> System.Collections.Generic.IReadOnlyCollection<System.Net.Http.HttpRequestMessage!>!
TestableHttpClient.TestableHttpMessageHandler.ClearRequests() -> void
TestableHttpClient.TestableHttpMessageHandlerOptions.UriPatternMatchingOptions.get -> TestableHttpClient.UriPatternMatchingOptions!
TestableHttpClient.UriPatternMatchingOptions
TestableHttpClient.UriPatternMatchingOptions.DefaultQueryFormat.get -> System.UriFormat
TestableHttpClient.UriPatternMatchingOptions.DefaultQueryFormat.set -> void
TestableHttpClient.UriPatternMatchingOptions.QueryCaseInsensitive.get -> bool
TestableHttpClient.UriPatternMatchingOptions.QueryCaseInsensitive.set -> void
TestableHttpClient.UriPatternMatchingOptions.UriPatternMatchingOptions() -> void

2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "0.10-beta",
"version": "0.10",
"versionHeightOffset": -1,
"publicReleaseRefSpec": [
"^refs/tags/v\\d+(?:\\.\\d+)?$"
Expand Down

0 comments on commit 372121c

Please sign in to comment.