2.10.0

(feat): Add support for flexible output-path configuration that allows specifying different paths for the library project, test project, solution file, and other files (README.md, reference.md).

Configuration options:

  • Simple string: output-path: src - all projects go to that path
  • Object with specific paths:
    • library: path for the library project (default: “src”)
    • test: path for the test project (default: “src”)
    • solution: path for the solution file (default: ”.”)
    • other: path for README.md, reference.md, and other files (default: ”.”)

Example generators.yml configuration:

1groups:
2 dotnet-sdk:
3 generators:
4 - name: fernapi/fern-csharp-sdk
5 version: 2.10.0
6 config:
7 output-path:
8 library: src/MyApi
9 test: test/MyApi.Test
10 solution: .
11 other: src/MyApi

The generated CI workflow and project references are automatically updated to use the configured paths. Note: .github, .fern, .editorconfig, .gitignore, and .fernignore are always generated in the root output folder.

2.9.9

(fix): Retries now check Retry-After and X-RateLimit-Reset headers before defaulting to exponential backoff with jitter.

2.9.8

(fix): Restore default behavior for wire tests: tests are now generated by default and controlled via the existing generate-mock-server-tests config option (defaults to true). The enable-wire-tests option is now treated as an alias for backward compatibility.


2.9.7

(fix): Wire tests are now controlled entirely by the enable-wire-tests custom config option, no longer using the CLI’s writeUnitTests flag.

2.9.6

(fix): Fix getGitHubConfig to return RawGithubConfig with undefined values instead of throwing errors when publishing config is missing, aligning with TypeScript/Python generator behavior.







2.9.0

(feat): Upgrade C# SDK generator Docker images to use .NET 10 SDK base image.

  • Improves package restoration and build performance
  • .NET 10 uses .slnx solution files instead of .sln files, which are more readable and generate deterministically
  • This change does not affect the target framework of generated SDKs

2.8.0

(feat): .github/workflows/ci.yml file changes:

  • Update actions/checkout to v5
  • Update actions/setup-dotnet to v5
  • Use .NET 10 SDK
  • Split up restore and build steps
  • Don’t build the test project unless running tests

2.7.5

(fix): Support enums in multipart-forms. Corrected date-normalization code in tests generation.

2.7.4

(chore): Upgrade C# formatter csharpier to 1.2.1.