Skip to content
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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

> **Note**: odd version numbers, for example, `0.13.0`, are not included in this changelog. They are used to test the new features and fixes before the final release.

## [0.17.0] - Unreleased

### Changed:

- Snippets: Updated schema urls to reflect the move to dotnet organisation in Github
- Code action: Updated update schema code action to reflect the move to dotnet organisation in Github

## [0.16.0] - 2025-02-03

### Added:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "dev-proxy-toolkit",
"displayName": "Dev Proxy Toolkit",
"description": "Makes it easy to create and update Dev Proxy configuration files.",
"version": "0.16.0",
"version": "0.17.0",
"publisher": "garrytrinder",
"engines": {
"vscode": "^1.89.0"
Expand Down
2 changes: 1 addition & 1 deletion scripts/snippets-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const snippets = require('../src/snippets.json');
// "prefix": "devproxy-config",
// "body": [
// "{",
// "\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v1.0/rc.schema.json\",",
// "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0/rc.schema.json\",",
// "\t\"plugins\": [$1],",
// "\t\"urlsToWatch\": [$2],",
// "\t\"rate\": 50,",
Expand Down
2 changes: 1 addition & 1 deletion src/codeactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const registerCodeActions = (context: vscode.ExtensionContext) => {
diagnostic.range.start,
diagnostic.range.end
),
`$schema": "https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v${devProxyVersion}/rc.schema.json",`
`$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v${devProxyVersion}/rc.schema.json",`
);
return [fix];
}
Expand Down
22 changes: 11 additions & 11 deletions src/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"prefix": "devproxy-config-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/rc.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/rc.schema.json\",",
"\t\"plugins\": [",
"\t\t$1",
"\t],",
Expand All @@ -20,7 +20,7 @@
"ConfigFileSchema": {
"prefix": "devproxy-config-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/rc.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/rc.schema.json\","
],
"description": "Dev Proxy config file schema"
},
Expand All @@ -42,7 +42,7 @@
"prefix": "devproxy-mocks-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/mockresponseplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/mockresponseplugin.schema.json\",",
"\t\"mocks\": [",
"\t\t$1",
"\t]",
Expand All @@ -53,7 +53,7 @@
"MocksFileSchema": {
"prefix": "devproxy-mocks-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/mockresponseplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/mockresponseplugin.schema.json\","
],
"description": "Dev Proxy mocks file schema"
},
Expand Down Expand Up @@ -294,7 +294,7 @@
"prefix": "devproxy-plugin-crud-api-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/crudapiplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/crudapiplugin.schema.json\",",
"\t\"actions\": [",
"\t\t$1",
"\t],",
Expand All @@ -307,7 +307,7 @@
"CrudApiPluginFileSchema": {
"prefix": "devproxy-plugin-crud-api-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/crudapiplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/crudapiplugin.schema.json\","
],
"description": "CrudApiPlugin API file schema"
},
Expand Down Expand Up @@ -409,7 +409,7 @@
"prefix": "devproxy-plugin-generic-random-error-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/genericrandomerrorplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/genericrandomerrorplugin.schema.json\",",
"\t\"errors\": [",
"\t\t$1",
"\t]",
Expand All @@ -420,7 +420,7 @@
"GenericRandomErrorPluginFileSchema": {
"prefix": "devproxy-plugin-generic-random-error-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/genericrandomerrorplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/genericrandomerrorplugin.schema.json\","
],
"description": "GenericRandomErrorPlugin errors file schema"
},
Expand Down Expand Up @@ -728,7 +728,7 @@
"MockResponsePluginFileSchema": {
"prefix": "devproxy-plugin-mock-response-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/mockresponseplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/mockresponseplugin.schema.json\","
],
"description": "MockResponsePlugin schema"
},
Expand Down Expand Up @@ -823,7 +823,7 @@
"prefix": "devproxy-plugin-rate-limiting-file",
"body": [
"{",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/ratelimitingplugin.schema.json\",",
"\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/ratelimitingplugin.schema.json\",",
"\t\"body\": {",
"\t\t$1",
"\t},",
Expand All @@ -838,7 +838,7 @@
"RateLimitingFileSchema": {
"prefix": "devproxy-plugin-rate-limiting-file-schema",
"body": [
"\"\\$schema\": \"https://raw.githubusercontent.com/microsoft/dev-proxy/main/schemas/v0.24.0/ratelimitingplugin.schema.json\","
"\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v0.24.0/ratelimitingplugin.schema.json\","
],
"description": "Dev Proxy rate limiting file schema"
},
Expand Down