Updates version to v3.3.0 - #1851
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved schema/runtime mismatches and a stale schema reference remain.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Updates Dev Proxy to v3.3.0 across release metadata, projects, containers, configuration references, and versioned schemas.
Changes:
- Bumps stable and beta version references.
- Adds the complete
schemas/v3.3.0schema set. - Updates shipped configuration and template schema references.
File summaries
| File | Change |
|---|---|
scripts/version.ps1 |
Updates beta version. |
scripts/local-setup.ps1 |
Updates local setup version. |
scripts/Dockerfile_local |
Updates local Docker version. |
schemas/v3.3.0/typespecgeneratorplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/rewriteplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/rewriteplugin.rewritesfile.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/rc.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/ratelimitingplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/ratelimitingplugin.customresponsefile.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/openapispecgeneratorplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/openaitelemetryplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/openaitelemetryplugin.pricesfile.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/mockstdioresponseplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/mockstdioresponseplugin.mocksfile.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/mockresponseplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/mockresponseplugin.mocksfile.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/mockrequestplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/mockrequestplugin.mockfile.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/minimalpermissionsplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/minimalpermissionsguidanceplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/minimalcsompermissionsplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/minimalcsompermissions.types.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/latencyplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/languagemodelratelimitingplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/languagemodelratelimitingplugin.customresponsefile.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/languagemodelfailureplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/httpfilegeneratorplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/hargeneratorplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/graphrandomerrorplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/graphminimalpermissionsplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/graphminimalpermissionsguidanceplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/genericrandomerrorplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/genericrandomerrorplugin.errorsfile.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/executionsummaryplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/devtoolsplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/crudapiplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/crudapiplugin.apifile.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/cachingguidanceplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/authplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/apicenterproductionversionplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/apicenteronboardingplugin.schema.json |
Adds v3.3.0 schema. |
schemas/v3.3.0/apicenterminimalpermissionsplugin.schema.json |
Adds v3.3.0 schema. |
install.iss |
Updates stable installer version. |
install-beta.iss |
Updates beta installer version. |
Dockerfile_beta |
Updates beta container version. |
Dockerfile |
Updates stable container version. |
DevProxy/devproxyrc.json |
Updates schema references. |
DevProxy/DevProxy.csproj |
Updates application version. |
DevProxy/devproxy-errors.yaml |
Updates error schema reference. |
DevProxy/devproxy-errors.json |
Updates error schema reference. |
DevProxy/config/spo-csom-types.json |
Updates schema reference. |
DevProxy/config/microsoft-graph.json |
Updates schema references. |
DevProxy/config/microsoft-graph-rate-limiting.json |
Updates schema reference. |
DevProxy/config/m365.json |
Updates schema references. |
DevProxy/config/m365-mocks.json |
Updates schema reference. |
DevProxy/config-templates/devproxyrc.yaml |
Updates template schema reference. |
DevProxy/config-templates/devproxyrc.json |
Updates template schema reference. |
DevProxy.Plugins/Mocking/MockResponsePlugin.cs |
Updates default schema URL. |
DevProxy.Plugins/DevProxy.Plugins.csproj |
Updates plugin version. |
DevProxy.Abstractions/DevProxy.Abstractions.csproj |
Updates abstractions version. |
Review details
Suppressed comments (14)
DevProxy/devproxy-errors.yaml:1
- This update changes the errors-file schema to v3.3.0, but
DevProxy/devproxyrc.yamlstill references v2.3.0 for both its root andgenericRandomErrorPluginschemas. Running that shipped YAML example with schema validation enabled will emit a version-mismatch warning and use stale schema definitions; update those YAML references as part of the version bump.
# yaml-language-server: $schema=https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v3.3.0/genericrandomerrorplugin.errorsfile.schema.json
schemas/v3.3.0/genericrandomerrorplugin.errorsfile.schema.json:61
GenericErrorResponseResponse.Bodyis dynamic and is serialized directly by the plugin (DevProxy.Plugins/Behavior/GenericRandomErrorPlugin.cs:268-269), but this schema rejects numeric and boolean bodies. Add those JSON types and update the description so valid error payloads are not blocked by validation.
"type": [
"object",
"array",
"string"
],
schemas/v3.3.0/languagemodelratelimitingplugin.customresponsefile.schema.json:16
- The language-model rate-limit custom response uses
MockResponseResponse.Bodyand serializes it directly (DevProxy.Plugins/Behavior/LanguageModelRateLimitingPlugin.cs:184-185), but this schema rejects numeric and boolean bodies. Add those JSON types and update the description so valid custom payloads pass validation.
schemas/v3.3.0/mockrequestplugin.mockfile.schema.json:37 MockRequestPluginserializes any non-stringdynamicbody (DevProxy.Plugins/Mocking/MockRequestPlugin.cs:109-115), but the schema permits only objects and strings. Arrays, numbers, and booleans are valid runtime bodies but will be rejected by schema validation; include those JSON types.
schemas/v3.3.0/mockresponseplugin.mocksfile.schema.json:63MockResponseResponse.Bodyis dynamic and the plugin serializes it as JSON (DevProxy.Plugins/Mocking/MockResponsePlugin.cs:382-385), but this schema rejects numeric and boolean bodies. Add those JSON types and update the description so valid runtime responses are not blocked by validation.
schemas/v3.3.0/mockstdioresponseplugin.mocksfile.schema.json:44MockStdioResponseBody.Stdoutis an object value thatGetMockContentserializes directly (DevProxy.Plugins/Mocking/MockStdioResponsePlugin.cs:366-375), but this schema rejects numeric and boolean stdout values. Add those JSON types and update the description so valid runtime content passes validation.
schemas/v3.3.0/mockstdioresponseplugin.mocksfile.schema.json:52MockStdioResponseBody.Stderris an object value thatGetMockContentserializes directly (DevProxy.Plugins/Mocking/MockStdioResponsePlugin.cs:366-375), but this schema rejects numeric and boolean stderr values. Add those JSON types and update the description so valid runtime content passes validation.
schemas/v3.3.0/ratelimitingplugin.customresponsefile.schema.json:16- The rate-limit custom response uses
MockResponseResponse.Bodyand serializes it directly (DevProxy.Plugins/Behavior/RateLimitingPlugin.cs:182-185), but this schema rejects numeric and boolean bodies. Add those JSON types and update the description so valid custom payloads pass validation.
schemas/v3.3.0/rc.schema.json:188 - The runtime configuration exposes
TimeoutSecondsand binds the root object directly; it has notimeoutproperty or alias. As a result, a config using this schema can validate successfully while its timeout is silently ignored. Either remove this property or add an explicittimeoutbinding and use an integer type for the seconds value.
schemas/v3.3.0/rc.schema.json:45 - The application accepts IPv4 and IPv6 addresses (
IPAddress.TryParse/IPAddress.Parse), but this schema restricts the value to IPv4. A valid IPv6ipAddresswill therefore be rejected when schema validation is enabled; remove the IPv4-only format constraint.
schemas/v3.3.0/rc.schema.json:12 - This versioned schema declares
apiPortas a JSON number, butProxyConfiguration.ApiPortis anint. A fractional value such as8897.5therefore passes schema validation and then fails when the configuration is bound. Useintegerfor this property and the other integer-valued root settings.
schemas/v3.3.0/rc.schema.json:143 ProxyConfiguration.Portis anint, while this schema usesnumber, so fractional port values pass validation but cannot be bound by the application. Change this property tointegerto keep the schema aligned with the runtime configuration type.
schemas/v3.3.0/rc.schema.json:171ProxyConfiguration.WatchPidsisIEnumerable<int>, butnumberalso accepts fractional values here. Such a value passes schema validation and fails during configuration binding; this item type should beinteger.
schemas/v3.3.0/rc.schema.json:139PluginReference.Enableddefaults totruewhen omitted (DevProxy/Plugins/PluginReference.cs:9), but this schema requiresenabled. A valid configuration relying on that runtime default will fail the new schema validation; removeenabledfrom this required list.
- Files reviewed: 60/60 changed files
- Comments generated: 4
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
garrytrinder
approved these changes
Sep 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.