Releases: mattherman/MbDotNet
Releases · mattherman/MbDotNet
Release v5.0.0
Release v5.0.0 includes a lot of new features and updates. All Mountebank API capabilities are now supported as well as almost all of the predicate and response types. Support has been added for both SMTP imposters and custom protocol imposters. The documentation for the project has also been completely rewritten and updated for these new features.
There were a variety of breaking changes introduced in this release. Please review the migration guide for specific guidance on the changes that will be necessary.
Changes:
- All client methods are now async (#60) and have
CancellationTokenparameters (#74) IHttpClientWrapper/HttpClientWrapperare no longer publicly accessible (#52)HttpClientwill be re-used between requests (#52)- Predicates now support
jsonpath(#55) - Validate key/cert parameters are valid PEM-formatted strings when creating HTTPS imposters (#75)
- Added client method to support replacing stubs on running imposters (#76)
- Added support for the
existspredicate (#72) - Updated
HttpPredicateFields.HeadersandHttpPredicateFields.QueryParameterto be aDictionary<string, object>(#78) - Added support for form encoded key-value pairs on
HttpPredicateFields(#73) - Updated
HttpRequest.QueryParametersto be aDictionary<string, object>(#80) - Added support for SMTP imposters (#88)
- Added ability to retrieve config information (#94)
- Added ability to retrieve logs (#92)
- Added ability to retrieve list of imposters (#92, #99, #103)
- Added XML documentation comments to all public members (#108)
- Renamed abstract base classes:
PredicateBase->Predicate,ResponseBase->Response,StubBase->Stub(#110) - Updated
CreateHttpImposter/CreateHttpsImposter/CreateTcpImposterclient methods to accept a configuration callback and actually create the imposters in Mountebank (#111) - Removed
Submitclient methods (#111) - Added support for replacing, adding, and removing stubs from imposters (#117)
- Updated collection types to be more appropriate for their use case (#119)
- Included debug symbols in the NuGet package (#120)
- Add support for custom protocol imposters (#124)
- Improved documentation (#125)
- Updated
MountebankClientconstructor to take aUriinstead of astring(#126) - Removed the
MbDotNet.Enumsnamespace (#127) - Added support for deleting saved proxy responses (#128)
- Added support for the
faultresponse type (#130) - Updated responses to include an array of behaviors (#131)
Release v5.0.0-rc8
Release v4.3.5
- Upgraded Newtonsoft.Json to 13.0.1
- Added support for the allowCORS parameter when creating HTTP/S imposters (#93)
Release v4.3.4
- Added embedded XML documentation to support intellisense
Release v5.0.0-rc7
- Added support for SMTP imposters
Release v5.0.0-rc6
- Added predicate injection support
- Added wait behavior support
- Added stubs with
matchescollection of request/response pairs to retrieved imposters - Added default response to imposters
Release v4.3.3
- Added predicate injection support
- Added wait behavior support
- Added stubs with
matchescollection of request/response pairs to retrieved imposters - Added default response to imposters
Release v5.0.0-rc5
- Added ability to delete saved requests on imposters
Release v4.3.2
- Added ability to delete saved requests on imposters
Release v5.0.0-rc4
- Updated
QueryParametersdictionary onHttpRequestto beDictionary<string, object>to support case where the request had multiple query string parameters with the same key (#80)