Introducing Fern Autorelease: hands-off SDK releases
Blog post from Fern
Fern Autorelease is a tool designed to automate the release process of SDKs by detecting updates to API specifications and managing the entire release pipeline. It eliminates the need for manual intervention by automatically regenerating SDKs, determining version bumps, and publishing new packages through the Fern GitHub App. The system detects API changes either through Git-based monitoring or periodic checks of hosted OpenAPI specs, and it follows the user's versioning scheme to infer the next version. If unsure about a version change, it pauses for confirmation, ensuring accuracy. Fern Autorelease commits the updated SDKs to GitHub repositories, tags the release, and publishes packages to various registries like npm, PyPI, Maven, and NuGet, using tokens stored securely in GitHub Actions secrets. Once set up, users can regenerate and publish SDKs with a simple command, allowing Fern to manage all subsequent processes.