> 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.2.0

**`(feat):`** 允许通过在配置中添加 `pyproject_toml` 块来为您的包 `pyproject.toml` 指定任意配置。您在此块中包含的任何内容都将原样添加到 `pyproject.toml` 文件中。例如，配置如下：

```yaml
config:
  pyproject_toml: |
    [tool.covcheck.group.unit.coverage]
    branch = 26.0
    line = 62.0

    [tool.covcheck.group.service.coverage]
    branch = 30.0
    line = 67.0
```

## 4.1.0

**`(feat):`** 允许在您的 `pyproject.toml` 中指定 pip extras。以下配置：

```yaml
config:
  extra_dev_dependencies:
    covcheck:
      version: "^0.4.3"
      extras: ["toml"]
```

将在您的 `pyproject.toml` 中添加以下内容：

```toml
[tool.poetry.dev-dependencies]
covcheck = { version = "^0.4.3", extras = ["toml"] }
```

## 4.0.0

**`(fix):`** 生成的测试在期望为 `text` 类型（非 JSON）的空结果时，现在对异步函数也会适当地期望空字符串而不是 `None`。版本 3.3.4 仅修复了同步函数的此问题，这是一个错误。