Skip to content

v3.6.0

Compare
Choose a tag to compare
@StefanBogdan StefanBogdan released this 06 Jul 20:41
· 1576 commits to main since this release
63ee3c8

This minor version includes:

  • New function weaviate.util.check_batch_result used to print errors from batch creation.

  • New function argument class_name for function weaviate.util.generate_local_beacon, used ONLY with Weaviate Server version >= 1.14.0 (defaults to None for backwards compatibility).

  • Function weaviate.util.check_batch_result is the default callback function for class weaviate.batch.Batch
    (methods weaviate.batch.Batch.configure and weaviate.batch.Batch.__call__) (instead of None).

  • New method argument to_object_class_name for method weaviate.batch.Batch.add_reference, used ONLY with Weaviate Server version >= 1.14.0
    (defaults to None for backwards compatibility).

  • Support for distance in GraphQL filters (only with Weaviate server >= 1.14.0).

  • For class weaviate.data.DataObject:

    • | New method argument class_name for method weaviate.data.DataObject.get_by_id, method weaviate.data.DataObject.get, method weaviate.data.DataObject.delete
      method weaviate.data.DataObject.exists, used ONLY with Weaviate Server version >= 1.14.0 (defaults to None for backwards compatibility).
    • Deprecation Warning if Weaviate Server version >= 1.14.0 and class_name is None OR if Weaviate Server version < 1.14.0 and class_name is NOT None.
  • For class weaviate.data.references.Reference:

    • | New method arguments from_class_name and to_class_name (to_class_names for method weaviate.data.references.Reference.update) for
      method weaviate.data.references.Reference.add, method weaviate.data.references.Reference.delete,
      method weaviate.data.references.Reference.update, used ONLY with Weaviate Server version >= 1.14.0 (defaults to None for backwards compatibility).
    • Deprecation Warning if Weaviate Server version >= 1.14.0 and class_name is None OR if Weaviate Server version < 1.14.0 and class_name is NOT None.