Stef Heyenrath and GitHub
5ed09d84a3
Use ILRepack to include Microsoft.OpenApi as internal ( #1290 )
...
* .
* Use ILRepack to include Microsoft.OpenApi as internal
* ...
* OpenApiSpecificationVersion
* .
* 080
* 4
2025-05-08 20:11:41 +02:00
249b3562ab
Update AzureADAuthenticationMatcher to support V2 Azure AAD tokens ( #1288 )
...
* Update AzureADAuthenticationMatcher to support V2 Azure AAD tokens
* fix ;-)
* add tests
* Update test/WireMock.Net.Tests/Authentication/MockJwtSecurityTokenHandler.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* .
* WIREMOCK_AAD_TENANT
* update logging
* throw new SecurityTokenInvalidIssuerException($"tenant {extractedTenant} does not match {_tenant}.");
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-05-06 18:49:21 +02:00
Stef Heyenrath and GitHub
4303706530
Update ProtoBufJsonConverter to fix conflict for 'MessageOptions' ( #1291 )
...
* Update ProtoBufJsonConverter to fix conflict for 'MessageOptions'
* <PackageReference Include="ProtoBufJsonConverter" Version="0.8.0" />
2025-05-05 10:21:15 +02:00
Stef Heyenrath
5c8105b50d
move 'WireMock.Net.OpenApiParser.Preview' to ''src-preview' folder
2025-05-02 09:15:59 +02:00
Stef Heyenrath
630ffab56e
Do not generate NuGet for WireMock.Net.OpenApiParser.Preview
2025-05-02 08:50:32 +02:00
Stef Heyenrath
c181d0286a
Do not generate NuGet for WireMock.Net.OpenApiParser.Preview
2025-05-02 08:41:51 +02:00
Stef Heyenrath and GitHub
cf0dcf5855
Revert changes to WireMock.Net.OpenApiParser ( #1289 )
...
* Revert changes to WireMock.Net.OpenApiParser
* revert
2025-05-02 07:18:35 +02:00
Jonathan Mezach and GitHub
8a07286b89
Add an launch inspector command to Aspire Dashboard ( #1283 )
...
* Upgrade to Aspire 9.2.0
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
* Remove workload installs from CI pipeline
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
* Missed package upgrade
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
* Fix usings
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
* Add Open Inspector command
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
* Fix broken test
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
* PR comments
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
* More PR comments
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
---------
Signed-off-by: Jonathan Mezach <jonathan.mezach@rr-wfm.com >
2025-04-25 20:23:19 +02:00
Emil Tang Kristensen and GitHub
9392069f8a
Enable support for WireMock Middleware in Hosted Services ( #1285 )
2025-04-25 16:35:55 +02:00
4368e3cde6
1.7.x ( #1268 )
...
* Fix construction of path in OpenApiParser (#1265 )
* Server-Sent Events (#1269 )
* Server Side Events
* fixes
* await HandleSseStringAsync(responseMessage, response, bodyData);
* 1.7.5-preview-01
* IBlockingQueue
* 1.7.5-preview-02 (03 April 2025)
* IBlockingQueue
* ...
* Support OpenApi V31 (#1279 )
* Support OpenApi V31
* Update src/WireMock.Net.OpenApiParser/Extensions/OpenApiSchemaExtensions.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* fx
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Add ProtoDefinitionHelper.FromDirectory (#1263 )
* Add ProtoDefinitionHelper.FromDirectory
* .
* unix-windows
* move test
* imports in the proto files indeed should use a forward slash
* updates
* .
* private Func<IdOrTexts> ProtoDefinitionFunc()
* OpenTelemetry
* .
* fix path utils
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-04-23 11:51:44 +02:00
Stef Heyenrath and GitHub
fc0f82db33
Add HandlebarsSettings ( #1271 )
...
* Add HandlebarsSettings class
* DefaultAllowedHandlebarsHelpers
* HB - 2.5.0-preview-01
* readme
* fix
* readme
* Handlebars.Net.Helpers Version="2.5.0"
2025-04-23 07:47:37 +02:00
jollyjoyce1995 and GitHub
d9a7e80360
changed null check in JSONPathMatcher and JmesPathMatcher to ensure that the body is not an empty string (the json parse would throw an exception at this point) ( #1278 )
2025-04-23 07:30:52 +02:00
04d53f3a9e
feat(awesome-assertions): Added new project WireMock.Net.AwesomeAssertions ( #1273 )
...
* feat(awesome-assertions): Added new project WireMock.Net.AwesomeAssertions
* feat(awesome-assertions): Applied dotnet naming convention for private readonly fields
---------
Co-authored-by: Francesco Venturoli <f.venturoli@crif.com >
2025-04-22 22:51:40 +02:00
Stef Heyenrath and GitHub
5abb424d3c
Add extra JsonPartialWildcardMatcher Tests ( #1267 )
...
* Add extra JsonPartialWildcardMatcher Tests
* responseText.Should().Contain
2025-04-02 08:57:44 +02:00
Stef Heyenrath and GitHub
ff36c1ee6f
Merge commit from fork
2025-03-04 17:58:38 +01:00
Stef Heyenrath and GitHub
7c68fc1d94
Add ToArray() to ConcurrentObservableCollection ( #1256 )
...
* Add ToArray() to ConcurrentObservableCollection
* ---
2025-02-27 07:12:05 +01:00
Stef Heyenrath and GitHub
f977b3eb86
Update QueryStringParser to support param with equal but no value ( #1253 )
...
* RequestMessageParamMatcher
* ?
* .
* .
2025-02-13 18:09:18 +01:00
Stef Heyenrath and GitHub
e8de5aa73c
Add ProtoDefinition to WireMockContainer ( #1250 )
...
* AddProtoDefinitionAsync
* ...
* Body
* "
* .
* .
* .
* [Fact(Skip = "new docker is needed")]
* x
2025-02-12 06:08:55 +01:00
Stef Heyenrath and GitHub
a02ff47db6
Update WireMockProtoFileResolver and add tests for ProtoBufUtils ( #1252 )
...
* Update WireMockProtoFileResolver and add tests for ProtoBufUtils
* .
2025-02-01 22:27:32 +01:00
JvE-iO and GitHub
29bf9b42f8
Add exception message to logging when mapping fails due to an exception. ( #1248 )
...
* Add exception message to logging when mapping fails due to an exception.
* Revert "Add exception message to logging when mapping fails due to an exception."
This reverts commit eb7cf46c95 .
* Fix loggers with improved exception logging.
2025-01-30 10:59:22 +01:00
Stef Heyenrath and GitHub
52b00d74a9
Add "AddUrl" to WireMockContainerBuilder to support grpc ( #1246 )
...
* Add "AddUrl" to WireMockContainerBuilder to support grpc
* fix
* fix for windows
* wip
* fix !
* change some example code
2025-01-29 22:09:17 +01:00
Stef Heyenrath and GitHub
fa8f45a7ac
Use Handlebars.Net.Helpers version 2.4.10 ( #1245 )
2025-01-26 08:52:37 +01:00
Stef Heyenrath and GitHub
ed07da7d18
Fix ProtoBuf mapping.json ( #1236 )
...
* Fix ProtoBuf Mappings
* [Fact(Skip = "#1233 ")]
* fix?
* PortUtils
2025-01-26 08:37:17 +01:00
Stef Heyenrath and GitHub
12d2219752
Disable DynamicLinq to fix CVE ( #1242 )
...
* Disable DynamicLinq
* Disable DynamicLinq functionality
2025-01-22 10:30:52 +01:00
Stef Heyenrath and GitHub
6688a64d49
Upgrade to Handlebars.Net.Helpers 2.4.9 ( #1241 )
...
* Upgrade to Handlebars.Net.Helpers 2.4.9
* uses: actions/setup-dotnet@v4
2025-01-21 22:10:19 +01:00
Stef Heyenrath and GitHub
6aa1594d31
Fix ArgumentException in FindLogEntries ( #1235 )
2025-01-09 21:14:11 +01:00
Stef Heyenrath and GitHub
44c1c7aaa8
Fix google protobuf WellKnownTypes: Empty, Duration and Timestamp ( #1231 )
...
* Fix google protobuf WellKnownTypes: Timestamp and Duration
* Fix protobuf Empty
* .
* small refactor
* 006
* fix
* policy
* ---
* <PackageReference Include="ProtoBufJsonConverter" Version="0.7.0" />
2025-01-09 18:50:16 +01:00
Stef Heyenrath and GitHub
ab7ce37e7e
Fix WireMockContainerBuilder (duplicate entries) ( #1222 )
2024-12-31 18:24:29 +01:00
Stef Heyenrath and GitHub
485f7ad952
FindLogEntries ( #1224 )
2024-12-23 20:00:03 +01:00
Stef Heyenrath and GitHub
c4ae4eaf8e
Add functionality to call a PostTransform method after the Webhook request has been transformed ( #1223 )
...
* Add functionality to call a PostTransform method after the Webhook request has been transformed
* UseTransformer == true
2024-12-22 18:38:12 +01:00
Stef Heyenrath and GitHub
6db5427e6e
Add overloads to AtUrl and AtAbsoluteUrl which can use a IStringMatcher ( #1221 )
2024-12-22 17:11:21 +01:00
Stef Heyenrath and GitHub
2a19b4491f
WireMock.Net.Testcontainers: implement watching the static mapping folder for changes ( #1189 )
...
* WireMock.Net.Testcontainers: implement watching the static mapping files + folder for changes
* ReloadStaticMappings
* fix
* .
* .
* .
* .
* .
* .
* .
* CopyAsync
* <VersionPrefix>1.6.7-preview-02</VersionPrefix>
* <VersionPrefix>1.6.7-preview-03</VersionPrefix>
2024-12-15 11:31:25 +01:00
Stef Heyenrath and GitHub
7f640dfa0d
Fix JsonPartialMatcher when using property names with dot ( #1216 )
...
Fix JsonPartialMatcher when using property names with dot (#1216 )
2024-12-06 09:23:31 +01:00
Stef Heyenrath and GitHub
4aaed2a6ca
Fix HandlebarsContext ParseAndEvaluate method ( #1213 )
...
* Fix HandlebarsContext ParseAndEvaluate method
* test
* xxx
2024-11-22 07:58:23 +01:00
Stef Heyenrath and GitHub
6f73dfe360
Use GraphQL 8.2.1 ( #1211 )
2024-11-18 10:23:00 +01:00
Stef Heyenrath and GitHub
f4103b47aa
Fix security issues ( #1206 )
...
* .
* .
* x
2024-11-17 17:25:21 +01:00
Stef Heyenrath
edab3ad7e5
WireMockLogger
2024-11-01 10:31:23 +01:00
Stef Heyenrath
38c2131472
IWireMockLogger.Error(string, Exception)
2024-10-29 19:55:02 +01:00
Stef Heyenrath and GitHub
3693d6a676
Log exception when (static) mapping file cannot be read ( #1202 )
2024-10-29 19:52:31 +01:00
Stef Heyenrath and GitHub
a468b89788
Fix Google.Protobuf.WellKnownTypes.Value ( #1198 )
...
* <PackageReference Include="ProtoBufJsonConverter" Version="0.5.0-preview-01" />
* Fix Google.Protobuf.WellKnownTypes.Value
2024-10-17 18:47:09 +02:00
Stef Heyenrath and GitHub
1682c61a0c
Use latest ProtoBufJsonConverter to support WellKnownTypes ( #1161 )
...
* Use latest ProtoBufJsonConverter to support WellKnownTypes
* Fix
* 02
* WireMockServer_WithBodyAsProtoBuf_WithWellKnownTypes
* .
* extra test
* 0.4.0-preview-06
* 7
* <PackageReference Include="ProtoBufJsonConverter" Version="0.4.0-preview-08" />
* Update README.md
* <PackageReference Include="ProtoBufJsonConverter" Version="0.4.0-preview-09" />
* <PackageReference Include="ProtoBufJsonConverter" Version="0.4.0" />
* Update README.md
2024-10-16 10:57:47 +02:00
ac693e0f96
Bump System.Text.Json from 8.0.4 to 8.0.5 in /src/dotnet-WireMock.Net ( #1197 )
...
Bumps [System.Text.Json](https://github.com/dotnet/runtime ) from 8.0.4 to 8.0.5.
- [Release notes](https://github.com/dotnet/runtime/releases )
- [Commits](https://github.com/dotnet/runtime/compare/v8.0.4...v8.0.5 )
---
updated-dependencies:
- dependency-name: System.Text.Json
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-16 10:41:07 +02:00
Stef Heyenrath and GitHub
2ffdae1863
Upgrade System.Text.RegularExpressions to 4.3.1 to solve CVE-2019-0820 ( #1194 )
...
* Upgrade Handlebars.Net.Helpers to 2.4.6 to solve CVE-2019-0820
* .
2024-10-10 08:29:57 +02:00
Stef Heyenrath and GitHub
5e04ff1a42
Add an architecture diagram for Aspire project ( #1174 )
...
* Add an architecture diagram for Aspire project
* .
* "WireMock.Net : " +
* .
2024-10-04 19:30:47 +02:00
Stef Heyenrath and GitHub
f56ecf943d
Fix StaticMappingsPath in WireMockContainerBuilder ( #1187 )
...
* Fix StaticMappingsPath in WireMockContainerBuilder
* .
2024-10-01 17:39:59 +02:00
Stef Heyenrath and GitHub
76ae1466cc
Throw exception in case WithTransformer is used after WithBodyFromFile ( #1185 )
...
* Fix .WithBodyFromFile + .WithTransformer combination
* Ex
2024-09-29 21:29:34 +02:00
Stef Heyenrath
edbc7aeb5c
1.6.5
2024-09-28 10:26:38 +02:00
Stef Heyenrath and GitHub
42306d1864
Add WireMock.Net.AspNetCore.Middleware ( #1175 )
...
* Add WireMock.Net.AspNetCore.Middleware
* .
* WireMock.Net.Middleware.Tests
* .
* X-WireMock-Response-Delay
2024-09-27 20:39:57 +02:00
Stef Heyenrath and GitHub
dca3fd0260
WireMock.Net.Testcontainers: Use 'sheyenrath/wiremock.net-alpine' image as default for Linux ( #1181 )
...
* WireMock.Net.Testcontainers: Use 'sheyenrath/wiremock.net-alpine' image as default for Linux
* ...
* .
* WithBindMount
* fix
* r
* .
2024-09-27 19:10:51 +02:00
Jason Landbridge and GitHub
95994421ae
pass in the request when no matching is found to the warn logger ( #1182 )
2024-09-27 19:10:39 +02:00