Deprecation Log

See Deprecations

(Source code, png, hires.png, pdf)

../_images/deprecation_plot.png

metadata-flag

Deprecated

Deprecated since version 1.9.6.

Removed in 1.13.0

See also: #1799

Use of flags head or emit_metadata to get a metadata header on some generators is no longer supported. Flags head, emit_metadata and metadata were being used for the same purpose. They have been unified, leaving only the flag metadata.

Recommendation: Use flag metadata instead

owlgen-skip-vacuous-min-zero-cardinality-default

Deprecated

Deprecated since version 1.10.0.

See also: #3190

The default for skip_vacuous_min_zero_cardinality_axioms in OwlSchemaGenerator will change from False to True in a future release.

Recommendation: Set skip_vacuous_min_zero_cardinality_axioms=True to suppress vacuous axioms, or set it explicitly to False to preserve current behaviour and silence this warning.

owlgen-skip-vacuous-local-range-default

Deprecated

Deprecated since version 1.10.0.

See also: #3190

The default for skip_vacuous_local_range_axioms in OwlSchemaGenerator will change from False to True in a future release.

Recommendation: Set skip_vacuous_local_range_axioms=True to suppress vacuous axioms, or set it explicitly to False to preserve current behaviour and silence this warning.

owlgen-consolidate-cardinality-axioms-default

Deprecated

Deprecated since version 1.10.0.

See also: #3191

The default for consolidate_cardinality_axioms in OwlSchemaGenerator will change from False to True in a future release.

Recommendation: Set consolidate_cardinality_axioms=True to emit consolidated axioms, or set it explicitly to False to preserve current behaviour and silence this warning.

schema-builder-import-location

Deprecated

Deprecated since version 1.11.0.

Removed in 1.12.0

See also: #2372

Importing SchemaBuilder from linkml.utils.schema_builder is deprecated. SchemaBuilder now lives only in linkml_runtime.

Recommendation: Use from linkml_runtime.utils.schema_builder import SchemaBuilder instead.

lint-validate-flag

Deprecated

Deprecated since version 1.11.0.

Removed in 1.13.0

See also: #3259

The –validate flag for linkml-lint is deprecated. Metamodel validation now always runs before linting.

Recommendation: Remove the –validate flag from your command. Metamodel validation is now automatic.

lint-validate-only-flag

Deprecated

Deprecated since version 1.11.0.

Removed in 1.13.0

See also: #3387

The –validate-only flag for linkml-lint is deprecated. Use ‘linkml validate schema.yaml’ instead.

Recommendation: Use ‘linkml validate schema.yaml’ for schema validation without lint rules.

materialize-patterns-generator-option

Deprecated

Deprecated since version 1.12.0.

Removed in 1.13.0

See also: #1557

The materialize_patterns generator option and corresponding CLI flags are deprecated. Pattern-aware generators now resolve structured patterns automatically.

Recommendation: Remove the materialize_patterns option from generator calls and command lines.

golanggen-package-name-option

Deprecated

Deprecated since version 1.12.0.

See also: #3780

The package_name parameter (–package-name on the command line) of GolangGenerator has been renamed package (–package), for consistency with other package-scoped generators (e.g. JavaGenerator’s package).

Recommendation: Use package (–package on the command line) instead.