1.13.1
(fix): Generated model classes now include fields inherited from parent types (Fern extends / OpenAPI allOf). Previously, derived models — including discriminated union variants — only carried their…
1.13.0
(feat): Add a max_retries: keyword argument to the generated root Client constructor. Consumers can now configure the default retry count once at client construction (e.g. Client.new(max_retries: 5))…
1.12.8
(fix): Fix Layout/EmptyComment RuboCop offense emitted for types with no description. The AST Comment node now skips writing when docs is empty or whitespace-only, so undocumented model classes no…
1.12.7
(fix): Fix Layout/EmptyComment RuboCop offense emitted for types with no description. The AST Comment node now skips writing when docs is empty or whitespace-only, so undocumented model classes no…
1.12.6
(chore): Patch Ruby SDK generator container CVEs flagged in the AWS ECR / grype scan. Remove the unused erb-4.0.3, net-imap-0.4.21, addressable-2.8.5, rexml-3.2.5, and rexml-3.2.6 gem directories (in…
1.12.5
(chore): Bump ruby-v2 model container Ruby base image to ruby:3.3-alpine3.23 (matching the ruby-v2 SDK container) and apply latest Alpine package security updates at build time.
1.12.4
(chore): Remediate container vulnerabilities flagged by the May 2026 Grype scan of the fernapi/fern-ruby-sdk image. Bumps the base image from ruby:3.3-alpine3.20 (EOL) to ruby:3.3-alpine3.23, picking…
1.12.3
(fix): Apply canonical "all user-specified examples, else first autogenerated" selection in the Ruby v2 SDK snippet output path. Aligns the generator's snippet.json / README example selection with…
1.12.2
(fix): Fix circular require in generated barrel file by excluding test/wire files from the main lib require list.
1.11.1
(fix): 从生成的注释行中去除尾随空格,使受规范控制的 docstring 在 #15202 中移除 rubocop -A 自动修正过程后不再触发 Layout/TrailingWhitespace。在 Square 夜间基线基准测试中发现。
1.11.0
(feat): 添加 retryStatusCodes 配置选项("legacy" | "recommended")。Legacy(默认)保留现有行为(408、429、500、502、503、504、521、522、524)。Recommended 仅重试瞬态代码(408、429、502、503、504),排除 500 Internal Server Error,以避免对非幂等失败进行重试。
1.10.0
(fix): 修复 TypeLiteral 字符串发射器中的 Ruby 字符串插值注入漏洞。包含 #{} 的不受信任的 API 规范默认值现在在生成的双引号 Ruby 字符串中得到正确转义。 (feat): 在发射器层级生成完全符合 rubocop 规范的代码,消除生成输出中所有剩余的 rubocop 违规,使生成时不再需要 rubocop -A。涵盖…