> This page is for Fern CLI.

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

## 4.39.0

**`(feat):`** Add `--require-env-vars` flag to `fern generate`. Use `--no-require-env-vars`
to substitute empty strings for undefined environment variables instead of
causing an error. Defined environment variables are still resolved normally.
This is useful for local development when registry credentials are not needed.

```bash
fern generate --group csharp-sdk --no-require-env-vars
```

## 4.38.1

**`(fix):`** Fix incorrect repository URL in generated package metadata when the
GitHub `uri` in `generators.yml` is a full URL (e.g.
`https://github.com/owner/repo`). The naive `split("/")` produced
`owner = "https:"` and `repo = ""`, generating broken URLs like
`git+https://github.com/https:/`. Both `getPublishConfig()` and
`newDummyPublishOutputConfig()` now use the existing `parseRepository()`
utility, which correctly handles full URLs, shorthand `owner/repo`,
and custom GitHub domains.

## 4.38.0

**`(feat):`** Auto-detect CI environment (GitHub Actions, GitLab CI, Bitbucket Pipelines)
during `fern generate --docs` and send source metadata (repository, run ID,
commit SHA, branch, actor) to FDR via the `X-CI-Source` header. This enables
the deployment log UI to link docs deployments back to the CI workflow that
triggered them.

## 4.37.12

**`(fix):`** Scope allOf property merge to inline elements only in ObjectSchemaConverter and use first-match-wins for parent property resolution in V3 importer to match legacy behavior

## 4.37.11

**`(fix):`** Fix OpenAPI-to-IR conversion to propagate schema-level descriptions to inlined request
bodies. Previously, the `InlinedRequestBody.docs` field was only populated from the
requestBody-level `description`, ignoring the referenced schema's own `description`.
Now falls back to `typeDeclaration.docs` from the converted schema when the requestBody
description is missing.