From 477c7380adba82b08a18d94eff4e5910056eeca3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 15 May 2026 20:07:23 +0000 Subject: [PATCH 1/3] docs: add 4.0.0-beta04 release notes entry MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Documents the improvements since beta03: - XmlDoc improvements (schema descriptions, returns tag) - Performance improvements (escapeXml fast-path, StringBuilder, fast-path scalars) - Refactoring (validateContentType, Regex→String.Replace) - Engineering (version pin relaxation, FCS bump) - Test additions (+57 tests across 3 PRs) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- docs/RELEASE_NOTES.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index 7f656526..4eb53937 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -1,3 +1,20 @@ +#### 4.0.0-beta04 - May 15, 2026 + +- improve: surface schema description as XmlDoc on generated object and enum types (#419) +- improve: add `` XmlDoc tag for operation response descriptions (#420) +- perf: `XmlDoc.escapeXml` fast-path (skip allocations when no XML chars present) (#429) +- perf: `UniqueNameGenerator` precompute lowercase key to avoid repeated allocations (#429) +- perf: string concatenation fast-paths in `combineUrl`/`createHttpRequest`/`formatObject` (#433) +- perf: skip `UriBuilder` allocation in `createHttpRequest` when there are no query params (#433) +- perf: add `string`/`int32`/`int64`/`bool` fast-paths in `toParam`; use `StringBuilder` in `buildXmlDoc` (#435) +- refactor: simplify `validateContentType` — split at `;` and compare base type (#430) +- refactor: replace `Regex.Replace` with `String.Replace` for path parameter substitution (#431) +- eng: relax `FSharp.Core` and `System.Text.Json` version pins to `>= 8` (#427) +- eng: bump `FSharp.Compiler.Service` 43.12.203 → 43.12.204 (#434) +- test: add direct unit tests for `XmlDoc` module (+32 tests) (#422) +- test: cover request body content types and `OperationCompiler` options (+18 tests) (#432) +- test: add `OperationCompiler` tests for multiple path params, PATCH, and auto-generated names (+7 tests) (#431) + #### 4.0.0-beta03 - May 1, 2026 - fix: handle `DateOnly` in `toParam` and `toQueryParams` for correct serialization (#393) From b6158abb75758502c9d172fa691dc27d88e5266f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 15 May 2026 20:07:26 +0000 Subject: [PATCH 2/3] ci: trigger checks From ec0b8c6e94da96450071b1674bb73e68b9afd5f5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 15 May 2026 21:45:54 +0000 Subject: [PATCH 3/3] docs: include latest merged dependency update in beta04 release notes Agent-Logs-Url: https://github.com/fsprojects/SwaggerProvider/sessions/04c97cb8-b665-4681-9159-e464646a5542 Co-authored-by: sergey-tihon <1197905+sergey-tihon@users.noreply.github.com> --- docs/RELEASE_NOTES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index 4eb53937..f989db27 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -10,6 +10,7 @@ - refactor: simplify `validateContentType` — split at `;` and compare base type (#430) - refactor: replace `Regex.Replace` with `String.Replace` for path parameter substitution (#431) - eng: relax `FSharp.Core` and `System.Text.Json` version pins to `>= 8` (#427) +- eng: bump `FSharp.Core` 10.1.203 → 10.1.300 and `System.Text.Json` 10.0.7 → 10.0.8 (#436) - eng: bump `FSharp.Compiler.Service` 43.12.203 → 43.12.204 (#434) - test: add direct unit tests for `XmlDoc` module (+32 tests) (#422) - test: cover request body content types and `OperationCompiler` options (+18 tests) (#432)