{
  "version": 1,
  "format": "json",
  "kind": "deprecations",
  "content": "ID                                          Kind        Target                                                   Warning since  Removal  Replacement                                                                                                   \n------------------------------------------  ----------  -------------------------------------------------------  -------------  -------  --------------------------------------------------------------------------------------------------------------\nformat.default-formatters                   behavior    Default formatters                                       0.52.0         TBD      Set formatters explicitly, for example black and isort or builtin.                                            \nbehavior.pydantic-v2-use-annotated-default  behavior    Pydantic v2 default for --use-annotated                  0.52.1         TBD      Explicitly pass --use-annotated or --no-use-annotated.                                                        \nbehavior.remote-ref-default                 behavior    Remote $ref fetching without --allow-remote-refs         0.56.0         TBD      Pass --allow-remote-refs for trusted remote schemas, or --no-allow-remote-refs to block HTTP(S) $ref fetching.\ncli.allow-extra-fields                      cli-option  --allow-extra-fields                                     0.31.0         TBD      --extra-fields=allow                                                                                          \ncli.parent-scoped-naming                    cli-option  --parent-scoped-naming                                   0.48.0         TBD      --naming-strategy parent-prefixed                                                                             \ncli.validation                              cli-option  --validation                                             0.24.0         TBD      --field-constraints                                                                                           \nconfig.json-config-strict-validation        config      JSON configuration values accepted by legacy validation  0.64.2         TBD      Update the JSON configuration to match --output-format-json-schema config.                                    \nconfig.yaml-non-lowercase-bool              config      YAML bool values True, False, TRUE, FALSE                0.48.0         TBD      Use lowercase true or false.                                                                                  \npython-api.python-version-has-type-alias    python-api  PythonVersion.has_type_alias                             0.52.1         TBD      -                                                                                                             \nschema.jsonschema-items-array               schema      JSON Schema Draft 2020-12 items array tuple validation   0.53.0         TBD      Use prefixItems.                                                                                              \nschema.openapi-nullable                     schema      OpenAPI 3.1 nullable keyword                             0.53.0         TBD      Use type arrays such as type: [\"string\", \"null\"].                                                             \n",
  "items": [
    {
      "id": "format.default-formatters",
      "kind": "behavior",
      "target": "Default formatters",
      "message": "The default external formatters (black, isort) will become opt-in in a future version.",
      "warning_since": "0.52.0",
      "removal_version": null,
      "replacement": "Set formatters explicitly, for example black and isort or builtin.",
      "status": "active",
      "warning_category": "FutureWarning",
      "note": null
    },
    {
      "id": "behavior.pydantic-v2-use-annotated-default",
      "kind": "behavior",
      "target": "Pydantic v2 default for --use-annotated",
      "message": "Pydantic v2 with --use-annotated is recommended for correct type annotations. In a future version, --use-annotated will be enabled by default for Pydantic v2.",
      "warning_since": "0.52.1",
      "removal_version": null,
      "replacement": "Explicitly pass --use-annotated or --no-use-annotated.",
      "status": "active",
      "warning_category": "DeprecationWarning",
      "note": null
    },
    {
      "id": "behavior.remote-ref-default",
      "kind": "behavior",
      "target": "Remote $ref fetching without --allow-remote-refs",
      "message": "Remote $ref fetching without --allow-remote-refs is deprecated.",
      "warning_since": "0.56.0",
      "removal_version": null,
      "replacement": "Pass --allow-remote-refs for trusted remote schemas, or --no-allow-remote-refs to block HTTP(S) $ref fetching.",
      "status": "active",
      "warning_category": "FutureWarning",
      "note": "The current default allows remote fetching for compatibility; the scheduled default is disabled. Private, loopback, link-local, and otherwise non-public network targets require --allow-private-network."
    },
    {
      "id": "cli.allow-extra-fields",
      "kind": "cli-option",
      "target": "--allow-extra-fields",
      "message": "--allow-extra-fields is deprecated. Use --extra-fields=allow instead.",
      "warning_since": "0.31.0",
      "removal_version": null,
      "replacement": "--extra-fields=allow",
      "status": "active",
      "warning_category": "DeprecationWarning",
      "note": "The replacement supports allow, forbid, and ignore modes."
    },
    {
      "id": "cli.parent-scoped-naming",
      "kind": "cli-option",
      "target": "--parent-scoped-naming",
      "message": "--parent-scoped-naming is deprecated. Use --naming-strategy parent-prefixed instead.",
      "warning_since": "0.48.0",
      "removal_version": null,
      "replacement": "--naming-strategy parent-prefixed",
      "status": "active",
      "warning_category": "DeprecationWarning",
      "note": null
    },
    {
      "id": "cli.validation",
      "kind": "cli-option",
      "target": "--validation",
      "message": "The `--validation` option is deprecated and will be removed in a future release. Use --field-constraints instead.",
      "warning_since": "0.24.0",
      "removal_version": null,
      "replacement": "--field-constraints",
      "status": "active",
      "warning_category": "DeprecationWarning",
      "note": null
    },
    {
      "id": "config.json-config-strict-validation",
      "kind": "config",
      "target": "JSON configuration values accepted by legacy validation",
      "message": "JSON configuration values that do not match the documented schema are deprecated and will become validation errors in a future release.",
      "warning_since": "0.64.2",
      "removal_version": null,
      "replacement": "Update the JSON configuration to match --output-format-json-schema config.",
      "status": "active",
      "warning_category": "FutureWarning",
      "note": null
    },
    {
      "id": "config.yaml-non-lowercase-bool",
      "kind": "config",
      "target": "YAML bool values True, False, TRUE, FALSE",
      "message": "Non-lowercase YAML bool values are deprecated. Use lowercase true or false instead.",
      "warning_since": "0.48.0",
      "removal_version": null,
      "replacement": "Use lowercase true or false.",
      "status": "active",
      "warning_category": "DeprecationWarning",
      "note": null
    },
    {
      "id": "python-api.python-version-has-type-alias",
      "kind": "python-api",
      "target": "PythonVersion.has_type_alias",
      "message": "has_type_alias is deprecated and will be removed in a future version.",
      "warning_since": "0.52.1",
      "removal_version": null,
      "replacement": null,
      "status": "active",
      "warning_category": "DeprecationWarning",
      "note": "The project minimum Python version already supports TypeAlias."
    },
    {
      "id": "schema.jsonschema-items-array",
      "kind": "schema",
      "target": "JSON Schema Draft 2020-12 items array tuple validation",
      "message": "items as array tuple validation is deprecated in Draft 2020-12. Use prefixItems instead.",
      "warning_since": "0.53.0",
      "removal_version": null,
      "replacement": "Use prefixItems.",
      "status": "active",
      "warning_category": "UserWarning",
      "note": null
    },
    {
      "id": "schema.openapi-nullable",
      "kind": "schema",
      "target": "OpenAPI 3.1 nullable keyword",
      "message": "nullable keyword is deprecated in OpenAPI 3.1, use type: [\"string\", \"null\"] instead.",
      "warning_since": "0.53.0",
      "removal_version": null,
      "replacement": "Use type arrays such as type: [\"string\", \"null\"].",
      "status": "active",
      "warning_category": "DeprecationWarning",
      "note": null
    }
  ]
}
