Skip to content

Commit

Permalink
Updates version to v0.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
waldekmastykarz committed Sep 2, 2024
1 parent b6ff599 commit 42315db
Show file tree
Hide file tree
Showing 20 changed files with 534 additions and 16 deletions.
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>Microsoft.DevProxy.Abstractions</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>0.20.0</Version>
<Version>0.20.1</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</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 @@ -27,7 +27,7 @@ public class MockResponseConfiguration
public bool BlockUnmockedRequests { get; set; } = false;

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

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.20.0</Version>
<Version>0.20.1</Version>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Release'">
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.20.0</Version>
<Version>0.20.1</Version>
<Company>Microsoft</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/microsoft/dev-proxy/main/schemas/v0.20.0/genericrandomerrorplugin.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/genericrandomerrorplugin.schema.json",
"errors": [
{
"request": {
Expand Down
2 changes: 1 addition & 1 deletion dev-proxy/devproxyrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.0/rc.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/rc.schema.json",
"plugins": [
{
"name": "RetryAfterPlugin",
Expand Down
2 changes: 1 addition & 1 deletion dev-proxy/presets/m365-mocks.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.0/mockresponseplugin.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/mockresponseplugin.schema.json",
"mocks": [
{
"request": {
Expand Down
2 changes: 1 addition & 1 deletion dev-proxy/presets/m365.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.0/rc.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/rc.schema.json",
"plugins": [
{
"name": "DevToolsPlugin",
Expand Down
2 changes: 1 addition & 1 deletion dev-proxy/presets/microsoft-graph-rate-limiting.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.0/rc.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/rc.schema.json",
"plugins": [
{
"name": "RateLimitingPlugin",
Expand Down
2 changes: 1 addition & 1 deletion dev-proxy/presets/microsoft-graph.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.0/rc.schema.json",
"$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.20.1/rc.schema.json",
"plugins": [
{
"name": "GraphSelectGuidancePlugin",
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.20.0-beta.1"
#define MyAppVersion "0.20.0-beta.1"
#define MyAppSetupExeName "dev-proxy-installer-win-x64-0.20.1-beta.1"
#define MyAppVersion "0.20.1-beta.1"
#define MyAppPublisher "Microsoft"
#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.20.0"
#define MyAppVersion "0.20.0"
#define MyAppSetupExeName "dev-proxy-installer-win-x64-0.20.1"
#define MyAppVersion "0.20.1"
#define MyAppPublisher "Microsoft"
#define MyAppURL "https://aka.ms/devproxy"

Expand Down
135 changes: 135 additions & 0 deletions schemas/v0.20.1/crudapiplugin.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "CRUD API plugin API definition",
"description": "API definition for use with the CRUD API Dev Proxy plugin",
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"baseUrl": {
"type": "string"
},
"dataFile": {
"type": "string"
},
"actions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"create",
"getAll",
"getOne",
"getMany",
"merge",
"update",
"delete"
]
},
"url": {
"type": "string"
},
"query": {
"type": "string"
},
"method": {
"type": "string",
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
]
},
"auth": {
"type": "string",
"enum": [
"none",
"entra"
]
},
"entraAuthConfig": {
"type": "object",
"properties": {
"audience": {
"type": "string"
},
"issuer": {
"type": "string"
},
"scopes": {
"type": "array",
"items": {
"type": "string"
}
},
"roles": {
"type": "array",
"items": {
"type": "string"
}
},
"validateLifetime": {
"type": "boolean"
},
"validateSigningKey": {
"type": "boolean"
}
}
}
},
"required": [
"action"
],
"additionalProperties": false
}
},
"auth": {
"type": "string",
"enum": [
"none",
"entra"
]
},
"entraAuthConfig": {
"type": "object",
"properties": {
"audience": {
"type": "string"
},
"issuer": {
"type": "string"
},
"scopes": {
"type": "array",
"items": {
"type": "string"
}
},
"roles": {
"type": "array",
"items": {
"type": "string"
}
},
"validateLifetime": {
"type": "boolean"
},
"validateSigningKey": {
"type": "boolean"
}
}
}
},
"required": [
"baseUrl",
"dataFile",
"actions"
],
"additionalProperties": false
}
91 changes: 91 additions & 0 deletions schemas/v0.20.1/genericrandomerrorplugin.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Dev Proxy GenericRandomErrorPlugin responses",
"description": "Error responses for the Dev Proxy GenericRandomErrorPlugin",
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"request": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"method": {
"type": "string",
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"HEAD",
"OPTIONS",
"CONNECT",
"TRACE"
]
},
"bodyFragment": {
"type": "string"
}
},
"required": [
"url"
]
},
"responses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"body": {
"type": [
"object",
"array",
"string"
]
},
"statusCode": {
"type": "integer"
},
"headers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"name",
"value"
]
}
}
}
}
}
},
"required": [
"request",
"responses"
]
}
}
},
"required": [
"errors"
],
"additionalProperties": false
}
62 changes: 62 additions & 0 deletions schemas/v0.20.1/mockrequestplugin.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Dev Proxy MockRequestPlugin mocks",
"description": "Mock request for the Dev Proxy MockRequestPlugin",
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"request": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"method": {
"type": "string",
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"HEAD",
"OPTIONS",
"CONNECT",
"TRACE"
]
},
"body": {
"type": "object"
},
"headers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"name",
"value"
]
}
}
},
"required": [
"url"
]
}
},
"required": [
"request"
],
"additionalProperties": false
}
Loading

0 comments on commit 42315db

Please sign in to comment.