Skip to content

Updates version to v3.3.0 - #1851

Merged
garrytrinder merged 3 commits into
dotnet:mainfrom
waldekmastykarz:v330
Sep 14, 2026
Merged

garrytrinder merged 3 commits into
dotnet:mainfrom
waldekmastykarz:v330

Conversation

@waldekmastykarz

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI lite review requested due to automatic review settings September 14, 2026 08:07
@waldekmastykarz
waldekmastykarz requested a review from a team as a code owner September 14, 2026 08:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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.0 schema 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.yaml still references v2.3.0 for both its root and genericRandomErrorPlugin schemas. 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.Body is 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.Body and 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
  • MockRequestPlugin serializes any non-string dynamic body (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:63
  • MockResponseResponse.Body is 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:44
  • MockStdioResponseBody.Stdout is an object value that GetMockContent serializes 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:52
  • MockStdioResponseBody.Stderr is an object value that GetMockContent serializes 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.Body and 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 TimeoutSeconds and binds the root object directly; it has no timeout property 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 explicit timeout binding 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 IPv6 ipAddress will 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 apiPort as a JSON number, but ProxyConfiguration.ApiPort is an int. A fractional value such as 8897.5 therefore passes schema validation and then fails when the configuration is bound. Use integer for this property and the other integer-valued root settings.
    schemas/v3.3.0/rc.schema.json:143
  • ProxyConfiguration.Port is an int, while this schema uses number, so fractional port values pass validation but cannot be bound by the application. Change this property to integer to keep the schema aligned with the runtime configuration type.
    schemas/v3.3.0/rc.schema.json:171
  • ProxyConfiguration.WatchPids is IEnumerable<int>, but number also accepts fractional values here. Such a value passes schema validation and fails during configuration binding; this item type should be integer.
    schemas/v3.3.0/rc.schema.json:139
  • PluginReference.Enabled defaults to true when omitted (DevProxy/Plugins/PluginReference.cs:9), but this schema requires enabled. A valid configuration relying on that runtime default will fail the new schema validation; remove enabled from 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.

Comment thread schemas/v3.3.0/devtoolsplugin.schema.json Outdated
Comment thread schemas/v3.3.0/genericrandomerrorplugin.schema.json Outdated
Comment thread schemas/v3.3.0/graphrandomerrorplugin.schema.json Outdated
Comment thread schemas/v3.3.0/openaitelemetryplugin.schema.json Outdated
waldekmastykarz and others added 2 commits September 14, 2026 10:36
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
garrytrinder merged commit d13591f into dotnet:main Sep 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants