Skip to content

Updates version to v0.27.0 #1106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dev-proxy-abstractions/dev-proxy-abstractions.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<RootNamespace>DevProxy.Abstractions</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>0.26.0</Version>
<Version>0.27.0</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion dev-proxy-plugins/Mocks/MockResponsePlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class MockResponseConfiguration
public bool BlockUnmockedRequests { get; set; } = false;

[JsonPropertyName("$schema")]
public string Schema { get; set; } = "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/mockresponseplugin.mocksfile.schema.json";
public string Schema { get; set; } = "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/mockresponseplugin.mocksfile.schema.json";
public IEnumerable<MockResponse> Mocks { get; set; } = [];
}

Expand Down
2 changes: 1 addition & 1 deletion dev-proxy-plugins/dev-proxy-plugins.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Nullable>enable</Nullable>
<EnableDynamicLoading>true</EnableDynamicLoading>
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
<Version>0.26.0</Version>
<Version>0.27.0</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion dev-proxy/config/m365-mocks.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/mockresponseplugin.mocksfile.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/mockresponseplugin.mocksfile.schema.json",
"mocks": [
{
"request": {
Expand Down
18 changes: 9 additions & 9 deletions dev-proxy/config/m365.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/rc.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/rc.schema.json",
"plugins": [
{
"name": "DevToolsPlugin",
Expand Down Expand Up @@ -173,11 +173,11 @@
"https://*.sharepoint-df.*/*_vti_bin/*"
],
"mocksPlugin": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/mockresponseplugin.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/mockresponseplugin.schema.json",
"mocksFile": "m365-mocks.json"
},
"graphRandomErrorsPlugin": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/graphrandomerrorplugin.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/graphrandomerrorplugin.schema.json",
"allowedErrors": [
429,
500,
Expand All @@ -189,28 +189,28 @@
"rate": 50
},
"executionSummaryPlugin": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/executionsummaryplugin.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/executionsummaryplugin.schema.json",
"groupBy": "url"
},
"graphMinimalPermissionsPlugin": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/graphminimalpermissionsplugin.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/graphminimalpermissionsplugin.schema.json",
"type": "delegated"
},
"cachingGuidance": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/cachingguidanceplugin.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/cachingguidanceplugin.schema.json",
"cacheThresholdSeconds": 5
},
"latencyPlugin": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/latencyplugin.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/latencyplugin.schema.json",
"minMs": 200,
"maxMs": 10000
},
"devTools": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/devtoolsplugin.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/devtoolsplugin.schema.json",
"preferredBrowser": "Edge"
},
"rateLimiting": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/ratelimitingplugin.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/ratelimitingplugin.schema.json",
"costPerRequest": 2,
"rateLimit": 120,
"retryAfterSeconds": 5
Expand Down
2 changes: 1 addition & 1 deletion dev-proxy/config/microsoft-graph-rate-limiting.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/rc.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/rc.schema.json",
"plugins": [
{
"name": "RateLimitingPlugin",
Expand Down
6 changes: 3 additions & 3 deletions dev-proxy/config/microsoft-graph.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/rc.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/rc.schema.json",
"plugins": [
{
"name": "GraphSelectGuidancePlugin",
Expand Down Expand Up @@ -67,7 +67,7 @@
"https://microsoftgraph.chinacloudapi.cn/beta/*"
],
"graphRandomErrorsPlugin": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/graphrandomerrorplugin.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/graphrandomerrorplugin.schema.json",
"allowedErrors": [
429,
500,
Expand All @@ -79,7 +79,7 @@
"rate": 50
},
"executionSummaryPlugin": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/executionsummaryplugin.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/executionsummaryplugin.schema.json",
"groupBy": "url"
},
"labelMode": "text",
Expand Down
2 changes: 1 addition & 1 deletion dev-proxy/config/spo-csom-types.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/minimalcsompermissions.types.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/minimalcsompermissions.types.schema.json",
"types": {
"268004ae-ef6b-4e9b-8425-127220d84719": "Microsoft.Online.SharePoint.TenantAdministration.Tenant",
"3747adcd-a3c3-41b9-bfab-4a64dd2f1e0a": "Microsoft.SharePoint.Client.RequestContext"
Expand Down
2 changes: 1 addition & 1 deletion dev-proxy/dev-proxy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Nullable>enable</Nullable>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<Title>Dev Proxy</Title>
<Version>0.26.0</Version>
<Version>0.27.0</Version>
<Company>.NET Foundation</Company>
<Product>Dev Proxy</Product>
<AssemblyName>devproxy</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion dev-proxy/devproxy-errors.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/genericrandomerrorplugin.errorsfile.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/genericrandomerrorplugin.errorsfile.schema.json",
"errors": [
{
"request": {
Expand Down
4 changes: 2 additions & 2 deletions dev-proxy/devproxyrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/rc.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/rc.schema.json",
"plugins": [
{
"name": "RetryAfterPlugin",
Expand All @@ -17,7 +17,7 @@
"https://jsonplaceholder.typicode.com/*"
],
"genericRandomErrorPlugin": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.26.0/genericrandomerrorplugin.schema.json",
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.27.0/genericrandomerrorplugin.schema.json",
"errorsFile": "devproxy-errors.json",
"rate": 50
},
Expand Down
4 changes: 2 additions & 2 deletions install-beta.iss
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#define MyAppName "Dev Proxy Beta"
; for local use only. In production replaced by a command line arg
#define MyAppSetupExeName "dev-proxy-installer-win-x64-0.26.0-beta.1"
#define MyAppVersion "0.26.0-beta.1"
#define MyAppSetupExeName "dev-proxy-installer-win-x64-0.27.0-beta.1"
#define MyAppVersion "0.27.0-beta.1"
#define MyAppPublisher ".NET Foundation"
#define MyAppURL "https://aka.ms/devproxy"

Expand Down
4 changes: 2 additions & 2 deletions install.iss
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

#define MyAppName "Dev Proxy"
; for local use only. In production replaced by a command line arg
#define MyAppSetupExeName "dev-proxy-installer-win-x64-0.26.0"
#define MyAppVersion "0.26.0"
#define MyAppSetupExeName "dev-proxy-installer-win-x64-0.27.0"
#define MyAppVersion "0.27.0"
#define MyAppPublisher ".NET Foundation"
#define MyAppURL "https://aka.ms/devproxy"

Expand Down
28 changes: 28 additions & 0 deletions schemas/v0.27.0/apicenterminimalpermissionsplugin.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Dev Proxy ApiCenterMinimalPermissionsPlugin config schema",
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"resourceGroupName": {
"type": "string"
},
"serviceName": {
"type": "string"
},
"subscriptionId": {
"type": "string"
},
"workspace": {
"type": "string"
}
},
"required": [
"resourceGroupName",
"serviceName",
"subscriptionId"
],
"additionalProperties": false
}
31 changes: 31 additions & 0 deletions schemas/v0.27.0/apicenteronboardingplugin.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Dev Proxy ApiCenterOnboardingPlugin config schema",
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"createApicEntryForNewApis": {
"type": "boolean"
},
"resourceGroupName": {
"type": "string"
},
"serviceName": {
"type": "string"
},
"subscriptionId": {
"type": "string"
},
"workspace": {
"type": "string"
}
},
"required": [
"resourceGroupName",
"serviceName",
"subscriptionId"
],
"additionalProperties": false
}
28 changes: 28 additions & 0 deletions schemas/v0.27.0/apicenterproductionversionplugin.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Dev Proxy ApiCenterProductionVersionPlugin config schema",
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"resourceGroupName": {
"type": "string"
},
"serviceName": {
"type": "string"
},
"subscriptionId": {
"type": "string"
},
"workspace": {
"type": "string"
}
},
"required": [
"resourceGroupName",
"serviceName",
"subscriptionId"
],
"additionalProperties": false
}
115 changes: 115 additions & 0 deletions schemas/v0.27.0/authplugin.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Dev Proxy AuthPlugin config schema",
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"apiKey": {
"type": "object",
"properties": {
"allowedKeys": {
"type": "array",
"items": {
"type": "string"
}
},
"parameters": {
"type": "array",
"items": {
"type": "object",
"properties": {
"in": {
"type": "string",
"enum": [
"header",
"query",
"cookie"
]
},
"name": {
"type": "string"
}
},
"required": [
"in",
"name"
]
}
}
},
"required": [
"allowedKeys",
"parameters"
]
},
"oauth2": {
"type": "object",
"properties": {
"metadataUrl": {
"type": "string"
},
"allowedApplications": {
"type": "array",
"items": {
"type": "string"
}
},
"allowedAudiences": {
"type": "array",
"items": {
"type": "string"
}
},
"allowedPrincipals": {
"type": "array",
"items": {
"type": "string"
}
},
"allowedTenants": {
"type": "array",
"items": {
"type": "string"
}
},
"issuer": {
"type": "string"
},
"roles": {
"type": "array",
"items": {
"type": "string"
}
},
"scopes": {
"type": "array",
"items": {
"type": "string"
}
},
"validateLifetime": {
"type": "boolean"
},
"validateSigningKey": {
"type": "boolean"
}
},
"required": [
"metadataUrl"
]
},
"type": {
"type": "string",
"enum": [
"apiKey",
"oauth2"
]
}
},
"required": [
"type"
],
"additionalProperties": false
}
Loading