Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🌿 ✨ [Scheduled] Upgrade Fern CLI #120

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

fern-api[bot]
Copy link

@fern-api fern-api bot commented Dec 30, 2024

Upgrading from 0.46.12 to 0.46.20 - Changelog

    0.46.20
  • feat: The fern init command now supports a --mintlify option. You can pass in
    the path to your mint.json and the Fern CLI will generate a fern documentation
    website.

  • 0.46.19

  • fix: If a schema in OpenAPI or AsyncAPI has additionalProperties: true then the Fern CLI will now respect bringing in
    example properties that are not defined in the schema. Previously, the CLI would skip them.

  • 0.46.18

  • fix: If an object or request is annotated with extra-properties: true then the user can provide an example that includes
    extra properties that are no longer in the schema.

    For example, check out this fern definition

    types:
      Item: 
        extra-properties: true
        properties:
          id: string
    
    
    service:
      auth: false
      base-path: ""
      endpoints:
        create:
          method: POST
          path: /item
          request:
            name: CreateItemRequest
            body:
              extra-properties: true
              properties:
                id: string
          response:
            type: Item
          examples:
            - name: "Item"
              request:
                id: "123"
                foo: "bar" # extra property in the example
              response:
                body:
                  id: "123"
                  foo: "bar" # extra property in the example
  • 0.46.17

  • fix: Support parsing string values for boolean defaults in OpenAPI schemas.

    • String values like "true" and "false" are now correctly parsed as boolean defaults.
  • 0.46.16

  • fix: Improve parsing of OpenAPI schemas with an array in the type property.

    • If the array contains "null", it is interpreted as nullable, and removed from the array.
    • If there is only a single item in the array (after removing "null"), it previously defaulted to unknown, but now the specified type is used.
  • 3 additional updates, see more

    0.46.15

  • fix: Fixed issue where user specified examples would be omitted in favor of autogenerated examples.

  • 0.46.14

  • fix: Boolean default values are now propagated from the Fern Definition through to docs generation.

  • 0.46.13

  • fix: Correctly omits readOnly query parameters during openapi to fern definition generation.

@fern-api fern-api bot force-pushed the fern/update/cli branch from 3b1d23b to d4da805 Compare January 6, 2025 00:04
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.

0 participants