Skip to content

Conversation

@fern-api
Copy link
Contributor

@fern-api fern-api bot commented Feb 10, 2025

Upgrading from 0.51.17 to 0.51.36 - Changelog

    0.51.36
  • fix: Type reference example generation now handles extends and base properties correctly, as well as in-lined Alias types.

  • 0.51.35

  • fix: The cli will now respect examples with null values in OpenAPI specs. This will allow for null properties to show up when using
    OpenAPI parser v2.

  • 0.51.34

  • fix: The IR generator now correctly handles exploded form parameters in the docs, ensuring that curl code snippets
    accurately reflect the expected request format. Previously, exploded parameters were not properly formatted in the documentation, which
    could lead to incorrect API usage. This fix ensures that array parameters marked as "exploded" are properly expanded in the generated curl examples.

  • 0.51.33

  • fix: The OpenAPI parser v2 now handles null values in examples, parses request and response bodies as unions if multiple, handles required
    properties for global headers and improves upon example generation for APIs.

  • 0.51.32

  • fix: The Conjure Importer now handles replacing 'rid' types more safely by checking if an import alias starts with 'rid'.
    Previously, it would replace any 'rid' text with 'string', which could incorrectly modify import aliases that happened to start with 'rid'.
    Now it only replaces 'rid' when it appears as a standalone type or generic parameter.

  • 14 additional updates, see more

    0.51.31

  • internal: The IR migrator now recognizes that the PHP SDK generator requires IR version 55.

  • 0.51.30

  • fix: The OpenAPI v2 parser now provides better naming and more robust payloads for examples.

  • 0.51.29

  • fix: The images will be rendered to browser in the format of image ID that matches FileV2.
    It ensure images will be displayed properly in dev environment.

  • 0.51.28

  • fix: The IR generator now optimizes SDK generation by skipping automatic example generation when manual examples are provided.
    Previously, it would generate additional examples even when manual examples were specified for an operation.
    This change improves generation performance by avoiding unnecessary example generation work.

  • 0.51.27

  • fix: The OpenAPI parser now optimizes discriminated union example generation by using the first successful variant.
    Previously, it would continue trying other variants even after finding a valid one. Now it stops after finding
    the first valid variant, making example generation more efficient.

  • 0.51.26

  • fix: The OpenAPI parser now correctly generates examples for discriminated unions where a variant may itself be a union.
    Previously, if a discriminated union variant was itself a union (e.g. { type: "foo", value: { type: "bar" } }),
    the example generation would skip. Now it recursively handles nested unions to generate valid examples.

  • 0.51.25

  • fix: Literal property values are now accepted as deep object query parameters. Previously, if a query parameter was a deep object
    with a literal property value (e.g. { type: "foo" }), the CLI would reject it as too complex. Now literal values are
    allowed since they can be safely serialized.

  • 0.51.24

  • fix: The OpenAPI parser now parses path parameters that are present in the URL but not explicitly declared in the OpenAPI spec.
    Previously, if a path parameter was used in the URL (e.g. /users/{userId}) but not declared in the parameters section,
    the parser would fail. Now it automatically adds these path parameters as required string parameters.

  • 0.51.23

  • fix: The CLI now considers false and true as keywords for the Java generators.

  • 0.51.22

  • fix: The OpenAPI parser now ignores request bodies on GET requests since Fern does not support that.
    This is not a breaking change, since previously the fern check would just fail.

  • 0.51.21

  • fix: The fern init command now respects JSON formatting when parsing from an external URL.

  • 0.51.20

  • fix: The OpenRPC parser now supports generating code snippets in the API Explorer.

  • 0.51.19

  • fix: The OpenRPC parser now supports generating code snippets in the API Explorer.

  • 0.51.18

  • fix: The docs will now display errors by default. Previously, errors were hidden by default and needed to be explicitly
    enabled with displayErrors: true.

@github-actions
Copy link
Contributor

@humford humford merged commit 8648d6b into main Feb 12, 2025
3 of 4 checks passed
@humford humford deleted the fern/update/cli branch February 12, 2025 01:51
skeptrunedev referenced this pull request in devflowinc/vapi-docs Mar 5, 2025
Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants