> This page is for SDK, version Legacy.
> For other versions, use one of these documentation indexes:
> - Current (default): https://buildwithfern.com/learn/sdks/current/llms.txt
> - Legacy: https://buildwithfern.com/learn/sdks/legacy/llms.txt

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 1.50.1

**`(fix):`** When a client is constructed with both a selected environment and server URL
variables (e.g. `option.WithRegion`), the generated client now renders the
selected environment's URL template(s) instead of always using the first
environment's template. Custom base URLs and environment values are left
untouched, and the first (default) templated environment is still used when
no environment is selected.