Skip to content

Commit d0d45e3

Browse files
Update changelogs from fern repo (#5092)
Co-authored-by: dsinghvi <10870189+dsinghvi@users.noreply.github.com>
1 parent 04998a7 commit d0d45e3

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

fern/products/cli-api-reference/cli-changelog/2026-04-22.mdx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
## 4.86.2
2+
**`(fix):`** Gate the consolidation of top-level OpenAPI servers into a single multi-URL
3+
environment behind a new setting, `multi-server-strategy`, with values
4+
`environment-per-server` (default) and `urls-per-environment`. Previously
5+
(since 4.71.4) any spec where endpoint-level `servers:` overrides referenced
6+
top-level `x-fern-server-name` values would collapse all top-level servers
7+
into one environment, silently removing named environment constants
8+
(e.g. `Environment.AGENT`) from generated SDKs. The old pre-4.71.4 behavior
9+
of emitting one environment per top-level server is now restored by default;
10+
customers who want the Box-style "one logical environment with multiple
11+
named base URLs" behavior can opt in by setting
12+
`multi-server-strategy: urls-per-environment` under
13+
`api.specs[].settings`.
14+
15+
16+
**`(fix):`** Fix WebSocket base URLs silently overwriting HTTP base URLs when both share
17+
the same `x-fern-server-name` (OpenAPI + AsyncAPI) inside a consolidated
18+
environment. Colliding WebSocket URLs are now suffixed with their protocol
19+
(e.g. `Agent_wss`) so both the HTTP and WSS URLs remain addressable. Only
20+
applies when `multi-server-strategy: urls-per-environment` is set.
21+
22+
123
## 4.86.1
224
**`(chore):`** When an OpenAPI endpoint has multiple request and response examples that cannot be paired by matching `summary` fields, the CLI now emits a warning explaining which response example had no match and how to fix it, rather than silently producing an extra example with an empty request body.
325

0 commit comments

Comments
 (0)