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
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ 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.15.1] - Unreleased
## [0.15.2] - Unreleased

### Added:

- Diagnostics: Ensure at least one plugin is enabled
- Diagnostics: Information added to pluginName value when plugin can be configured with a configSection
- Diagnostics: Warning added to config sections not connected to a plugin
- Snippets: `devproxy-plugin-url-discovery` - UrlDiscoveryPlugin instance

### Changed:

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ Shown when the active document is a Dev Proxy configuration file
| `devproxy-plugin-retry-after` | RetryAfterPlugin instance |
| `devproxy-plugin-rewrite` | RewritePlugin instance |
| `devproxy-plugin-rewrite-config` | RewritePlugin config section |
| `devproxy-plugin-url-discovery` | UrlDiscoveryPlugin instance |
| `devproxy-reporter-json` | JsonReporter instance |
| `devproxy-reporter-markdown` | MarkdownReporter instance |
| `devproxy-reporter-plain-text` | PlainTextReporter instance |
Expand Down
7 changes: 7 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ export const pluginSnippets: PluginSnippets = {
required: true,
}
},
UrlDiscoveryPlugin: {
instance: 'devproxy-plugin-url-discovery',
},
JsonReporter: {
instance: 'devproxy-reporter-json',
},
Expand Down Expand Up @@ -303,6 +306,10 @@ export const pluginDocs: PluginDocs = {
name: 'Rewrite Plugin',
url: 'https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/technical-reference/rewriteplugin',
},
UrlDiscoveryPlugin: {
name: 'UrlDiscovery Plugin',
url: 'https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/technical-reference/urldiscoveryplugin',
},
JsonReporter: {
name: 'JSON Reporter',
url: 'https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/technical-reference/jsonreporter',
Expand Down
11 changes: 11 additions & 0 deletions src/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -873,6 +873,17 @@
],
"description": "RewritePlugin config section"
},
"UrlDiscoveryPlugin": {
"prefix": "devproxy-plugin-url-discovery",
"body": [
"{",
"\t\"name\": \"UrlDiscoveryPlugin\",",
"\t\"enabled\": true,",
"\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\"",
"}"
],
"description": "UrlDiscoveryPlugin instance"
},
"JsonReporter": {
"prefix": "devproxy-reporter-json",
"body": [
Expand Down