Repository navigation
Conversation
Generate SDKs with Cloudflare's fork of Fern (https://github.com/fern-api/fern, Apache-2.0), vendored as npm tarballs under vendor/codegen-cli instead of downloading the Fern CLI from npm and the Fern TypeScript generator from Docker Hub. - @cloudflare/codegen-cli 5.112.0: the Fern CLI (`fern` command), forked from fern-api 5.112.0 - @cloudflare/codegen-typescript-sdk 3.88.3: Fern's TypeScript generator, forked from fernapi/fern-typescript-sdk 3.88.3 (was 3.80.1) and run natively via generators.yml local-command instead of the Docker image. The heap-tuned image wrapper and sharded generation are removed, and TypeScript generation no longer needs Docker; the other languages still do. - the multipart property-access post-fix in generate-sdk.ts is removed; the fork reads multipart file fields through the request wrapper's property reference, so names that are not identifiers no longer need patching (5816c70 on the `fern` branch) - the transformer bundles the vendored CLI and generator into dist and no longer needs Docker - both tarballs are built from 6e08440 on the `fern` branch of cloudflare/forge, a snapshot of fern-api/fern 5.112.0 with Cloudflare's patches on top; see vendor/codegen-cli/README.md
Drops the no-conflicting-endpoint-paths fern check rule. /a/{x} and
/a/anything are distinct SDK methods, so the warning was noise.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generate SDKs with Cloudflare's fork of Fern, vendored as npm tarballs under
vendor/codegen-cli, instead of downloading the Fern CLI from npm and the TypeScript generator from Docker Hub.@cloudflare/codegen-cli5.112.0: the Fern CLI, forked from fern-api 5.112.0.@cloudflare/codegen-typescript-sdk3.88.3: the TypeScript generator, forked from fernapi/fern-typescript-sdk 3.88.3, run natively viagenerators.ymllocal-command. TypeScript generation no longer needs Docker; other languages still do.generate-sdk.tsare removed. The fork handles those directly.dist.Both tarballs are built from the
fernbranch of this repo. The CLI tarball is built from 341ac36, which is #16. Rebuild withscripts/build-vendor-cli.shand compare againstvendor/codegen-cli/SHA256SUMS; seevendor/codegen-cli/README.md.Depends on #16.