Skip to content

Commit 554745d

Browse files
authored
Merge branch 'main' into copilot/add-dev-proxy-toolkit-recommendation
2 parents 8e4b5ec + b8e6e11 commit 554745d

34 files changed

Lines changed: 2639 additions & 192 deletions
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: version-bump
3+
description: Bump the extension to the next minor beta version for development. Increments the minor version in package.json, package-lock.json, and adds a new unreleased changelog section. USE FOR: version bump, increment version, prepare beta, new beta version, start new version, bump minor version, prep for new features.
4+
---
5+
6+
# Version Bump
7+
8+
Increment the extension's minor version for a new beta development cycle.
9+
10+
## Workflow
11+
12+
1. **Read current version** from `package.json` (`version` field). Parse as `major.minor.patch`.
13+
2. **Compute new version**: increment `minor` by 1, reset `patch` to 0. Example: `1.12.0``1.13.0`.
14+
3. **Update version in three places**:
15+
- `package.json``"version"` field
16+
- `package-lock.json` — top-level `"version"` field AND the `packages[""]``"version"` field (two occurrences total)
17+
4. **Add changelog section** in `CHANGELOG.md`: insert `## [{new version}] - Unreleased` on a blank line immediately after the `> **Note**:` blockquote and before the previous release heading.
18+
5. **Commit**: `git add package.json package-lock.json CHANGELOG.md && git commit -m "Increment version to v{new version}"`
19+
6. **Push**: ask the user for confirmation, then `git push origin main`.
20+
21+
## Rules
22+
23+
- Odd minor versions are beta/test versions (per the changelog note). This is expected.
24+
- Do not modify any other files.
25+
- Do not run `npm install` — edit `package-lock.json` directly to keep the lockfile version consistent.
26+
- Always confirm before pushing to remote.

CHANGELOG.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
> **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.
99
10-
## [1.11.1] - Unreleased
10+
## [1.13.0] - Unreleased
1111

1212
### Added:
1313

14+
- Quick Fixes: Enable local language model fix now adds or updates `languageModel.enabled: true` for supported plugins only
15+
16+
### Fixed:
17+
18+
- Diagnostics: Language model diagnostic now correctly targets plugins that can use a local language model (OpenAIMockResponsePlugin, OpenApiSpecGeneratorPlugin, TypeSpecGeneratorPlugin) and shows as an informational hint instead of a warning
19+
20+
## [1.12.0] - 2026-01-29
21+
22+
### Added:
23+
24+
- Setting: Added `devProxyPath` setting to specify custom path to Dev Proxy executable
25+
- Detection: Added auto-detection fallback using login shell and common installation paths
1426
- Snippets: Added `devproxy-plugin-graph-connector-guidance` - GraphConnectorGuidancePlugin instance
1527
- Snippets: Added `devproxy-plugin-mock-stdio-response` - MockStdioResponsePlugin instance
1628
- Snippets: Added `devproxy-plugin-mock-stdio-response-config` - MockStdioResponsePlugin config section
@@ -19,14 +31,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1931
- Diagnostics: Added clickable diagnostic codes that link to documentation
2032
- Diagnostics: Added `emptyUrlsToWatch` warning when urlsToWatch array is empty
2133
- Diagnostics: Added `pluginConfigOptional` info when plugin can be configured with optional config section
34+
- Diagnostics: Added `invalidConfigSectionSchema` warning when config section schema version doesn't match installed Dev Proxy
35+
- Diagnostics: Added `unknownConfigProperty` warning when config section has properties not defined in its schema
36+
- Diagnostics: Added `invalidConfigValue` error when config section property value doesn't match schema requirements
2237
- Quick Fixes: Added fix to add optional plugin configuration (adds configSection + config)
2338
- Quick Fixes: Added fix to add missing config section when referenced but not defined
39+
- Quick Fixes: Added fix to update config section schema version (single or all at once)
40+
- Quick Fixes: Added fix to remove unknown config section properties
2441

2542
### Changed:
2643

2744
- Snippets: All snippets that reference schemas updated to use `v2.1.0` schema
2845
- Diagnostics: Improved highlighting to target specific nodes instead of entire objects
2946
- Diagnostics: All diagnostics now use unique codes for better identification
47+
- Quick Fixes: Update schema action now supports all Dev Proxy file schemas, not just config files
3048

3149
### Fixed:
3250

README.md

Lines changed: 18 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,10 @@ Control Dev Proxy directly from VS Code via the Command Palette (`Cmd+Shift+P` /
3737

3838
### Snippets
3939

40-
Type `devproxy-` to access 80+ snippets:
41-
42-
- **JSON** - Config files, plugins, mocks, and more
43-
- **YAML** - GitHub Actions workflow steps
40+
Type `devproxy-` to access 100+ snippets in JSON, JSONC, YAML and YML files.
4441

4542
<details>
46-
<summary><strong>JSON Snippets</strong> (click to expand)</summary>
43+
<summary><strong>Snippets</strong> (click to expand)</summary>
4744

4845
| Prefix | Description |
4946
| ------ | ----------- |
@@ -147,22 +144,14 @@ Type `devproxy-` to access 80+ snippets:
147144
| `devproxy-reporter-json` | JsonReporter instance |
148145
| `devproxy-reporter-markdown` | MarkdownReporter instance |
149146
| `devproxy-reporter-plain-text` | PlainTextReporter instance |
150-
| `devproxy-task-start` | Start Dev Proxy VS Code Task |
151-
| `devproxy-task-stop` | Stop Dev Proxy VS Code Task |
152-
153-
</details>
154-
155-
<details>
156-
<summary><strong>YAML Snippets</strong> (click to expand)</summary>
157-
158-
| Prefix | Description |
159-
| ------ | ----------- |
160-
| `devproxy-action-setup` | GitHub Actions step: Setup Dev Proxy (recommended) |
161-
| `devproxy-action-start` | GitHub Actions step: Start Dev Proxy manually |
162-
| `devproxy-action-stop` | GitHub Actions step: Stop Dev Proxy |
163-
| `devproxy-action-record-start` | GitHub Actions step: Start Dev Proxy recording |
164-
| `devproxy-action-record-stop` | GitHub Actions step: Stop Dev Proxy recording |
165-
| `devproxy-action-chromium-cert` | GitHub Actions step: Install Dev Proxy certificate for Chromium browsers |
147+
| `devproxy-task-start` | Start Dev Proxy VS Code Task (JSON only) |
148+
| `devproxy-task-stop` | Stop Dev Proxy VS Code Task (JSON only) |
149+
| `devproxy-action-setup` | GitHub Actions step: Setup Dev Proxy (YAML only) |
150+
| `devproxy-action-start` | GitHub Actions step: Start Dev Proxy manually (YAML only) |
151+
| `devproxy-action-stop` | GitHub Actions step: Stop Dev Proxy (YAML only) |
152+
| `devproxy-action-record-start` | GitHub Actions step: Start Dev Proxy recording (YAML only) |
153+
| `devproxy-action-record-stop` | GitHub Actions step: Stop Dev Proxy recording (YAML only) |
154+
| `devproxy-action-chromium-cert` | GitHub Actions step: Install Dev Proxy certificate for Chromium browsers (YAML only) |
166155

167156
</details>
168157

@@ -175,7 +164,7 @@ Real-time validation of your configuration files. Click any diagnostic code to v
175164
| `invalidSchema` | Schema version doesn't match installed Dev Proxy |
176165
| `invalidConfigSection` | Config section not used by any plugin |
177166
| `deprecatedPluginPath` | Using old plugin DLL path (pre-v0.29) |
178-
| `missingLanguageModel` | Plugin requires language model configuration |
167+
| `missingLanguageModel` | Plugin can use a local language model to enhance its output |
179168
| `noEnabledPlugins` | No plugins are enabled |
180169
| `reporterPosition` | Reporter plugin should be last |
181170
| `summaryWithoutReporter` | Summary plugin needs a reporter |
@@ -185,14 +174,18 @@ Real-time validation of your configuration files. Click any diagnostic code to v
185174
| `pluginConfigMissing` | Referenced config section doesn't exist |
186175
| `pluginConfigOptional` | Plugin can be configured (optional) |
187176
| `pluginConfigNotRequired` | Plugin doesn't support configuration |
177+
| `invalidConfigSectionSchema` | Config section schema version doesn't match installed Dev Proxy |
178+
| `unknownConfigProperty` | Config section has property not defined in schema |
179+
| `invalidConfigValue` | Config section property value doesn't match schema |
188180

189181
### Quick Fixes
190182

191183
One-click fixes for common issues:
192184

193-
- **Update schema** - Match schema to installed Dev Proxy version
185+
- **Update schema** - Match schema to installed Dev Proxy version (config file or config sections)
194186
- **Update plugin path** - Fix deprecated `dev-proxy-plugins.dll` paths (single or all at once)
195-
- **Add languageModel configuration** - Enable language model for AI plugins
187+
- **Remove unknown property** - Remove properties not defined in config section schema
188+
- **Enable local language model** - Add or update `languageModel.enabled: true` for plugins that support it
196189
- **Add plugin configuration** - Add optional config section for plugins that support it
197190
- **Add missing config section** - Create config section when plugin references one that doesn't exist
198191

@@ -217,6 +210,7 @@ Shows Dev Proxy status at a glance:
217210
| `dev-proxy-toolkit.showTerminal` | `boolean` | `true` | Show terminal when starting |
218211
| `dev-proxy-toolkit.closeTerminal` | `boolean` | `true` | Close terminal when stopping |
219212
| `dev-proxy-toolkit.apiPort` | `number` | `8897` | Port for Dev Proxy API communication |
213+
| `dev-proxy-toolkit.devProxyPath` | `string` | `""` | Custom path to Dev Proxy executable (uses auto-detection if empty) |
220214

221215
## Tasks
222216

package-lock.json

Lines changed: 62 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)